command /kutuver [<offline player>]:
permission: kutu.admin
permission message: &3Soul &8&l» &7Bunun için gerekli yetkiye sahip değilsin.
trigger:
if arg-1 is online:
give 1 chest named "&8&l» &aSpawner Kutusu" to arg-1
send "&3Soul &8&l» &7Başarıyla &a%arg 1% &7adlı kişiye spawner kutusu verdin." to player
send "&3Soul &8&l» &a%arg 1% &7adlı yetkili sana spawner kutusu verdi!" to arg-1
send player title "&3Soul" with subtitle "&7Başarıyla kutu verildi." for 3 seconds
send arg-1 title "&3Soul" with subtitle "&7Bir yetkili kutu verdi!" for 3 seconds
else:
send "&3Soul &8&l» &a%arg 1% &7şu anda aktif değil." to player
on rightclick holding a chest:
if tool's name is "&8&l» &aSpawner Kutusu":
cancel event
send player title "&3Soul" with subtitle "&7Spawner kutusu açılıyor..." for 3 seconds
remove 1 chest named "&8&l» &aSpawner Kutusu" from player's inventory
chance of 25%:
execute console command "ss give %arg 1% irongolem"
send "&3Soul &8&l» &7Spawner kutusundan &a1 Iron Golem Spawner çıkardın." to player
stop
chance of 25%:
execute console command "ss give %arg 1% pigman"
send "&3Soul &8&l» &7Spawner kutusundan &a1 Zombie Pigman Spawner çıkardın." to player
stop
chance of 25%:
execute console command "ss give %arg 1% snowgolem"
send "&3Soul &8&l» &7Spawner kutusundan &a1 Snow Golem Spawner çıkardın." to player
stop
chance of 25%:
send "&3Soul &8&l» &7Kutudan hiçbir şey kazanamadın." to player
stop