amitay12123

Untitled

Sep 5th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.28 KB | None | 0 0
  1. # MineCrates 2.10.0 configuration file
  2. # Created by: extended_clip
  3. #
  4. #
  5. # area_handler: World / WorldGuard / MRL / PrisonMines
  6. # area_handler is the name of the hook you want to define crate areas for
  7. # Crate areas are tied to the name of the world / mine / region you choose
  8. # depending on the hook you use.
  9. #
  10. # crate_despawn_time: <time in seconds that crates will despawn after spawning>
  11. #
  12. # crate_material: <Material or ID of the crate block that is spawned>
  13. #
  14. # crate_inventory_name: <name of the inventory shown when the crate is opened>
  15. #
  16. # ==================================================
  17. #
  18. # Crate area configuration:
  19. #
  20. # Almost all entries in areas are optional
  21. # although you must have a drop_counter and drop_chance entry.
  22. # You must also have a rewards section with at least 1 valid reward list for the area to be loaded.
  23. #
  24. # areas:
  25. # Mines:
  26. # permission: (if you want players to have a certain permission to obtain crates in this area, add the permission node here)
  27. # drop_counter: 300
  28. # drop_chance: 10
  29. # alternate_areas:
  30. # - (if you would like to allow this area options to be used for other areas)
  31. # - (that way all rewards and options are shared, you can list the alternate area names here)
  32. # - world_nether
  33. # - world_the_end
  34. # counted_materials:
  35. # reward_on_break: false
  36. # rewards: (this section holds all reward related options specific to this area)
  37. # (name of this reward list):
  38. # priority: (if you have multiple lists, the lowest priority list will be applied if player has multiple list permissions)
  39. # permission: (optional if you require players have certain permission to obtain rewards in this list)
  40. # max_rewards_per_crate: (max amount of rewards a player can get in a crate from this list)
  41. # only_owner_can_open: (should only the person this crate spawned for be allowed to open it)
  42. # crate_spawn_actions: (these actions are performed when a crate holding this reward list is spawned)
  43. # - [msg] You found a crate
  44. # - [command] eco give @p 10000000
  45. # - [playersound] ANVIL_LAND 10 1
  46. # - [effect] helix
  47. # crate_open_actions: (these actions are performed when a crate holding this reward list is opened)
  48. # - [msg] You opened a MineCrate!
  49. # - [playersound] CHEST_OPEN 10 1
  50. # - [effect] atom
  51. # crate_despawn_actions: (these actions are performed when a crate holding this reward list is despawned if it was not opened)
  52. # - [msg] You missed your crate
  53. # - [worldsound] ANVIL_BREAK 10 1
  54. # - [effect] heart
  55. # items: (this section holds all of the actual commands / items given as rewards)
  56. # (unique name for this item reward):
  57. # chance: (chance this reward will be selected) the chance system is explained below...
  58. # item:
  59. # material: DIAMOND_PICKAXE
  60. # data: 0
  61. # amount: 1
  62. # name: '&a&lLucky&f&lPickaxe'
  63. # lore:
  64. # enchantments:
  65. # - DIG_SPEED,35
  66. # - DURABILITY,25
  67. # - LOOT_BONUS_BLOCKS,35
  68. # chance: 10
  69. # commands:
  70. # (unique name for this command reward):
  71. # chance: 10
  72. # commands:
  73. # - [command] crate key @p fallingstarcrate 1
  74. # - [msg] you got a FallingStar crate key!
  75. # commands:
  76. # (unique name for this command reward):
  77. # chance: 10
  78. # commands:
  79. # - [command] crate key @p solarcrate 1
  80. # - [msg] you got a Solar crate key!
  81. # commands:
  82. # (unique name for this command reward):
  83. # chance: 10
  84. # commands:
  85. # - [command] crate key @p votecrate 1
  86. # - [msg] you got a Vote crate key!
  87. # commands:
  88. # (unique name for this command reward):
  89. # chance: 10
  90. # commands:
  91. # - [command] eco give @p 10000000
  92. # - [msg] you got 10Mil$!
  93. # chance: 10
  94. # commands:
  95. # - [command] eco give @p 15000000
  96. # - [msg] you got 15Mil$!
  97. # chance: 10
  98. # commands:
  99. # - [command] eco give @p 20000000
  100. # - [msg] you got 20Mil$!
  101. # chance: 10
  102. # commands:
  103. # - [command] eco give @p 25000000
  104. # - [msg] you got 25Mil$!
  105. # chance: 10
  106. # commands:
  107. # - [command] voucher give sunkit 1 @p
  108. # - [msg] you got a Sun kit voucher!
  109. # chance: 10
  110. #
  111. # ==================================================
  112. #
  113. # CRATE SPAWN CHANCE INFORMATION
  114. #
  115. # This chance can be any double value from 0.01 to 100.0
  116. # it is percentage based, so if you set the chance to 10.0
  117. # there will be a 10% chance a crate will spawn when the break
  118. # counter reaches 0. If you set it to 99.0, there will be a 99% chance
  119. # that a crate will spawn when the counter rewaches 0.
  120. #
  121. # ==================================================
  122. #
  123. # REWARD CHANCE INFORMATION
  124. #
  125. # All rewards in a specific reward list have a chance associated with the item/commands that are executed for that reward.
  126. # All reward chances in a list must add up to or be less than 100.0
  127. # Example:
  128. #
  129. # rewards:
  130. # VIP_REWARDS:
  131. # priority: 1
  132. # permission: vip.rewards
  133. # max_rewards_per_crate: 1
  134. # only_owner_can_open: true
  135. # items:
  136. # item_1:
  137. # chance: 10.0
  138. # item:
  139. # material: DIAMOND
  140. # amount: 128
  141. # item_2:
  142. # chance: 15.0
  143. # item:
  144. # material: IRON_INGOT
  145. # amount: 64
  146. # item_3:
  147. # chance: 25.0
  148. # item:
  149. # material: DIRT
  150. # amount: 64
  151. # command_1:
  152. # chance: 25.0
  153. # commands:
  154. # - [command] eco give @p 25
  155. # - [msg] You got 25 bucks
  156. #
  157. # With this example, all of our chances add up to 75.0,
  158. # This means that there is a 25% chance that we get nothing each time a reward is
  159. # being selected. If we want to make sure players always get a reward, we could
  160. # simply add one more reward item or command with the remainder percentage for all of our
  161. # chances to equal 100.0, which would be 25.0.
  162. # This system allows you to set what items are rare, and which items are going to be
  163. # more commonly selected when the plugin chooses rewards.
  164. # Always keep in mind that all reward chances must be less than, or add up to 100.0
  165. # If your combined chance exceeds 100.0, the rewards that are being checked after 100.0 has
  166. # been reached will not be loaded. Also remember, to make it where a player has a chance to get
  167. # no reward, always leave the total chance less than 100.0 as all chance remaining will
  168. # be the chance amount that no reward is chosen.
  169. #
  170. # ==================================================
  171. #
  172. # CRATE SPAWN/DESPAWN/OPEN/COMMANDS ACTION IDENTIFIERS
  173. #
  174. # Any action added to these lists must contain a specific identifier
  175. # as there are more actions than just commands to be executed.
  176. # These actions are as follows:
  177. #
  178. # [msg] <message>
  179. # This will send a raw message to the target player
  180. #
  181. # [broadcast] <message>
  182. # This will broadcast a message to the entire server
  183. #
  184. # [command] <command here>
  185. # This will execute a command in the console
  186. #
  187. # [worldsound] <sound> <volume> <pitch>
  188. # This will play a sound to the entire world at the crate location
  189. #
  190. # [playersound] <sound> <volume> <pitch>
  191. # This will play a sound to the target player
  192. #
  193. # [effect] <effectName>
  194. # This will play a preset effect at the crate location
  195. #
  196. # effect names:
  197. # animatedball
  198. # arc
  199. # atom
  200. # bleed
  201. # circle
  202. # cloud
  203. # cone
  204. # cube
  205. # cylinder
  206. # disco
  207. # dna
  208. # donut
  209. # dragon
  210. # earth
  211. # explode
  212. # flame
  213. # fountain
  214. # grid
  215. # heart
  216. # helix
  217. # hill
  218. # icon
  219. # love
  220. # music
  221. # shield
  222. # smoke
  223. # sphere
  224. # star
  225. # tornado
  226. # vortex
  227. # warp
  228. # wave
  229. #
  230. # ==================================================
  231. #
  232. # Optional: display a temporary hologram above the MineCrate when it is spawned.
  233. #
  234. # To enable this feature, add the following entry to the top of your config file:
  235. #
  236. # You can either use HolographicDisplays API to display the hologram, or the internal
  237. # hologram mechanics. Set handler: none to disable holograms
  238. #
  239. # Note: the internal hologram handler is only available for 1.8.8
  240. # More hologram handlers will be coming soon.
  241. #
  242. # crate_hologram:
  243. # handler: none/internal/holographicdisplays
  244. # message:
  245. # - '%player%s MineCrate'
  246. # - '(Right click to open)
  247. # height: 2'
  248. #
  249. # Inside of the message, you can use the following placeholders:
  250. # %player% - shows players name who MineCrate is for
  251. # %area% - name of the area the crate spawned in
  252. # %rewardlist% - name of the list the rewards were chosen from
  253. # %rewards% - amount of rewards inside of the MineCrate
  254. #
  255. # ==================================================
  256.  
  257. crate_hologram:
  258. handler: none
  259. message:
  260. - '&f%player%''s &aMineCrate'
  261. - '&e(&7Right click to open&e)'
  262. height: 2.2
  263. check_updates: true
  264. area_handler: World
  265. ignore_silk_touch: true
  266. crate_despawn_time: 30
  267. crate_material: ENDER_CHEST
  268. crate_inventory_name: '%reward_list_name% &aMineCrate'
  269. messages:
  270. help:
  271. - '&aMineCrates &fhelp'
  272. - '&a/minecrates reload &7- &freload the plugin'
  273. - '&a/minecrates info &7- &fView minecrates information for the area you are standing'
  274. - '&a/minecrates ignore &7- &ftoggle on/off ignoring minecrates for yourself'
  275. ignore_toggle_on: '&aYou are now ignoring MineCrates!'
  276. ignore_toggle_off: '&fYou are no longer ignoring MineCrates!'
  277. only_owner_can_open_crate: '&cOnly &f@p &ccan open this &aMineCrate!'
  278. no_permission: '&cYou don''t have permission to do that!'
  279. areas:
  280. world:
  281. permission: minecrates.getcrates.world
  282. drop_counter: 100
  283. drop_chance: 50.0
  284. cooldown: 30
  285. counted_materials:
  286. - COAL_ORE
  287. - IRON_ORE
  288. - GOLD_ORE
  289. - DIAMOND_ORE
  290. rewards:
  291. vip:
  292. priority: 1
  293. permission: minecrates.rewards.world.vip
  294. max_rewards_per_crate: 1
  295. only_owner_can_open: true
  296. crate_spawn_actions:
  297. - '[message] &aYou found a VIP MineCrate!'
  298. - '[command] eco give @p 100'
  299. - '[broadcast] &f@p &afound a MineCrate!'
  300. - '[effect] helix'
  301. crate_despawn_actions:
  302. - '[message] &7Your crate has despawned!'
  303. - '[effect] helix'
  304. items:
  305. example_item:
  306. chance: 20.0
  307. item:
  308. material: DIAMOND
  309. data: 0
  310. amount: 64
  311. name: '&bVIP &3Diamonds'
  312. lore:
  313. - This item is only available to players who
  314. - have permission for this vip reward list!
  315. enchantments:
  316. - LUCK,1
  317. example_command_1:
  318. chance: 1.0
  319. commands:
  320. - '[command] eco give @p 1000000'
  321. - '[msg] You got 1000000 dollars!'
  322. example_command_2:
  323. chance: 30.0
  324. commands:
  325. - '[command] eco give @p 500'
  326. - '[msg] You got 500 dollars!'
  327. example_command_3:
  328. chance: 49.0
  329. commands:
  330. - '[command] eco give @p 1000'
  331. - '[msg] You got 1000 dollars!'
  332. default:
  333. priority: 2
  334. max_rewards_per_crate: 1
  335. only_owner_can_open: false
  336. crate_spawn_actions:
  337. - '[message] &aYou found a regular MineCrate!'
  338. - '[command] eco give @p 100'
  339. - '[broadcast] &f@p &afound a MineCrate!'
  340. - '[effect] helix'
  341. items:
  342. example_item_1:
  343. chance: 5.0
  344. item:
  345. material: DIAMOND
  346. amount: 16
  347. example_item_2:
  348. chance: 10.0
  349. item:
  350. material: IRON_INGOT
  351. amount: 32
  352. example_command:
  353. chance: 85.0
  354. commands:
  355. - '[command] eco give @p 250'
  356. - '[msg] You got 250 dollars!'
Advertisement
Add Comment
Please, Sign In to add comment