options:
p: &2&lVIPTIMER &3>
command /viptimer [<text>] [<text>]:
trigger:
arg-1 isn'T seT:
player has permission "viptimer.*" or "viptimer.maincommand":
send "{@p} &a/viptimer &8<&cliste&8,&cgrupayarla&8,&csil&8>"
send "{@p} &eKomutlar hakkında bilgi almak için &8""&a/viptimer help <komut>&8"""
else:
send "{@p} &cBu komutu kullanmak için &8""&aviptimer.maincommand&8"" &cyetkisine sahip olmalısın."
arg-1 is "help":
player has permission "viptimer.command.help":
arg-2 is set:
arg-2 is "liste":
send "{@p} &eListe komutunun kullanımı&8: &a/viptimer liste"
send "{@p} &eVIP verdiğiniz oyuncuları ve onların kalan vip sürelerini gösterir."
arg-2 is "sil":
send "{@p} &eSil komutunun kullanımı&8: &a/viptimer sil <isim>"
send "{@p} &eVIP verdiğiniz oyuncunun süresini sıfırlar ve VIP'ini alır."
arg-2 is "grupayarla":
send "{@p} &eGrup ayarlama komutunun kullanımı&8: &a/viptimer grupayarla <grupismi>"
send "{@p} &eVIP verdiğiniz oyuncuların süresi bittiğinde dönecekleri grubu ayarlar."
else if arg-2 isn't "liste" or "sil" or "grupayarla":
send "{@p} &cBilinmeyen komut kullandınız."
else:
send "{@p} &a/viptimer help &8<&cliste&8,&cgrupayarla&8,&csil&8>"
else:
send "{@p} &cBu komutu kullanmak için &8""&aviptimer.command.help&8"" &cyetkisine sahip olmalısın."
arg-1 is "liste":
player has permission "viptimer.command.liste":
{vipler::*} is set:
send "{@p} &eVIP listesi&8;"
loop {vipler::*}:
send " &3%loop-value% &8- &eKalan süresi&8: &3%{kalan.süre.%loop-value%}% dakika"
else:
send "{@p} &cHiç VIP yok."
else:
send "{@p} &cBu komutu kullanmak için &8""&aviptimer.command.liste&8"" &cyetkisine sahip olmalısın."
arg-1 is "sil":
arg-2 is set:
{vipler::%arg-2%} is set:
player has permission "viptimer.command.sil":
delete {vipler::%Arg-2%}
delete {kalan.süre.%arg-2%}
delete {vip.satın.alma.tarihi.%arg-2%}
execute console command "manuadd %arg-2% %{oyuncu.grubu}%"
send "{@p} &a%arg-2% &eadlı oyuncunun süresi sıfırlandı ve normal gruba döndürüldü."
else:
send "{@p} &cBu komutu kullanmak için &8""&aviptimer.command.sil&8"" &cyetkisine sahip olmalısın."
else:
send "{@p} &cBu oyuncu bir VIP'e sahip değil."
else:
send "{@p} &a/viptimer sil &8<&coyuncuismi&8>"
arg-1 is "grupayarla":
arg-2 is set:
player has permission "viptimer.command.grupayarla":
set {oyuncu.grubu} to arg-2
send "{@p} &eOyuncu grubu &a%arg-2% &eolarak belirlendi."
else:
send "{@p} &cBu komutu kullanmak için &8""&aviptimer.command.grupayarla&8"" &cyetkisine sahip olmalısın."
else:
send "{@p} &a/viptimer grupayarla &8<&cgrupismi&8>"
command /vipver [<offlineplayer>] [<text>] [<integer>]:
trigger:
player has permission "viptimer.command.vipver":
arg-1 is set:
arg-2 is set:
arg-3 is set:
set {vipler::%arg-1%} to arg-1
set {kalan.süre.%arg-1%} to arg-3
set {vip.satın.alma.tarihi.%arg-1%} to now
execute console command "manuadd %arg-1% %arg-2%"
send "{@p} &a%arg-3% &edakika boyunca &a%arg-2% &eadlı VIP'e sahip olacaksın." to arg-1
send "{@p} &a%arg-1% &eadlı oyuncu &a%arg-3% &edakika boyunca &a%arg-2% &eVIP'ine sahip olacak."
else:
send "{@p} &a/viptimer %arg-1% %arg-2% &8<&csüre&8>"
else:
send "{@p} &a/viptimer %arg-1% &8<&cgrupismi&8> &8<&csüre&8>"
else:
send "{@p} &a/viptimer &8<&coyuncu&8> &8<&cgrupismi&8> &8<&csüre&8>"
command /vip [<text>]:
trigger:
arg-1 is set:
{vipler::%arg-1%} is set:
arg-1 is player:
send "{@p} &eBir VIP'e sahipsin."
else:
send "{@p} &a%arg-1% &eadlı oyuncu bir VIP'e sahip."
send "{@p} &eKalan süresi&8: &a%{kalan.süre.%player%}% dakika"
send "{@p} &eSatın aldığın tarih&8: &a%{vip.none.alma.tarihi.%player%}%"
else:
arg-1 is player:
send "{@p} &cBir VIP'e sahip değilsin."
else:
send "{@p} &a%arg-1% &cadlı oyuncu bir VIP'e sahip değil."
else:
execute player command "vip %player%"
every 1 minutes:
loop {vipler::*}:
remove 1 from {kalan.süre.%loop-value%}
{kalan.süre.%loop-value%} is 0 or -1:
send "{@p} &eSatın aldığın VIP'inin süresi doldu ve yeniden &a%{oyuncu.grubu}% &eadlı gruba döndün." to loop-value
delete {kalan.süre.%loop-value%}
execute console command "manuadd %loop-value% %{oyuncu.grubu}%"
delete {vipler::%loop-value%}
delete {vip.satın.alma.tarihi.%loop-value%}
wait 6 ticks