amitay12123

Untitled

Sep 3rd, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.85 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. # (unique name for this command reward):
  69. # chance: 10
  70. #
  71. # ==================================================
  72. #
  73. # CRATE SPAWN CHANCE INFORMATION
  74. #
  75. # This chance can be any double value from 0.01 to 100.0
  76. # it is percentage based, so if you set the chance to 10.0
  77. # there will be a 10% chance a crate will spawn when the break
  78. # counter reaches 0. If you set it to 99.0, there will be a 99% chance
  79. # that a crate will spawn when the counter rewaches 0.
  80. #
  81. # ==================================================
  82. #
  83. # REWARD CHANCE INFORMATION
  84. #
  85. # All rewards in a specific reward list have a chance associated with the item/commands that are executed for that reward.
  86. # All reward chances in a list must add up to or be less than 100.0
  87. # Example:
  88. #
  89. # rewards:
  90. # VIP_REWARDS:
  91. # priority: 1
  92. # permission: vip.rewards
  93. # max_rewards_per_crate: 1
  94. # only_owner_can_open: true
  95. # items:
  96. # item_1:
  97. # chance: 10.0
  98. # item:
  99. # material: DIAMOND
  100. # amount: 128
  101. # item_2:
  102. # chance: 15.0
  103. # item:
  104. # material: IRON_INGOT
  105. # amount: 64
  106. # item_3:
  107. # chance: 25.0
  108. # item:
  109. # material: DIRT
  110. # amount: 64
  111. # command_1:
  112. # chance: 25.0
  113. # commands:
  114. # - [command] eco give @p 25
  115. # - [msg] You got 25 bucks
  116. #
  117. # With this example, all of our chances add up to 75.0,
  118. # This means that there is a 25% chance that we get nothing each time a reward is
  119. # being selected. If we want to make sure players always get a reward, we could
  120. # simply add one more reward item or command with the remainder percentage for all of our
  121. # chances to equal 100.0, which would be 25.0.
  122. # This system allows you to set what items are rare, and which items are going to be
  123. # more commonly selected when the plugin chooses rewards.
  124. # Always keep in mind that all reward chances must be less than, or add up to 100.0
  125. # If your combined chance exceeds 100.0, the rewards that are being checked after 100.0 has
  126. # been reached will not be loaded. Also remember, to make it where a player has a chance to get
  127. # no reward, always leave the total chance less than 100.0 as all chance remaining will
  128. # be the chance amount that no reward is chosen.
  129. #
  130. # ==================================================
  131. #
  132. # CRATE SPAWN/DESPAWN/OPEN/COMMANDS ACTION IDENTIFIERS
  133. #
  134. # Any action added to these lists must contain a specific identifier
  135. # as there are more actions than just commands to be executed.
  136. # These actions are as follows:
  137. #
  138. # [msg] <message>
  139. # This will send a raw message to the target player
  140. #
  141. # [broadcast] <message>
  142. # This will broadcast a message to the entire server
  143. #
  144. # [command] <command here>
  145. # This will execute a command in the console
  146. #
  147. # [worldsound] <sound> <volume> <pitch>
  148. # This will play a sound to the entire world at the crate location
  149. #
  150. # [playersound] <sound> <volume> <pitch>
  151. # This will play a sound to the target player
  152. #
  153. # [effect] <effectName>
  154. # This will play a preset effect at the crate location
  155. #
  156. # effect names:
  157. # animatedball
  158. # arc
  159. # atom
  160. # bleed
  161. # circle
  162. # cloud
  163. # cone
  164. # cube
  165. # cylinder
  166. # disco
  167. # dna
  168. # donut
  169. # dragon
  170. # earth
  171. # explode
  172. # flame
  173. # fountain
  174. # grid
  175. # heart
  176. # helix
  177. # hill
  178. # icon
  179. # love
  180. # music
  181. # shield
  182. # smoke
  183. # sphere
  184. # star
  185. # tornado
  186. # vortex
  187. # warp
  188. # wave
  189. #
  190. # ==================================================
  191. #
  192. # Optional: display a temporary hologram above the MineCrate when it is spawned.
  193. #
  194. # To enable this feature, add the following entry to the top of your config file:
  195. #
  196. # You can either use HolographicDisplays API to display the hologram, or the internal
  197. # hologram mechanics. Set handler: none to disable holograms
  198. #
  199. # Note: the internal hologram handler is only available for 1.8.8
  200. # More hologram handlers will be coming soon.
  201. #
  202. # crate_hologram:
  203. # handler: none/internal/holographicdisplays
  204. # message:
  205. # - '%player%s MineCrate'
  206. # - '(Right click to open)
  207. # height: 2'
  208. #
  209. # Inside of the message, you can use the following placeholders:
  210. # %player% - shows players name who MineCrate is for
  211. # %area% - name of the area the crate spawned in
  212. # %rewardlist% - name of the list the rewards were chosen from
  213. # %rewards% - amount of rewards inside of the MineCrate
  214. #
  215. # ==================================================
  216.  
  217. crate_hologram:
  218. handler: none
  219. message:
  220. - '&f%player%''s &aMineCrate'
  221. - '&e(&7Right click to open&e)'
  222. height: 2.2
  223. check_updates: true
  224. area_handler: World
  225. ignore_silk_touch: true
  226. crate_despawn_time: 30
  227. crate_material: ENDER_CHEST
  228. crate_inventory_name: '%reward_list_name% &aMineCrate'
  229. messages:
  230. help:
  231. - '&aMineCrates &fhelp'
  232. - '&a/minecrates reload &7- &freload the plugin'
  233. - '&a/minecrates info &7- &fView minecrates information for the area you are standing'
  234. - '&a/minecrates ignore &7- &ftoggle on/off ignoring minecrates for yourself'
  235. ignore_toggle_on: '&aYou are now ignoring MineCrates!'
  236. ignore_toggle_off: '&fYou are no longer ignoring MineCrates!'
  237. only_owner_can_open_crate: '&cOnly &f@p &ccan open this &aMineCrate!'
  238. no_permission: '&cYou don''t have permission to do that!'
  239. areas:
  240. world:
  241. permission: minecrates.getcrates.world
  242. drop_counter: 100
  243. drop_chance: 50.0
  244. cooldown: 30
  245. counted_materials:
  246. - COAL_ORE
  247. - IRON_ORE
  248. - GOLD_ORE
  249. - DIAMOND_ORE
  250. rewards:
  251. vip:
  252. priority: 1
  253. permission: minecrates.rewards.world.vip
  254. max_rewards_per_crate: 1
  255. only_owner_can_open: true
  256. crate_spawn_actions:
  257. - '[message] &aYou found a VIP MineCrate!'
  258. - '[command] eco give @p 100'
  259. - '[broadcast] &f@p &afound a MineCrate!'
  260. - '[effect] helix'
  261. crate_despawn_actions:
  262. - '[message] &7Your crate has despawned!'
  263. - '[effect] helix'
  264. items:
  265. example_item:
  266. chance: 20.0
  267. item:
  268. material: DIAMOND
  269. data: 0
  270. amount: 64
  271. name: '&bVIP &3Diamonds'
  272. lore:
  273. - This item is only available to players who
  274. - have permission for this vip reward list!
  275. enchantments:
  276. - LUCK,1
  277. example_command_1:
  278. chance: 1.0
  279. commands:
  280. - '[command] eco give @p 1000000'
  281. - '[msg] You got 1000000 dollars!'
  282. example_command_2:
  283. chance: 30.0
  284. commands:
  285. - '[command] eco give @p 500'
  286. - '[msg] You got 500 dollars!'
  287. example_command_3:
  288. chance: 49.0
  289. commands:
  290. - '[command] eco give @p 1000'
  291. - '[msg] You got 1000 dollars!'
  292. default:
  293. priority: 2
  294. max_rewards_per_crate: 1
  295. only_owner_can_open: false
  296. crate_spawn_actions:
  297. - '[message] &aYou found a regular MineCrate!'
  298. - '[command] eco give @p 100'
  299. - '[broadcast] &f@p &afound a MineCrate!'
  300. - '[effect] helix'
  301. items:
  302. example_item_1:
  303. chance: 5.0
  304. item:
  305. material: DIAMOND
  306. amount: 16
  307. example_item_2:
  308. chance: 10.0
  309. item:
  310. material: IRON_INGOT
  311. amount: 32
  312. example_command:
  313. chance: 85.0
  314. commands:
  315. - '[command] eco give @p 250'
  316. - '[msg] You got 250 dollars!'
Advertisement
Add Comment
Please, Sign In to add comment