Entities

Untitled

Dec 21st, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.40 KB | None | 0 0
  1. command /broadcast [<text>]:
  2. permission: breakout.core.broadcast
  3. trigger:
  4. if arg-1 is set:
  5. broadcast " "
  6. broadcast " "
  7. broadcast "&bBreak&cOUT"
  8. broadcast "&7%arg-1%"
  9. broadcast " "
  10. broadcast " "
  11. command /bc [<text>:
  12. permission: breakout.core.broadcast
  13. trigger:
  14. if arg-1 is set:
  15. broadcast " "
  16. broadcast " "
  17. broadcast "&bBreak&cOUT"
  18. broadcast "&7%arg-1%"
  19. broadcast " "
  20. broadcast " "
  21.  
  22. command /clearchat:
  23. permission: broadcast.core.clearchat
  24. trigger:
  25. loop 500 times:
  26. " "
  27. broadcast "&bBreak&cOUT&7 ChatCleared by &b%player%"
  28. command /cc:
  29. permission: breakout.core.clearchat
  30. trigger:
  31. loop 500 times:
  32. " "
  33. broadcast "&bBreak&cOUT&7 ChatCleared by &b%player%"
  34. command /location <string>:
  35. permission: breakout.core.location
  36. trigger:
  37. if arg-1 is "spawn":
  38. set {location.spawn} to players location
  39. on mine of iron ore:
  40. cancel event
  41. set event-block to bedrock
  42. give player a iron ingot
  43. wait 120 ticks
  44. set event-block to iron ore
  45.  
  46. on mine of diamond ore:
  47. cancel event
  48. set event-block to bedrock
  49. give player a diamond
  50. wait 120 ticks
  51. set event-block to diamond ore
  52.  
  53. on mine of emerald ore:
  54. cancel event
  55. set event-block to bedrock
  56. give player a emerald
  57. wait 120 ticks
  58. set event-block to emerald ore
  59.  
  60. on mine of coal ore:
  61. cancel event
  62. set event-block to bedrock
  63. give player a coal
  64. wait 120 ticks
  65. set event-block to coal ore
  66.  
  67. on mine of lapis ore:
  68. cancel event
  69. set event-block to bedrock
  70. give player a lapis
  71. wait 120 ticks
  72. set event-block to lapis ore
  73.  
  74. on mine of gold ore:
  75. cancel event
  76. set event-block to bedrock
  77. give player a gold ingot
  78. wait 120 ticks
  79. set event-block to gold ore
  80.  
  81. on mine of oak log:
  82. cancel event
  83. set event-block to bedrock
  84. give player a oak log
  85. wait 120 ticks
  86. set event-block to oak log
  87.  
  88. on mine of redstone ore:
  89. cancel event
  90. set event-block to bedrock
  91. give player a redstone
  92. wait 120 ticks
  93. set event-block to redstone ore
  94.  
  95. on mine of nether quartz ore:
  96. cancel event
  97. set event-block to bedrock
  98. give player a nether quartz
  99. wait 120 ticks
  100. set event-block to nether quartz ore
  101. command /mineralbox:
  102. permission: give.item
  103. trigger:
  104. give player sea lantern named "&b&lMINERAL &7Loot Box" with lore "||&7Place this lantern to recieve a mineral block."
  105. on place:
  106. player's tool is a sea lantern
  107. name of player's tool is "&b&lMINERAL &7Loot Box":
  108. wait 5 ticks
  109. set block to bedrock
  110. wait 2 ticks
  111. set block to air
  112. drawWarpRings style 60, particle "redstone", RGB 80, 255, 255, center location of block at block, id "%player%", rainbowMode true, scan true, height 2, radius 2, ringCount 40, ringDensity 20, visibleRange 32, pulseDelay 2
  113. wait 5 seconds
  114. stopEffect "%player%"
  115. set block to chest
  116. wait 1 second
  117. set block to air
  118. set {_randomizer} to random integer between 0 and 2
  119. if {_randomizer} = 0:
  120. set {_reward} to "16 Diamond Blocks"
  121. set block to diamond block
  122. drawItemFountain diamonds, style 1, center location of block, id "%player%", itemTime 50 ticks, yVelocity 50, radius 1, density 40, displacementXYZ 0, 0, 0, pulseDelay 10
  123. wait 2 seconds
  124. set block to air
  125. stopEffect "%player%"
  126. give player 16 diamond blocks
  127. send "&b&l+ &b16 Diamond Blocks" to player
  128. if {_randomizer} = 1:
  129. set {_reward} to "16 Emerald Blocks"
  130. set block to emerald block
  131. drawItemFountain emeralds, style 1, center location of block, id "%player%", itemTime 50 ticks, yVelocity 50, radius 1, density 40, displacementXYZ 0, 0, 0, pulseDelay 10
  132. wait 2 seconds
  133. set block to air
  134. stopEffect "%player%"
  135. give player 16 emerald blocks
  136. send "&a&l+ &a16 Emerald Blocks" to player
  137. if {_randomizer} = 2:
  138. set {_reward} to "16 Iron Blocks"
  139. set block to iron block
  140. drawItemFountain iron ingot, style 1, center location of block, id "%player%", itemTime 50 ticks, yVelocity 50, radius 1, density 40, displacementXYZ 0, 0, 0, pulseDelay 10
  141. wait 2 seconds
  142. set block to air
  143. stopEffect "%player%"
  144. give player 16 iron blocks
  145. send "&r&l+ &r16 Iron Blocks" to player
  146.  
  147. name of player's tool is "&b&lOP &7Loot Box":
  148. wait 5 ticks
  149. set block to bedrock
  150. wait 2 ticks
  151. set block to air
  152. drawWarpRings style 60, particle "redstone", RGB 80, 255, 255, center location of block at block, id "%player%", rainbowMode true, scan true, height 2, radius 2, ringCount 40, ringDensity 20, visibleRange 32, pulseDelay 2
  153. wait 5 seconds
  154. stopEffect "%player%"
  155. set block to chest
  156. wait 1 second
  157. set block to air
  158. set {_randomizer} to random integer between 0 and 2
  159. if {_randomizer} = 0:
  160. set {_reward} to "OP Sword"
  161. set block to glowstone
  162. drawItemFountain glowstone dust, style 1, center location of block, id "%player%", itemTime 50 ticks, yVelocity 50, radius 1, density 40, displacementXYZ 0, 0, 0, pulseDelay 10
  163. wait 2 seconds
  164. set block to air
  165. stopEffect "%player%"
  166. give player diamond sword of sharpness 2 and unbreaking 2 and looting 3 named "&5&lOP &7Sword"
  167. send "&5&l+ &5OP Sword" to player
  168. if {_randomizer} = 1:
  169. set {_reward} to "OP Apples"
  170. set block to glowstone
  171. drawItemFountain glowstone dust, style 1, center location of block, id "%player%", itemTime 50 ticks, yVelocity 50, radius 1, density 40, displacementXYZ 0, 0, 0, pulseDelay 10
  172. wait 2 seconds
  173. set block to air
  174. stopEffect "%player%"
  175. give player 16 golden apples:1
  176. send "&6&l+ &6OP Apples" to player
  177. if {_randomizer} = 2:
  178. set {_reward} to "Cow Spawner"
  179. set block to mob spawner
  180. drawItemFountain leather, style 1, center location of block, id "%player%", itemTime 50 ticks, yVelocity 50, radius 1, density 40, displacementXYZ 0, 0, 0, pulseDelay 10
  181. wait 2 seconds
  182. set block to air
  183. stopEffect "%player%"
  184. execute console command "ss give %player% cow"
  185. send "&a&l+ &aCow Spawner" to player
  186. name of player's tool is "&b&lKEY &7Loot Box":
  187. wait 5 ticks
  188. set block to bedrock
  189. wait 2 ticks
  190. set block to air
  191. drawWarpRings style 60, particle "redstone", RGB 80, 255, 255, center location of block at block, id "%player%", rainbowMode true, scan true, height 2, radius 2, ringCount 40, ringDensity 20, visibleRange 32, pulseDelay 2
  192. wait 5 seconds
  193. stopEffect "%player%"
  194. set block to chest
  195. wait 1 second
  196. set block to air
  197. set {_randomizer} to random integer between 0 and 1
  198. if {_randomizer} = 0:
  199. set {_reward} to "Rare Key"
  200. set block to sea lantern
  201. drawItemFountain prismarine shard, style 1, center location of block, id "%player%", itemTime 50 ticks, yVelocity 50, radius 1, density 40, displacementXYZ 0, 0, 0, pulseDelay 10
  202. wait 2 seconds
  203. set block to air
  204. stopEffect "%player%"
  205. execute console command "crate key %player% Rare"
  206. send "&6&l+ &6Rare Key" to player
  207. if {_randomizer} = 1:
  208. set {_reward} to "Mythical Key"
  209. set block to sea lantern
  210. drawItemFountain prismarine shard, style 1, center location of block, id "%player%", itemTime 50 ticks, yVelocity 50, radius 1, density 40, displacementXYZ 0, 0, 0, pulseDelay 10
  211. wait 2 seconds
  212. set block to air
  213. stopEffect "%player%"
  214. execute console command "crate key %player% Mythical"
  215. send "&d&l+ &dMythical Key" to player
Add Comment
Please, Sign In to add comment