command /ban [<offline player>] [<text>]:
aliases: /tempban
permission: ban.use
permission message: &cYetkiniz Yok
trigger:
if arg-1 is not set:
send "&7[&cYvzNetWORK&7] &c/ban &7<player> [reason]"
if arg-1 is set:
open chest with 2 rows named "&b&lBan Sebebi" to player
wait 1 tick
format slot 0 of player with iron sword named "&aKill Aura" with lore "" to close then run [make player execute command "/litebans:ban %arg-1% Kill Aura"]
format slot 1 of player with lead named "&aAnti-Knockback" with lore "" to close then run [make player execute command "/litebans:ban %arg-1% Anti-Knockback"]
format slot 2 of player with ghast tear named "&aFlying" with lore "" to close then run [make player execute command "/litebans:ban %arg-1% Flying"]
format slot 3 of player with speed potion named "&aSpeed" with lore "" to close then run [make player execute command "/litebans:ban %arg-1% Speed"]
format slot 4 of player with apple named "&aFast Eat" with lore "" to close then run [make player execute command "/litebans:ban %arg-1% Fast Eat"]
format slot 5 of player with compass named "&aBan Evasion" with lore "" to close then run [make player execute command "/litebans:ban %arg-1% Ban Evasion"]
format slot 6 of player with daylight sensor named "&aBug Abuse" with lore "" to close then run [make player execute command "/litebans:tempban %arg-1% 2d Bug Abuse"]
format slot 7 of player with melon slice named "&aNo Slowdown" with lore "" to close then run [make player execute command "/ban %arg-1% No Slowdown"]
format slot 8 of player with boat named "&aOther" with lore "" to close then run [make player execute command "/litebans:ban %arg-1% %arg 2%"]
format slot 17 of player with red wool named "&aÇıkış" with lore "" to close