Advertisement
Guest User

Untitled

a guest
Sep 12th, 2016
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.63 KB | None | 0 0
  1.  
  2. Mystery Spawners Update V2.
  3.  
  4.  
  5.  
  6. command /mshelp:
  7. trigger:
  8. if player has permission "ms.help":
  9. send "&0---------&6&lMystery Spawners help&0---------"
  10. send "&6- &6/msgui | &6Opens a GUI for players to receive a spawner!"
  11. send "&6- &6/mshelp | &6Displays Mystery spawners help information."
  12. send "&6- &6/ms <player> | &6Gives a Mystery Spawner."
  13. else:
  14. send "&cYou don't have permission!"
  15.  
  16. command /ms <players>:
  17. permission: ms.use
  18. permission message: &0[&6Mystery Spawners&0] &cYou don't have permission to execute this command.
  19. description: Get a Mystery Spawner!
  20. trigger:
  21. give arg 1 mob spawner named "&6&lMystery Spawner" with lore "&7>> Right-click to receive a spawner!"
  22.  
  23. command /msgui:
  24. permission: ms.gui
  25. permission message: &0[&6Mystery Spawners&0] &cYou don't have permission to execute this command.
  26. description: Get a Mystery Spawner!
  27. trigger:
  28. wait 1 tick
  29. open chest with 4 row named "&6&lMystery Spawner GUI" to player
  30. format slot 0 of player with mob spawner named "&6&lMystery Spawner" with lore "&7>> Right-click to receive a spawner!" to close then run [make player execute command "/ms %player%"]
  31. format slot 9 of player with wool named "&6&lTypes of Spawners!" to be unstealable
  32. format slot 10 of player with mob spawner named "&6&lCow Spawner" to be unstealable
  33. format slot 11 of player with mob spawner named "&6&lEnderman Spawner" to be unstealable
  34. format slot 12 of player with mob spawner named "&6&lZombie Pigman Spawner" to be unstealable
  35. format slot 13 of player with mob spawner named "&6&lCreeper Spawner" to be unstealable
  36. format slot 14 of player with mob spawner named "&6&lBlaze Spawner" to be unstealable
  37. format slot 15 of player with mob spawner named "&6&lIrongolem Spawner" to be unstealable
  38. format slot 16 of player with mob spawner named "&6&lMooshroom Spawner" to be unstealable
  39. format slot 17 of player with mob spawner named "&6&lGhast Spawner" to be unstealable
  40. format slot 18 of player with mob spawner named "&6&lMagmacube Spawner" to be unstealable
  41.  
  42.  
  43. options:
  44.  
  45. Prefix: &0[&6Mystery Spawner&0]&c> &r
  46.  
  47. Percentage: 100
  48.  
  49. Broadcast: true
  50.  
  51. BroadcastMessage: &c%player% &fhas opened a mystery spawner!
  52.  
  53. RewardMessage1: &fYou have received a &6Cow Spawner!
  54. RewardMessage2: &fYou have received a &6Enderman Spawner!
  55. RewardMessage3: &fYou have received a &6Zombie Pigman Spawner!
  56. RewardMessage4: &fYou have received a &6Creeper Spawner!
  57. RewardMessage5: &fYou have received a &6Blaze Spawner!
  58. RewardMessage6: &fYou have received a &6Iron Golem Spawner!
  59. RewardMessage7: &fYou have received a &6Mooshroom Spawner!
  60. RewardMessage8: &fYou have received a &6Ghast Spawner!
  61. RewardMessage9: &fYou have received a &6Magmacube Spawner!
  62.  
  63.  
  64. on rightclick:
  65. player is holding mob spawner named "&6&lMystery Spawner" with lore "&7>> Right-click to receive a spawner!"
  66. remove 1 mob spawner named "&6&lMystery Spawner" with lore "&7>> Right-click to receive a spawner!" from player
  67. chance of {@Percentage}%
  68. if "{@Broadcast}" is "true":
  69. broadcast "{@Prefix}{@BroadcastMessage}"
  70. set {_Mystery} to a random integer between 1 and 9
  71. if {_Mystery} is 1:
  72. execute console command "/ss give %player% cow 1"
  73. message "{@Prefix}{@RewardMessage1}"
  74. if {_Mystery} is 2:
  75. execute console command "/ss give %player% enderman 1"
  76. message "{@Prefix}{@RewardMessage2}"
  77. if {_Mystery} is 3:
  78. execute console command "/ss give %player% pigman 1"
  79. message "{@Prefix}{@RewardMessage3}"
  80. if {_Mystery} is 4:
  81. execute console command "/ss give %player% creeper 1"
  82. message "{@Prefix}{@RewardMessage4}"
  83. if {_Mystery} is 5:
  84. execute console command "/ss give %player% blaze 1"
  85. message "{@Prefix}{@RewardMessage5}"
  86. if {_Mystery} is 6:
  87. execute console command "/ss give %player% irongolem 1"
  88. message "{@Prefix}{@RewardMessage6}"
  89. if {_Mystery} is 7:
  90. execute console command "/ss give %player% mooshroom 1"
  91. message "{@Prefix}{@RewardMessage7}"
  92. if {_Mystery} is 8:
  93. execute console command "/ss give %player% ghast 1"
  94. message "{@Prefix}{@RewardMessage8}"
  95. if {_Mystery} is 9:
  96. execute console command "/ss give %player% magmacube 1"
  97. message "{@Prefix}{@RewardMessage9}"
  98.  
  99.  
  100.  
  101.  
  102. Money Pouch:
  103.  
  104. command /mphelp:
  105. trigger:
  106. if player has permission "mp.help":
  107. send "&0&M---------&6&lMoney Pouch help&0&M---------"
  108. send "&6- &6/mpgui | &6Opens a GUI for players to receive a Money Pouch Pouch!"
  109. send "&6- &6/mphelp | &6Displays Money Pouch help information."
  110. send "&6- &6/MP <player> | &6Gives a Money Pouch Pouch."
  111. else:
  112. send "&c&l(!) &cYou do not have permission to execute this command!"
  113.  
  114. command /mp <players>:
  115. permission: mp.use
  116. permission message: &0[&6MoneyPouchs&0] &c&l(!) &cYou don't have permission to execute this command.
  117. description: Get a Money Pouch Pouch!
  118. trigger:
  119. give arg 1 EnderChest named "&f&lMoney &6&lPouch" with lore "&7>> Right-click to receive a Money Pouch! &7<<"
  120.  
  121. command /mpgui:
  122. permission: mp.gui
  123. permission message: &0[&6MoneyPouchs&0] &c&l(!) &cYou don't have permission to execute this command.
  124. description: Get a Money Pouch Pouch!
  125. trigger:
  126. wait 1 tick
  127. open chest with 4 row named "&6&lMoney Pouch GUI" to player
  128. format slot 0 of player with EnderChest named "&f&lMoney &6&lPouch" with lore "&7>> Right-click to receive a Money Pouch! &7<<" to close then run [make player execute command "/rc %player%"]
  129. format slot 9 of player with wool named "&6&lTypes of Moneys!" to be unstealable
  130. format slot 10 of player with paper named "&6&l$10,000" to be unstealable
  131. format slot 11 of player with paper named "&6&l$20,000" to be unstealable
  132. format slot 12 of player with paper named "&6&l$30,000" to be unstealable
  133. format slot 13 of player with paper named "&6&l$40,000" to be unstealable
  134. format slot 14 of player with paper named "&6&l$500,000" to be unstealable
  135. format slot 15 of player with paper named "&6&l$600,000" to be unstealable
  136. format slot 16 of player with paper named "&6&l$700,000" to be unstealable
  137. format slot 17 of player with paper named "&6&l$800,000" to be unstealable
  138. format slot 18 of player with paper named "&6&l$1,0000,000" to be unstealable
  139.  
  140.  
  141. options:
  142.  
  143. Prefix: &0[&6Money Pouch&0]&c> &r
  144.  
  145. Percentage: 100
  146.  
  147. Broadcast: true
  148.  
  149. BroadcastMessage: &c%player% &fhas opened a Money Pouch Pouch!
  150.  
  151. RewardMessage1: &a&l+ $10,000
  152. RewardMessage2: &a&l+ $20,000
  153. RewardMessage3: &a&l+ $30,000
  154. RewardMessage4: &a&l+ $40,000
  155. RewardMessage5: &a&l+ $500,000
  156. RewardMessage6: &a&l+ $600,000
  157. RewardMessage7: &a&l+ $700,000
  158. RewardMessage8: &a&l+ $800,000
  159. RewardMessage9: &a&l+ $1,000,000
  160.  
  161. on rightclick:
  162. player is holding 1 EnderChest named "&f&lMoney &6&lPouch" with lore "&7>> Right-click to receive a Money Pouch! &7<<"
  163. remove 1 EnderChest named "&f&lMoney &6&lPouch" with lore "&7>> Right-click to receive a Money Pouch! &7<<" from player
  164. chance of {@Percentage}%
  165. if "{@Broadcast}" is "true":
  166. broadcast "{@Prefix}{@BroadcastMessage}"
  167. set {_Money} to a random integer between 0 and 9
  168. if {_Money} is 1:
  169. execute console command "/eco give %player% 10000"
  170. message "{@Prefix}{@RewardMessage1}"
  171. if {_Money} is 2:
  172. execute console command "/eco give %player% 20000"
  173. message "{@Prefix}{@RewardMessage2}"
  174. if {_Money} is 3:
  175. execute console command "/eco give %player% 30000"
  176. message "{@Prefix}{@RewardMessage3}"
  177. if {_Money} is 4:
  178. execute console command "/eco give %player% 40000"
  179. message "{@Prefix}{@RewardMessage4}"
  180. if {_Money} is 5:
  181. execute console command "/eco give %player% 50000"
  182. message "{@Prefix}{@RewardMessage5}"
  183. if {_Money} is 6:
  184. execute console command "/eco give %player% 600000"
  185. message "{@Prefix}{@RewardMessage6}"
  186. if {_Money} is 7:
  187. execute console command "/eco give %player% 700000"
  188. message "{@Prefix}{@RewardMessage7}"
  189. if {_Money} is 8:
  190. execute console command "/eco give %player% 800000"
  191. message "{@Prefix}{@RewardMessage8}"
  192. if {_Money} is 9:
  193. execute console command "/eco give %player% 1000000"
  194. message "{@Prefix}{@RewardMessage9}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement