So I am coding a punishment plugin for a server i'm co-owner/developer on and I am having issues with the script and I cant seem to find out how to fix it please help here is my code
here is the error
Please help
code_language.skript:
command /ban [<offline player>] [<text>]:
permission: PvPLegends.Ban
permission message: &c&lPunish> Permission Denied
trigger:
open chest with 3 rows named "&c&lBan %arg-1%" to player
format slot 0 of player with wooden axe named "&c&lLight Offenses"
format slot 9 of player with clock named "&cDerp" with lore "&bA skin hack that makes their skin do something crazy &b&l10d Ban" to close then run [make player execute command "litebans:tempban %arg-1% 10d Hacking // Derp"]
format slot 10 of player with book named "&cRepeated Chat Offense" with lore "&bIf someone gets muted 3 times &b&l10d Ban But if it happens again Perm Mute + Perm Ban That Can Be Appealed" to close then run [make player execute command "litebans:tempban %arg-1% 10d Repeated Chat Offense (Muted 3 Times)"]
format slot 18 of player with glass named "&cRaiding" with lore "&bGriefing And Looting Someones House &b&l14d Ban"
format slot 19 of player with flint named "&cSlight Player/Staff Disrespect" with lore "&bTalking Disrespectfully To Another Player Or Staff Member &b&l14d"
here is the error
code_language.skript:
[00:18:46 INFO]: [Skript] Reloading ban.sk...
[00:18:46 ERROR]: 'player with wool' is not an item type (ban.sk, line 6: format
slot 0 of player with wool named "&c&lLight Offenses"')
[00:18:46 ERROR]: 'player with glass' is not an item type (ban.sk, line 9: forma
t slot 18 of player with glass named "&cRaiding" with lore "&bGriefing And Looti
ng Someones House &b&l14d Ban"')
[00:18:47 ERROR]: 'player with flint' is not an item type (ban.sk, line 10: form
at slot 19 of player with flint named "&cSlight Player/Staff Disrespect" with lo
re "&bTalking Disrespectfully To Another Player Or Staff Member &b&l14d"')
[00:18:47 INFO]: [Skript] Encountered 3 errors while reloading ban.sk!
Please help