Code:
/ban <player> <text>:
aliases: /tempban
permission: ban.use
permission message: &cNo Permission.
trigger:
if arg-1 is not set:
send "&7&cBan&7 &c/ban &7<player> reason"
if arg-1 is set:
open chest with 2 rows named "&b&lSelect Ban Reason" to player
wait 1 tick
format slot 0 of player with observer named "&aCyberbullying" with lore "&7Bullying on the server" to close then run "/ban %player% Cyberbullying"
format slot 1 of player with lead named "&aServer Advertising" with lore "&7" to close then run "/ban %player% Server Advertising"
format slot 2 of player with barrier named "&aCheating" with lore "&7" to close then run "/ban %player% Cheating"
format slot 3 of player with bedrock named "&aGlitching" with lore "&7Exploiting bugs to advantage" to close then run "/ban %player% Glitching"
format slot 4 of player with paper named "&aStrike 5" with lore "&c&l5TH WARN" to close then run "/ban %player% over 5 warns"
format slot 5 of player with compass named "&aBan Evasion" with lore "&7Using an alt to bypass ban" to close then run "/ban %player% Ban Evasion"
format slot 6 of player with daylight sensor named "&aServer ToS Violation" with lore "&7Terms of Service Violation" to close then run "/ban %player% Server ToS Violation"
format slot 7 of player with melon slice named "&aAutoclick" with lore "&7Using a client to automatically click" to close then run"/ban %player% Autoclick"
format slot 8 of player with boat named "&aOther" with lore "&7Other ban reason" to close then run "/ban %player%"
format slot 18 of player with red wool named "&aCancel" with lore "&7" to close