command /spmarket:
trigger:
open chest with 1 rows named "&bSpawner Market" to player
format slot 1 of player with 52 named "&cIron Golem" to close then run [make player execute command "igolemal"]
format slot 2 of player with 52 named "&aPigman" to close then run [make player execute command "pigmanal"]
format slot 3 of player with 52 named "&aBlaze" to close then run [make player execute command "blazeal"]
format slot 4 of player with 52 named "&aDomuz" to close then run [make player execute command "domuzal"]
format slot 5 of player with 52 named "&aKoyun" to close then run [make player execute command "koyunal"]
format slot 6 of player with 52 named "&aInek" to close then run [make player execute command "inekal"]
format slot 7 of player with 52 named "&aTavuk" to close then run [make player execute command "tavukal"]
options:
prefix: &6&lSpawner&f&lMarket &8»
command /igolemal:
aliases: irongolemal
trigger:
if player's balance is bigger than 9999999:
message "{@prefix} &eParayla 1 tane golem spawner aldınız !"
remove 100000000 from player's balance
execute console command "ss give %player% igolem 1"
else:
message "{@prefix} &eO Kadar Paran yok Bu SP &c100M!"
command /pigmanal:
trigger:
if player's balance is bigger than 4999999:
message "{@prefix} &eParayla 1 tane pigman spawner aldınız !"
remove 50000000 from player's balance
execute console command "ss give %player% zombiepigman 1"
else:
message "{@prefix} &eO Kadar Paran yok Bu SP &c50M!"
command /blazeal:
trigger:
if player's balance is bigger than 2499999:
message "{@prefix} &eParayla 1 tane blaze spawner aldınız !"
remove 50000000 from player's balance
execute console command "ss give %player% blaze 1"
else:
message "{@prefix} &eO Kadar Paran yok Bu SP &c50M!"
#/////////////////////////////////////////////////////zararsız moblar\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\#
command /domuzal:
trigger:
if player's balance is bigger than 1499999:
message "{@prefix} &eParayla 1 tane domuz spawner aldınız !"
remove 10000000 from player's balance
execute console command "ss give %player% pig 1"
else:
message "{@prefix} &eO Kadar Paran yok Bu SP &c10M!"
command /koyunal:
trigger:
if player's balance is bigger than 1499999:
message "{@prefix} &eParayla 1 tane koyun spawner aldınız !"
remove 10000000 from player's balance
execute console command "ss give %player% sheep 1"
else:
message "{@prefix} &eO Kadar Paran yok Bu SP &c10M!"
command /inekal:
trigger:
if player's balance is bigger than 1499999:
message "{@prefix} &eParayla 1 tane inek spawner aldınız !"
remove 10000000 from player's balance
execute console command "ss give %player% cow 1"
else:
message "{@prefix} &eO Kadar Paran yok Bu SP &c10M!"
command /tavukal:
trigger:
if player's balance is bigger than 1499999:
message "{@prefix} &eParayla 1 tane tavuk spawner aldınız !"
remove 10000000 from player's balance
execute console command "ss give %player% chicken 1"
else:
message "{@prefix} &eO Kadar Paran yok Bu SP &c10M!"