Advertisement
iSach

Magical Events example config

Feb 2nd, 2019
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.53 KB | None | 0 0
  1. #
  2. # ------------------------------------------------------+
  3. # | __ __ _____ _____ _____ _ |
  4. # | | \/ | /\ / ____|_ _/ ____| /\ | | |
  5. # | | \ / | / \ | | __ | || | / \ | | |
  6. # | | |\/| | / /\ \| | |_ | | || | / /\ \ | | |
  7. # | | | | |/ ____ \ |__| |_| || |____ / ____ \| |____ |
  8. # | |_| |_/_/ \_\_____|_____\_____/_/ \_\______| |
  9. # | ________ ________ _ _ _______ _____ |
  10. # | | ____\ \ / / ____| \ | |__ __/ ____| |
  11. # | | |__ \ \ / /| |__ | \| | | | | (___ |
  12. # | | __| \ \/ / | __| | . ` | | | \___ \ |
  13. # | | |____ \ / | |____| |\ | | | ____) | |
  14. # | |______| \/ |______|_| \_| |_| |_____/ |
  15. # | |
  16. # +-----------------------------------------------------+
  17. #
  18. # You can make new events. For that, copy the config section of an event type you like, want:
  19. # Default ones (type: defaultEventName):
  20. # bomb: MoneyBomb
  21. # dj: DJEvent
  22. # rain: RedRain
  23. #
  24. # If you need help, contact me on Discord: sach#5092
  25. #
  26.  
  27. Events:
  28. # This is an example default event. You can copy paste the whole config section of "MoneyBomb"
  29. # and make more events!
  30. MoneyBomb:
  31. permission: magicalevents.moneybomb # The event permission.
  32. name: '&6&lMoney Bomb' # The event name.
  33. type: bomb # The event type. (bomb, dj or rain)
  34. duration: 80 # The event duration in ticks, 1 second = 20 ticks.
  35. radius: 4 # The event radius. It'll variate about the height also.
  36. height: 0 # Only matters for rain. The height of the explosion above the location the event is started at.
  37. broadcasted:
  38. enabled: true # Broadcast a message when this event is started?
  39. message: '&6&l{player} has started a {name} event in {world} at {x} {y} {z}' # What message?
  40. message-type: actionbar # Where? (actionbar, title or chat)
  41. item-in-gui: # The item in the GUI.
  42. id: GOLD_INGOT
  43. firework-color: # Color of Firework in RGB, must be between 0 and 255!
  44. red: 255
  45. green: 255
  46. blue: 0
  47. random: false
  48. Items:
  49. tenCoins:
  50. id: GOLD_INGOT # The item ID
  51. amount: 1 # The item amount.
  52. enchantments: [] # The enchantments. An example is given with the DjEvent.
  53. custom-displayname:
  54. enabled: true # want a custom display name?
  55. name: 10 coins # What display name?
  56. lore: # The lore, the description.
  57. - Pickup to
  58. - get 10 coins
  59. # The chance. Not in percents but out of the sum of all the
  60. # chances of the items. So if you have:
  61. # Item1: 10, Item2: 30, Item3: 5 it'll be 10/45(22,2%), 30/45(66,7%), and 5/45(11,1%) for the chances.
  62. chance: 10
  63. money-reward-on-pickup:
  64. enabled: false # You want a money reward? Requires vault!
  65. money-value: 0 # The money reward value
  66. twoCoins:
  67. id: SUNFLOWER
  68. amount: 1
  69. enchantments: []
  70. custom-displayname:
  71. enabled: true
  72. name: 2 coins
  73. lore:
  74. - Pickup to
  75. - get 2 coins
  76. chance: 90
  77. money-reward-on-pickup:
  78. enabled: true
  79. money-value: 2
  80. # This is an example default event. You can copy paste the whole config section of "MoneyBomb"
  81. # and make more events!
  82. DJEvent:
  83. permission: magicalevents.djevent # The event permission.
  84. name: '&b&lDJ Event' # The event name.
  85. type: dj # The event type. (bomb, dj or rain)
  86. duration: 80 # The event duration in ticks, 1 second = 20 ticks.
  87. radius: 4 # The event radius. It'll variate about the height also.
  88. height: 0 # Only matters for rain. The height of the explosion above the location the event is started at.
  89. broadcasted:
  90. enabled: true # Broadcast a message when this event is started?
  91. message: '&6&l{player} has started a {name} event in {world} at {x} {y} {z}' # What message?
  92. message-type: actionbar # Where? (actionbar, title or chat)
  93. item-in-gui: # The item in the GUI.
  94. id: MUSIC_DISC_MELLOHI
  95. firework-color: # Color of Firework in RGB, must be between 0 and 255!
  96. red: 255
  97. green: 255
  98. blue: 0
  99. random: false
  100. Items: # The items thrown in the event.
  101. diamond:
  102. id: DIAMOND # The item ID
  103. amount: 1 # The item amount.
  104. enchantments: [] # The enchantments. An example is given with the DjEvent.
  105. custom-displayname:
  106. enabled: false # want a custom display name?
  107. name: diamond # What display name?
  108. lore: [] # The lore, the description.
  109. # The chance. Not in percents but out of the sum of all the
  110. # chances of the items. So if you have:
  111. # Item1: 10, Item2: 30, Item3: 5 it'll be 10/45(22,2%), 30/45(66,7%), and 5/45(11,1%) for the chances.
  112. chance: 2
  113. money-reward-on-pickup:
  114. enabled: false # You want a money reward? Requires vault!
  115. money-value: 0 # The money reward value
  116. iron:
  117. id: IRON_INGOT
  118. data: 0
  119. amount: 1
  120. enchantments: []
  121. custom-displayname:
  122. enabled: false
  123. name: iron
  124. lore: []
  125. chance: 50
  126. money-reward-on-pickup:
  127. enabled: false
  128. money-value: 0
  129. gold:
  130. id: GOLD_INGOT
  131. amount: 1
  132. enchantments: []
  133. custom-displayname:
  134. enabled: false
  135. name: gold
  136. lore: []
  137. chance: 5
  138. money-reward-on-pickup:
  139. enabled: false
  140. money-value: 0
  141. emerald:
  142. id: EMERALD
  143. data: 0
  144. amount: 1
  145. enchantments: []
  146. custom-displayname:
  147. enabled: false
  148. name: emerald
  149. lore: []
  150. chance: 3
  151. money-reward-on-pickup:
  152. enabled: false
  153. money-value: 0
  154. notchsword:
  155. id: DIAMOND_SWORD
  156. amount: 1
  157. enchantments:
  158. - DAMAGE_ALL,5
  159. - KNOCKBACK,3
  160. custom-displayname:
  161. enabled: true
  162. name: '&3&lNotch''s Sword'
  163. lore:
  164. - '&7&oPolished by'
  165. - '&7&oThe angels of'
  166. - '&7&oMojang...'
  167. chance: 1
  168. money-reward-on-pickup:
  169. enabled: false
  170. money-value: 0
  171. RedRain:
  172. permission: magicalevents.redrain # The event permission.
  173. name: '&4&lRed Rain' # The event name.
  174. type: rain # The event type. (bomb, dj or rain)
  175. duration: 120 # The event duration in ticks, 1 second = 20 ticks. For rain, it's 12 ticks between each explosion of items.
  176. radius: 15 # The event radius. It'll variate about the height also.
  177. height: 20 # Only matters for rain. The height of the explosion above the location the event is started at.
  178. broadcasted:
  179. enabled: true # Broadcast a message when this event is started?
  180. message: '&6&l{player} has started a {name} event in {world} at {x} {y} {z}' # What message?
  181. message-type: actionbar # Where? (actionbar, title or chat)
  182. item-in-gui: # The item in the GUI.
  183. id: REDSTONE
  184. firework-color: # Color of Fireworks in RGB, must be between 0 and 255!
  185. red: 255
  186. green: 255
  187. blue: 0
  188. random: false # if true, random fireworks will explode :D
  189. Items: # The items thrown in the event.
  190. redstone:
  191. id: REDSTONE # The item ID
  192. amount: 1 # The item amount.
  193. enchantments: [] # The enchantments. An example is given with the DjEvent.
  194. custom-displayname:
  195. enabled: false # want a custom display name?
  196. name: redstone # What display name?
  197. lore: [] # The lore, the description.
  198. # The chance. Not in percents but out of the sum of all the
  199. # chances of the items. So if you have:
  200. # Item1: 10, Item2: 30, Item3: 5 it'll be 10/45(22,2%), 30/45(66,7%), and 5/45(11,1%) for the chances.
  201. chance: 60
  202. money-reward-on-pickup:
  203. enabled: false # You want a money reward? Requires vault!
  204. money-value: 0 # The money reward value
  205. piston:
  206. id: PISTON
  207. amount: 1
  208. enchantments: []
  209. custom-displayname:
  210. enabled: false
  211. name: piston
  212. lore: []
  213. chance: 5
  214. money-reward-on-pickup:
  215. enabled: false
  216. money-value: 0
  217. stickypiston:
  218. id: STICKY_PISTON
  219. amount: 1
  220. enchantments: []
  221. custom-displayname:
  222. enabled: false
  223. name: stickypiston
  224. lore: []
  225. chance: 5
  226. money-reward-on-pickup:
  227. enabled: false
  228. money-value: 0
  229. redtorch:
  230. id: REDSTONE_TORCH
  231. amount: 1
  232. enchantments: []
  233. custom-displayname:
  234. enabled: false
  235. name: redtorch
  236. lore: []
  237. chance: 5
  238. money-reward-on-pickup:
  239. enabled: false
  240. money-value: 0
  241. repeater:
  242. id: REPEATER
  243. amount: 1
  244. enchantments: []
  245. custom-displayname:
  246. enabled: false
  247. name: repeater
  248. lore: []
  249. chance: 5
  250. money-reward-on-pickup:
  251. enabled: false
  252. money-value: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement