Aller au contenu
  • 0

Question

Posté(e)

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

 

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

  • 0
Posté(e)

C'est la hache en fer qui pose problème, il y a des items beugé pour les guis change l'item et normalement tout devrait fonctionner n'hésite pas a me contacter en mp si besoin ;) PS: Like si tu veux ça fait toujours plaisir :p

  • J'aime 1
  • 0
Posté(e)

Il me semble que le sudo n'est plus supporté dans Essentials..

Essaye de remplacer par des :

 

make player execute command [command]

 

EDIT : La hache apparaît normalement pour moi.. o_O

  • 0
Posté(e)
Il me semble que le sudo n'est plus supporté dans Essentials..

Essaye de remplacer par des :

 

make player execute command [command]

 

EDIT : La hache apparaît normalement pour moi.. o_O

 

Non, car chez mon ami, cela marche avec le même code

 

Tu es en 1.7 ?

 

1.8

  • 0
Posté(e)

ALLEZ VOAR MA CHAIN YOUTUB !!

ALLEZ VOAR MA CHAIN YOUTUB SVPL !!

 

Voilà comment je vois quelqu'un qui spam sont lien sans dire "allez voir j'ai besoin d'aide merci."

×
×
  • Créer...

Information importante

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.