Hello guys I've created a warp GUI but when the player clicks on the item the command doesnt run.
This is the code:
This is the code:
Code:
command /warps:
trigger:
open chest with 6 row named "&bWarps" to player
wait 1 tick
format slot 0 of player with green glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 1 of player with light blue glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 2 of player with green glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 3 of player with light blue glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 4 of player with red glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 5 of player with blue glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 6 of player with light green glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 7 of player with blue glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 8 of player with light green glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 11 of player with diamond sword named "&c&lWarp War" with lore "&bMondo Fazione [30000x30000]||&cPVP Attivo!" to close then run "warp war"
format slot 13 of player with item frame named "&a&lWarp Info" with lore "&aImpara i &dcomandi &ae le &6meccaniche &adel server" to close then run "warp info"
format slot 15 of player with obsidian named "&d&lWarp Portali" with lore "&6Avventuratevi nel &cNether & End!" to close then run "Warp Portali"
format slot 21 of player with diamond pickaxe named "&b&lWarp Enchant & Fabbro" with lore "&dIncanta Armi, Armature e Picconi." to close then run "Warp Enchant"
format slot 23 of player with pink wool named "&e&lWarp Parkour" with lore "&aCompleta tutti i parkours con diverse difficolta,vincerai fantastici premi!!" to be unstealable
format slot 38 of player with coal block named "&a&lWarp Miniera Pubblica" with lore "&aScava e Vendi per ottenere Soldi + Tokens.||&aMiniera NO PVP." to be unstealable
format slot 39 of player with redstone block named "&c&lWarp MinieraWar" with lore "&aScava e vendi per ottenere Soldi + Tokens||&cPVP Attivo" to be unstealable
format slot 41 of player with diamond block named "&b&lWarp Miniere VIP" with lore "&4Accesso alle miniere vip||VIP necessario per scavare in queste miniere. &a(&9/Warp VIP&a)" to be unstealable
format slot 42 of player with diamond named "&9&lWarp VIP" with lore "&6Acquista il VIP per avere &7comandi e vantaggi unici nel server!" to be unstealable
format slot 45 of player with light green glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 46 of player with blue glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 47 of player with light green glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 48 of player with blue glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 49 of player with red glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 50 of player with light blue glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 51 of player with green glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 52 of player with light blue glass pane named "&b&lGalactic&a&lFuture" to be unstealable
format slot 53 of player with green glass pane named "&b&lGalactic&a&lFuture" to be unstealable