Je ne trouve pas le problème, car en faite, quand je clique sur mon item dans mon menu GUI, sa me donne l'item en main et sa n'execute pas la commande.
Je vous met le code au cas ou :
options:
Permission: &4&l➤ &cVous n'avez pas accès à cette commande
Prefix: &2&l➤ &aSanction &8»
command /mod [<offline player>]:
permission: st.use
permission message: {@Permission}
trigger:
if arg 1 is not set:
message "{@Prefix} &3Veuillez indiquer un pseudonyme."
stop
if arg 1 is set:
wait 1 tick
open chest with 4 rows named "&cSanctions" to player
wait 1 tick
format slot 0 of player with gray glass named " " to close
format slot 1 of player with gray glass named " " to close
format slot 2 of player with gray glass named " " to close
format slot 3 of player with gray glass named " " to close
format slot 4 of player with gray glass named " " to close
format slot 5 of player with gray glass named " " to close
format slot 6 of player with gray glass named " " to close
format slot 7 of player with gray glass named " " to close
format slot 8 of player with gray glass named " " to close
format slot 9 of player with gray glass named " " to close
format slot 10 of player with gray glass named " " to close
format slot 11 of player with wooden axe named "&c&lKick" to close then run "sudo %player% modkick %arg 1%"
format slot 12 of player with gray glass named " " to close
format slot 13 of player with iron axe named "&a&lBan" to close then run "sudo %player% modban %arg 1%"
format slot 14 of player with gray glass named " " to close
format slot 15 of player with diamond axe named "&3&lMute" to close then run "sudo %player% modmute %arg 1%"
format slot 16 of player with gray glass named " " to close
format slot 17 of player with gray glass named " " to close
format slot 18 of player with gray glass named " " to close
format slot 19 of player with gray glass named " " to close
format slot 20 of player with gray glass named " " to close
format slot 21 of player with stone axe named "&a&lUnban" to close then run "sudo console advancedban:unban %arg 1%"
format slot 22 of player with gray glass named " " to close
format slot 23 of player with golden axe named "&3&lUnmute" to close then run "sudo console advancedban:unmute %arg 1%"
format slot 24 of player with gray glass named " " to close
format slot 25 of player with gray glass named " " to close
format slot 26 of player with gray glass named " " to close
format slot 27 of player with gray glass named " " to close
format slot 28 of player with gray glass named " " to close
format slot 29 of player with gray glass named " " to close
format slot 30 of player with gray glass named " " to close
format slot 31 of player with gray glass named " " to close
format slot 32 of player with gray glass named " " to close
format slot 33 of player with gray glass named " " to close
format slot 34 of player with gray glass named " " to close
Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.
Question
RaZeR_aTToMiC
Je ne trouve pas le problème, car en faite, quand je clique sur mon item dans mon menu GUI, sa me donne l'item en main et sa n'execute pas la commande.
Je vous met le code au cas ou :
Et un screen :
http://prntscr.com/c4ey5r
http://prntscr.com/c4ey5r
http://prntscr.com/c4ey5r
Merci d'avance
15 réponses à cette question
Messages recommandés