command /gorunmez [<player>]:
permission: gorunmez.command
permission message: &4Hata &8» &cBu komutu kullanamazsınız!
trigger:
if arg 1 is not set:
send "&8» &cBir oyuncu ismi girmelisiniz"
if arg 1 is set:
if {gorunmezlik.%arg-1%} is not set:
set {gorunmezlik.%arg-1%} to true
send "&8» &7Özellik &6%arg 1% &7adlı oyuncu için &aaktif &7edildi"
else:
if {gorunmezlik.%arg-1%} is true:
set {gorunmezlik.%arg-1%} to false
send "&8» &7Özellik &6%arg 1% &7adlı oyuncu için &cdeaktif &7edildi"
else:
set {gorunmezlik.%arg-1%} to true
send "&8» &7Özellik &6%arg 1% &7adlı oyuncu için &aaktif &7edildi"
on sneak toggle:
if {gorunmezlik.%player%} is true:
if player is sneaking:
send "&8» &7Şu anda görünmez değilsin, seni bulabilirler."
remove invisibility from player
else:
apply potion of invisibility of tier 2 to player for 99999 seconds
send "&8» &7Şu anda görünmezsin, sessizliğini koru."