Advertisement
knugi

Untitled

Jul 24th, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.48 KB | None | 0 0
  1. options:
  2. sheep: 5000
  3. sheepVip: 4500
  4. chicken: 4400
  5. chickenVip: 4000
  6. zombie: 5800
  7. zombieVip: 5200
  8. skeleton: 6300
  9. skeletonVip: 6000
  10. spider: 6500
  11. spiderVip: 6200
  12. creeper: 8600
  13. creeperVip: 8200
  14. golem: 26500
  15. golemVip: 25000
  16.  
  17. command /ssss <integer> <player>:
  18. trigger:
  19. if player-arg has permission "vip.spawner":
  20. if arg 1 is 1:
  21. if balance of player-arg is larger than or equal to {@sheepVip}:
  22. run player-arg command "essentials:spawner sheep" as op
  23. stop
  24. send "&6Nie posiadasz {@sheepVip}$" to player-arg
  25. stop
  26. if arg 1 is 2:
  27. if balance of player-arg is larger than or equal to {@chickenVip}:
  28. run player-arg command "essentials:spawner chicken" as op
  29. stop
  30. send "&6Nie posiadasz {@sheepVip}$" to player-arg
  31. stop
  32. if arg 1 is 3:
  33. if balance of player-arg is larger than or equal to {@zombieVip}:
  34. run player-arg command "essentials:spawner zombie" as op
  35. stop
  36. send "&6Nie posiadasz {@zombieVip}$" to player-arg
  37. stop
  38. if arg 1 is 4:
  39. if balance of player-arg is larger than or equal to {@skeletonVip}:
  40. run player-arg command "essentials:spawner skeleton" as op
  41. stop
  42. send "&6Nie posiadasz {@skeletonVip}$" to player-arg
  43. stop
  44. if arg 1 is 5:
  45. if balance of player-arg is larger than or equal to {@spiderVip}:
  46. run player-arg command "essentials:spawner spider" as op
  47. stop
  48. send "&6Nie posiadasz {@spiderVip}$" to player-arg
  49. stop
  50. if arg 1 is 6:
  51. if balance of player-arg is larger than or equal to {@creeperVip}:
  52. run player-arg command "essentials:spawner creeper" as op
  53. stop
  54. send "&6Nie posiadasz {@creeperVip}$" to player-arg
  55. stop
  56. if arg 1 is 7:
  57. if balance of player-arg is larger than or equal to {@golemVip}:
  58. run player-arg command "essentials:spawner irongolem" as op
  59. stop
  60. send "&6Nie posiadasz {@golemVip}$" to player-arg
  61. stop
  62. stop
  63. if arg 1 is 1:
  64. if balance of player-arg is larger than or equal to {@sheep}:
  65. run player-arg command "essentials:spawner sheep" as op
  66. stop
  67. send "&6Nie posiadasz {@sheep}$" to player-arg
  68. stop
  69. if arg 1 is 2:
  70. if balance of player-arg is larger than or equal to {@chicken}:
  71. run player-arg command "essentials:spawner chicken" as op
  72. stop
  73. send "&6Nie posiadasz {@sheep}$" to player-arg
  74. stop
  75. if arg 1 is 3:
  76. if balance of player-arg is larger than or equal to {@zombie}:
  77. run player-arg command "essentials:spawner zombie" as op
  78. stop
  79. send "&6Nie posiadasz {@zombie}$" to player-arg
  80. stop
  81. if arg 1 is 4:
  82. if balance of player-arg is larger than or equal to {@skeleton}:
  83. run player-arg command "essentials:spawner skeleton" as op
  84. stop
  85. send "&6Nie posiadasz {@skeleton}$" to player-arg
  86. stop
  87. if arg 1 is 5:
  88. if balance of player-arg is larger than or equal to {@spider}:
  89. run player-arg command "essentials:spawner spider" as op
  90. stop
  91. send "&6Nie posiadasz {@spider}$" to player-arg
  92. stop
  93. if arg 1 is 6:
  94. if balance of player-arg is larger than or equal to {@creeper}:
  95. run player-arg command "essentials:spawner creeper" as op
  96. stop
  97. send "&6Nie posiadasz {@creeper}$" to player-arg
  98. stop
  99. if arg 1 is 7:
  100. if balance of player-arg is larger than or equal to {@golem}:
  101. run player-arg command "essentials:spawner irongolem" as op
  102. stop
  103. send "&6Nie posiadasz {@golem}$" to player-arg
  104. stop
  105. on rightclick on mob spawner:
  106. cancel event
  107. if player has permission "vip.spawner":
  108. open chest with 1 rows named "&6Spawner Vip" to player
  109. wait 1 tick
  110. format slot 1 of player with 1 of sheep spawn egg named "&7Owca" with lore "&6{@sheepVip}$" to close then run "ssss 1 %player%"
  111. format slot 2 of player with 1 of chicken spawn egg named "&7Kura" with lore "&6{@chickenVip}$" to close then run "ssss 2 %player%"
  112. format slot 3 of player with 1 of zombie spawn egg named "&7Zombie" with lore "&6{@zombieVip}$" to close then run "ssss 3 %player%"
  113. format slot 4 of player with 1 of skeleton spawn egg named "&7Szkielet" with lore "&6{@skeletonVip}$" to close then run "ssss 4 %player%"
  114. format slot 5 of player with 1 of spider spawn egg named "&7Pajak" with lore "&6{@spiderVip}$" to close then run "ssss 5 %player%"
  115. format slot 6 of player with 1 of creeper spawn egg named "&7Creeper" with lore "&6{@creeperVip}$" to close then run "ssss 6 %player%"
  116. format slot 7 of player with 1 of iron golem spawn egg named "&7Golem" with lore "&6{@golemVip}$" to close then run "ssss 7 %player%"
  117. stop
  118. open chest with 1 rows named "&6Spawner" to player
  119. wait 1 tick
  120. format slot 1 of player with 1 of sheep spawn egg named "&7Owca" with lore "&6{@sheep}$" to close then run "ssss 1 %player%"
  121. format slot 2 of player with 1 of chicken spawn egg named "&7Kura" with lore "&6{@chicken}$" to close then run "ssss 2 %player%"
  122. format slot 3 of player with 1 of zombie spawn egg named "&7Zombie" with lore "&6{@zombie}$" to close then run "ssss 3 %player%"
  123. format slot 4 of player with 1 of skeleton spawn egg named "&7Szkielet" with lore "&6{@skeleton}$" to close then run "ssss 4 %player%"
  124. format slot 5 of player with 1 of spider spawn egg named "&7Pajak" with lore "&6{@spider}$" to close then run "ssss 5 %player%"
  125. format slot 6 of player with 1 of creeper spawn egg named "&7Creeper" with lore "&6{@creeper}$" to close then run "ssss 6 %player%"
  126. format slot 7 of player with 1 of iron golem spawn egg named "&7Golem" with lore "&6{@golem}$" to close then run "ssss 7 %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement