command /süreliban <player> <int>:
permission: op
trigger:
set {banlandi.%arg-1%} to true
add arg-1 to {banlilar::*}
set {sure.%arg-1%} to arg-2
kick arg-1 due to "&cBanlandın! Kalan süre; &4%{sure.%arg-1%}%"
broadcast "&C%arg-1% &2%arg-2% &6dakika sunucuduan banlandı!"
on login:
{banlandi.%player%} is true:
kick player due to "&cBanlısın! Kalan süre; &4%{sure.%player%}%"
every 1 minutes:
loop {banlilar::*}:
remove 1 from {sure.%loop-value%}
{sure.%loop-value%} is equal to 0:
delete {banlandi.%loop-value%}
command /banac <player>:
permission: op
trigger:
delete {banlandi.%arg-1%}