command /pinadmin <player> <int>:
permission: op
trigger:
arg 1 and arg 2 is set
set {pinler::%arg 1%} to arg 2
send "&aSistem > &ePin başarıyla belirlendi!"
command /pin <int>:
trigger:
{pinler::%player%} is arg:
delete {freeze::%player%}
message "&aSistem > &aDoğrulandı!"
else:
kick the player due to "&aSistem > &cYanlış Pin!"
delete {freeze::%player%}
on login:
{pinler::%player%} is set
set {freeze::%player%} to 1
wait 10 tick
send "&aSistem > &eHoşgeldin, giriş yapmak için pin kodunu /pin <kod> ile gir!"
wait 8 seconds
{freeze::%player%} is set:
kick the player due to "&aSistem > &cPin kodunu girmediğin için atıldın"
delete {freeze::%player%}
on command:
command is not "pin" or "login" or "l"
{freeze::%player%} is set
cancel event
send "&aSistem > &eÖncelikle pin kodunu girmelisin!"
on chat:
{freeze::%player%} is set
cancel event
send "&aSistem > &eÖncelikle pin kodunu girmelisin!"
on break:
{freeze::%player%} is set
cancel event
send "&aSistem > &eÖncelikle pin kodunu girmelisin!"
on place:
{freeze::%player%} is set
cancel event
send "&aSistem > &eÖncelikle pin kodunu girmelisin!"