Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- sheep: 5000
- sheepVip: 4500
- chicken: 4400
- chickenVip: 4000
- zombie: 5800
- zombieVip: 5200
- skeleton: 6300
- skeletonVip: 6000
- spider: 6500
- spiderVip: 6200
- creeper: 8600
- creeperVip: 8200
- golem: 26500
- golemVip: 25000
- command /ssss <integer> <player>:
- trigger:
- if player-arg has permission "vip.spawner":
- if arg 1 is 1:
- if balance of player-arg is larger than or equal to {@sheepVip}:
- run player-arg command "essentials:spawner sheep" as op
- stop
- send "&6Nie posiadasz {@sheepVip}$" to player-arg
- stop
- if arg 1 is 2:
- if balance of player-arg is larger than or equal to {@chickenVip}:
- run player-arg command "essentials:spawner chicken" as op
- stop
- send "&6Nie posiadasz {@sheepVip}$" to player-arg
- stop
- if arg 1 is 3:
- if balance of player-arg is larger than or equal to {@zombieVip}:
- run player-arg command "essentials:spawner zombie" as op
- stop
- send "&6Nie posiadasz {@zombieVip}$" to player-arg
- stop
- if arg 1 is 4:
- if balance of player-arg is larger than or equal to {@skeletonVip}:
- run player-arg command "essentials:spawner skeleton" as op
- stop
- send "&6Nie posiadasz {@skeletonVip}$" to player-arg
- stop
- if arg 1 is 5:
- if balance of player-arg is larger than or equal to {@spiderVip}:
- run player-arg command "essentials:spawner spider" as op
- stop
- send "&6Nie posiadasz {@spiderVip}$" to player-arg
- stop
- if arg 1 is 6:
- if balance of player-arg is larger than or equal to {@creeperVip}:
- run player-arg command "essentials:spawner creeper" as op
- stop
- send "&6Nie posiadasz {@creeperVip}$" to player-arg
- stop
- if arg 1 is 7:
- if balance of player-arg is larger than or equal to {@golemVip}:
- run player-arg command "essentials:spawner irongolem" as op
- stop
- send "&6Nie posiadasz {@golemVip}$" to player-arg
- stop
- stop
- if arg 1 is 1:
- if balance of player-arg is larger than or equal to {@sheep}:
- run player-arg command "essentials:spawner sheep" as op
- stop
- send "&6Nie posiadasz {@sheep}$" to player-arg
- stop
- if arg 1 is 2:
- if balance of player-arg is larger than or equal to {@chicken}:
- run player-arg command "essentials:spawner chicken" as op
- stop
- send "&6Nie posiadasz {@sheep}$" to player-arg
- stop
- if arg 1 is 3:
- if balance of player-arg is larger than or equal to {@zombie}:
- run player-arg command "essentials:spawner zombie" as op
- stop
- send "&6Nie posiadasz {@zombie}$" to player-arg
- stop
- if arg 1 is 4:
- if balance of player-arg is larger than or equal to {@skeleton}:
- run player-arg command "essentials:spawner skeleton" as op
- stop
- send "&6Nie posiadasz {@skeleton}$" to player-arg
- stop
- if arg 1 is 5:
- if balance of player-arg is larger than or equal to {@spider}:
- run player-arg command "essentials:spawner spider" as op
- stop
- send "&6Nie posiadasz {@spider}$" to player-arg
- stop
- if arg 1 is 6:
- if balance of player-arg is larger than or equal to {@creeper}:
- run player-arg command "essentials:spawner creeper" as op
- stop
- send "&6Nie posiadasz {@creeper}$" to player-arg
- stop
- if arg 1 is 7:
- if balance of player-arg is larger than or equal to {@golem}:
- run player-arg command "essentials:spawner irongolem" as op
- stop
- send "&6Nie posiadasz {@golem}$" to player-arg
- stop
- on rightclick on mob spawner:
- cancel event
- if player has permission "vip.spawner":
- open chest with 1 rows named "&6Spawner Vip" to player
- wait 1 tick
- format slot 1 of player with 1 of sheep spawn egg named "&7Owca" with lore "&6{@sheepVip}$" to close then run "ssss 1 %player%"
- format slot 2 of player with 1 of chicken spawn egg named "&7Kura" with lore "&6{@chickenVip}$" to close then run "ssss 2 %player%"
- format slot 3 of player with 1 of zombie spawn egg named "&7Zombie" with lore "&6{@zombieVip}$" to close then run "ssss 3 %player%"
- format slot 4 of player with 1 of skeleton spawn egg named "&7Szkielet" with lore "&6{@skeletonVip}$" to close then run "ssss 4 %player%"
- format slot 5 of player with 1 of spider spawn egg named "&7Pajak" with lore "&6{@spiderVip}$" to close then run "ssss 5 %player%"
- format slot 6 of player with 1 of creeper spawn egg named "&7Creeper" with lore "&6{@creeperVip}$" to close then run "ssss 6 %player%"
- 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%"
- stop
- open chest with 1 rows named "&6Spawner" to player
- wait 1 tick
- format slot 1 of player with 1 of sheep spawn egg named "&7Owca" with lore "&6{@sheep}$" to close then run "ssss 1 %player%"
- format slot 2 of player with 1 of chicken spawn egg named "&7Kura" with lore "&6{@chicken}$" to close then run "ssss 2 %player%"
- format slot 3 of player with 1 of zombie spawn egg named "&7Zombie" with lore "&6{@zombie}$" to close then run "ssss 3 %player%"
- format slot 4 of player with 1 of skeleton spawn egg named "&7Szkielet" with lore "&6{@skeleton}$" to close then run "ssss 4 %player%"
- format slot 5 of player with 1 of spider spawn egg named "&7Pajak" with lore "&6{@spider}$" to close then run "ssss 5 %player%"
- format slot 6 of player with 1 of creeper spawn egg named "&7Creeper" with lore "&6{@creeper}$" to close then run "ssss 6 %player%"
- 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