command /apanel:
permission: admin
trigger:
open chest with 1 rows named "Admin Panel" to player
format slot 1 of player with bedrock named "Oyuncu banla" with lore "Banlamak istediğin oyuncuyu secerek banla." to close then run "banlama %player%"
format slot 2 of player with bedrock named "Oyuncu kickle" with lore "Kicklemek istediğin oyuncuyu secerek banla." to close then run "kickleme %player%"
command /banlama [<player>]:
permission: admin
trigger:
open chest with 4 rows named "Oyuncu banla" to arg 1
set {sayi} to -1
loop all players:
add 1 to {_sayi}
format slot {_sayi} of player with obsidian named "%loop-player%" with lore "Tıklayarak banla." to close then run "ban %loop-player%"
command /kickleme [<player>]:
permission: admin
trigger:
open chest with 1 rows named "Oyuncu kickle" to arg 1
set {sayi} to -1
loop all players:
add 1 to {_sayi}
format slot {_sayi} of player with obsidian named "%loop-player%" with lore "Tıklayarak banla." to close then run "kick %loop-player%"