Kod:
command /OdulSec [<text>]:
trigger:
{odulalindieventbitti.%player%} isn't set:
if arg 1 is "zumrutblok":
wait 0.8 second
set {odulalindieventbitti.%player%} to true
give 64 133 to player
send "&2Zumrut Blok &aSectin. Item Envanterine Verildi." to player
wait 1 hours
delete {odulalindieventbitti.%player%}
if arg 1 is "para":
wait 0.8 second
set {odulalindieventbitti.%player%} to true
execute console command "/eco give %player% 1000000"
send "&21m Para &aSectin. Para Hesabina Yuklendi" to player
wait 1 hours
delete {odulalindieventbitti.%player%}
else:
send "&cOdul Hakkini Zaten Kullanmissin"
ChestCommands plugini yükle sunucuya. Menü oluştur 2 item ekle menüye. itemin birinin komutunu /OdulSec para yap diğerini /OdulSec zumrutblok yap. oyuncu menüyü açınca istediğini seçsin ödülünü alsın. 1 saat sonra tekrar kullanabilir.
İstersen
if arg 1 is "para":
wait 0.8 second
set {odulalindieventbitti.%player%} to true
execute console command "/eco give %player% 1000000"
send "&21m Para &aSectin. Para Hesabina Yuklendi" to player
wait 1 hours
delete {odulalindieventbitti.%player%}
gibi satır ekleyerek çoğaltabilirsin.