Hello i am dev on a server and i made a plugin called hbans its really simple it works on my servers but not the other ones im dev on it says an internal error occured while attempting to preform this command every time i do sk reload on it i dont know if its my code or what
here is my code
here is my code
code_language.skript:
command /hban [<offline player>] [<text>]:
permission: rank.helper
permission message: &8&l(&c&l!&8&l) &c&lPermission Denied &8&l (&c&l!&8&l)
trigger:
if arg-2 is not set:
send "&cUsage: /hban (player) (reason)"
if arg-2 is set:
open chest with 1 row named "&aHelper Ban" to player
wait 3 tick
format slot 0 of player with grass named "&cBan Player" to close then run [execute console command "tempban %arg-1% 1 d %arg-2% &cYou were banned by the helper: %player%"]
format slot 1 of player with glass named "&cMute Player" to close then run [make player execute command "mute %arg-1% %arg-2%"]
format slot 2 of player with beacon named "&cKick Player" to close then run [make player execute command "kick %arg-1% %arg-2%"]