command /ssustur <player> <int> <text>:
permission: sustur.admin
usage:/ssustur <kişi> <dakika> <sebep>
trigger:
if {sürelis.%arg-1%} is true:
send "&6 Bu Eleman Zaten Susturulmus" to player
else:
set {susturan.%arg-1%} to "%player%"
set {sebeps.%arg-1%} to "%arg-3%"
set {sürelis.%arg-1%} to true
add arg-1 to {sürelisusturulanlar::*}
set {süres.%arg-1%} to arg-2
broadcast "&c%arg-1% &c%player% &6Tarafından susturuldu! Kalan süre: &4%{süres.%arg-1%}% Dakika &6Sebep: &4%{sebeps.%arg-1%}% &c%hour%&6:&c%minute%&6:&c%second%"
set {zamans.%arg-1%} to "%now%"
on chat:
{sürelis.%player%} is true:
cancel event
send "&c%{susturan.%player%}% &6Tarafından susturuldun! Kalan süre; &4%{süres.%player%}% dakika &6Sebep: &4 %{sebeps.%player%}% &9Tarih: %{zamans.%player%}%" to player
every 1 minute:
loop {sürelisusturulanlar::*}:
remove 1 from {süres.%loop-value%}
{süres.%loop-value%} is equal to 0:
delete {sürelis.%loop-value%}
remove loop-value from {sürelisusturulanlar::*}
command /susturac <text>:
permission: sustur.admin
usage: &c/susturac <oyuncu>
trigger:
delete {sürelis.%arg-1%}
remove arg-1 from {sürelisusturulanlar::*}
send "&6%arg-1% &cSusturması açıldı."
command /susturulanlar:
permisson: sustur.admin
trigger:
loop {sürelisusturulanlar::*}:
send "&c%loop-value%"