- command /spawnerlist:
- trigger:
- send "&4-----Spawnery------"
- send "&5 Iron Golem - 3000$"
- send "&5 Pajak - 1000 $"
- send "&5 Zombie - 2000 $"
- send "&5 Szkielet - 1500 $"
- send "&4-----Spawnery------"
- send "&5-----Vip-------"
- send "&6 Blaze 3000$
- send "&6 Villager 1000$"
- send "&6 Creeper 1500$"
- send "&6 Slime 2000$"
- send "&5----Vip--------"
- command /spawnerzmien [<text>]:
- trigger:
- if arg 1 is "irongolem":
- player's balance >= 3000:
- remove 3000 from player's balance
- execute console command "spawner irongolem"
- else:
- send "&4 nie masz wystarczajacej ilosci monet"
- if arg 1 is "pajak":
- player's balance >= 1000:
- remove 1000 from player's balance
- execute console command "spawner spider"
- else:
- send "&4 Nie masz wystarczajacej ilosci monet"
- if arg 1 is "zombie":
- player's balance >= 2000:
- remove 3000 from player's balance
- execute console command "spawner zombie"
- else:
- send "&4 Nie masz wystarczajacej ilosci monet"
- if arg 1 is "szkielet":
- player's balance >= 1500:
- remove 1500 from player's balance
- execute console command "spawner skeleton"
- else:
- send "&4 Nie masz wystarczajacej ilosci monet"
- on rightclick monster spawner:
- chance of 50%:
- open chest with 1 rows named "&4SpawneryZmien" to player
- format slot 2 of player with 1 of leather named "&4Irongolem" to close then run "spawnerzmien irongolem"
- format slot 4 of player with 1 of bone named "&4Szkielet" to close then run "spawnerzmien szkielet"
- format slot 6 of player with 1 of fish named "&4Pajak" to close then run "spawnerzmien pajak"
- format slot 8 of player with 1 of stick named "&4Zombie" to close then run "spawnerzmien zombie"
- command /spawnerzmienvip [<text>]:
- trigger:
- if player has permission "spawnerzmienvip.sk":
- if arg 1 is "blaze":
- player's balance >= 3000:
- remove 3000 from player's balance
- execute console command "spawner blaze"
- else:
- send "&4 nie masz wystarczajacej ilosci monet"
- if arg 1 is "osadnik":
- player's balance >= 1000:
- remove 1000 from player's balance
- execute console command "spawner villager"
- else:
- send "&4 Nie masz wystarczajacej ilosci monet"
- if arg 1 is "slime":
- player's balance >= 2000:
- remove 3000 from player's balance
- execute console command "spawner slime"
- else:
- send "&4 Nie masz wystarczajacej ilosci monet"
- if arg 1 is "creeper":
- player's balance >= 1500:
- remove 1500 from player's balance
- execute console command "spawner creeper"
- else:
- send "&4 Nie masz tyle ilosci monet"
- on rightclick monster spawner:
- if player has permission "spawnerzmienvip.sk":
- chance of 50%:
- open chest with 2 rows named "&4SpawneryZmien" to player
- format slot 2 of player with 1 of leather named "&4Blaze" to close then run "spawnerzmienvip blaze"
- format slot 4 of player with 1 of bone named "&4Osadnik" to close then run "spawnerzmienvip osadnik"
- format slot 6 of player with 1 of fish named "&4Slime" to close then run "spawnerzmienvip slime"
- format slot 8 of player with 1 of stick named "&4Creeper" to close then run "spawnerzmienvip creeper"