Aller au contenu
  • 0

Menu : Erreur introuvable


Question

Posté(e)

Bonsoir, je suis en train de développer un script avec un tableau mais j'ai un tas d'erreurs qui apparaissent alors que j'utilise un serveur préconfiguré de Skript-mc ...

 

command /modo <player>:
   description: Ouvrir le menu de modération d'un joueur
   permission: modo.admin
   permission message: &7[Erreur] &cTu n'as pas droit à cette commande !
   trigger:
       if arg 1 is not set:
           message "&eTu dois indiquer un joueur &a/modo &c<pseudo> &e!"
       else:
           open chest with 5 rows named "&aModération &e&l%player%" to player
           wait 1 tick
           format slot 4 of player with Skull of "%arg 1%" parsed as player named "&6%arg 1%" with lore "&a&oStatistiques :||&e&oMonnaie : ||&e&oGrade : " to be unstealable
           format slot 20 of player with paper named "&e&lMessage privé" with lore "&a&oÉcris le message à envoyer dans le chat" to close then run "modotell %arg 1%"
           format slot 21 of player with eye of ender named "&5Téléportation" with lore "&a&oTéléporte toi au joueur" to close then run "tp %arg 1%"
           format slot 23 of player with splash potion of harming named "&c&lAvertissement" with lore "&aÉcris l'avertissement dans le chat" to close then run "modowarn %arg 1%"
           format slot 24 of player with piston named "&c&lÉjecter un joueur" with lore "&a&oÉcris la raison dans le chat" to close then run "modokick %arg 1%"
           format slot 25 of player with cobweb named "&c&lMute un joueur" to close then run "modomute %arg 1%"
           format slot 26 of player with anvil named "&c&lBannir un joueur" with lore "&a&oTu n'as plus qu'à choisir la durée !" to close then run "modoban %arg 1%"

 

[ATTACH=full]429[/ATTACH]

 

Merci de votre aide !

Loki.

10 réponses à cette question

Messages recommandés

  • 0
Posté(e)
Les erreurs viennent du fait que tu n'as pas skQuery !

 

SkQuery est installé de base sur les serveurs de skript-Mc :/ SkQuery 3 et 4

  • 0
Posté(e)
Bonsoir, je suis en train de développer un script avec un tableau mais j'ai un tas d'erreurs qui apparaissent alors que j'utilise un serveur préconfiguré de Skript-mc ...

 

command /modo <player>:
   description: Ouvrir le menu de modération d'un joueur
   permission: modo.admin
   permission message: &7[Erreur] &cTu n'as pas droit à cette commande !
   trigger:
       if arg 1 is not set:
           message "&eTu dois indiquer un joueur &a/modo &c<pseudo> &e!"
       else:
           open chest with 5 rows named "&aModération &e&l%player%" to player
           wait 1 tick
           format slot 4 of player with Skull of "%arg 1%" parsed as player named "&6%arg 1%" with lore "&a&oStatistiques :||&e&oMonnaie : ||&e&oGrade : " to be unstealable
           format slot 20 of player with paper named "&e&lMessage privé" with lore "&a&oÉcris le message à envoyer dans le chat" to close then run "modotell %arg 1%"
           format slot 21 of player with eye of ender named "&5Téléportation" with lore "&a&oTéléporte toi au joueur" to close then run "tp %arg 1%"
           format slot 23 of player with splash potion of harming named "&c&lAvertissement" with lore "&aÉcris l'avertissement dans le chat" to close then run "modowarn %arg 1%"
           format slot 24 of player with piston named "&c&lÉjecter un joueur" with lore "&a&oÉcris la raison dans le chat" to close then run "modokick %arg 1%"
           format slot 25 of player with cobweb named "&c&lMute un joueur" to close then run "modomute %arg 1%"
           format slot 26 of player with anvil named "&c&lBannir un joueur" with lore "&a&oTu n'as plus qu'à choisir la durée !" to close then run "modoban %arg 1%"

 

[ATTACH=full]429[/ATTACH]

 

Merci de votre aide !

Loki.

Dans la console, on remarque "open a chest..." donc le "a" est à supprimer mais dans le code que tu nous a mis... Il y est pas... Tu as certainement le double du skript donc ça à tout érroné par la suite ...

  • 0
Posté(e)
Dans la console, on remarque "open a chest..." donc le "a" est à supprimer mais dans le code que tu nous a mis... Il y est pas... Tu as certainement le double du skript donc ça à tout érroné par la suite ...

 

Désolé pour l'image avec les photo mais c'était avec mon tout premier code :/ Voici mon code complet (je vous avais épargné les (format ... named "Par Loki_" ^^)

 

command /modo <player>:
   description: Ouvrir le menu de modération d'un joueur
   permission: modo.admin
   permission message: &7[Erreur] &cTu n'as pas droit à cette commande !
   trigger:
       if arg 1 is not set:
           message "&eTu dois indiquer un joueur &a/modo &c<pseudo> &e!"
       else:
           open chest with 5 rows named "&aModération &e&l%player%" to player
           wait 1 tick
           format slot 1 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 2 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 3 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 4 of player with Skull of "%arg 1%" parsed as player named "&6%arg 1%" with lore "&a&oStatistiques :||&e&oMonnaie : ||&e&oGrade : " to be unstealable
           format slot 5 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 6 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 7 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 8 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 9 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 10 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 11 of player with glass pane:5 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 12 of player with glass pane:5 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 13 of player with glass pane:4 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 14 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 15 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 16 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 17 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 18 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 19 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 20 of player with paper named "&e&lMessage privé" with lore "&a&oÉcris le message à envoyer dans le chat" to close then run [make player execute command "modotell %arg 1%"]
           format slot 21 of player with eye of ender named "&5Téléportation" with lore "&a&oTéléporte toi au joueur" to close then run [make player execute command "tp %arg 1%"]
           format slot 22 of player with glass pane:4 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 23 of player with splash potion of harming named "&c&lAvertissement" with lore "&aÉcris l'avertissement dans le chat" to close then run [make player execute command "modowarn %arg 1%"]
           format slot 24 of player with piston named "&c&lÉjecter un joueur" with lore "&a&oÉcris la raison dans le chat" to close then run [make player execute command "modokick %arg 1%"]
           format slot 25 of player with cobweb named "&c&lMute un joueur" to close then run "modomute %arg 1%"
           format slot 26 of player with anvil named "&c&lBannir un joueur" with lore "&a&oTu n'as plus qu'à choisir la durée !" to close then run [make player execute command "modoban %arg 1%"]
           format slot 27 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 28 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 29 of player with glass pane:5 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 30 of player with glass pane:5 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 31 of player with glass pane:4 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 32 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 33 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 34 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 35 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 36 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 37 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 38 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 39 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 40 of player with barrier named "&e&lQuitter" to close
           format slot 41 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 42 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 43 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 44 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"
           format slot 45 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_"

 

Et voici les erreurs dans la console (elles n'y sont pas toutes car elles sont toutes similaires ... :/)

 

[ATTACH=full]437[/ATTACH]

  • 0
Posté(e)
Verifie que SkQuery est bien installer et charger , car le code parrais etre correcte oO

 

Je vais vérifier ça mais c'est les serveurs pré-configuré donc si j'ai des erreurs alors que c'est correct c'est assez louche :/

  • 0
Posté(e)
enleve un des skquery

What ???

 

Alor deja skquery 4 doit avoir skquery 3 d'installer pour qu'il fonctione " c'est une extention "

Donc ce que tu dit n'est pas une bonne idee si il décide d'enlever skquery 3.

  • 0
Posté(e)

Tu as juste oublié les to close .... à la fin de certaines lignes !!!!

command /modo <player>:
   description: Ouvrir le menu de modération d'un joueur
   permission: modo.admin
   permission message: &7[Erreur] &cTu n'as pas droit à cette commande !
   trigger:
      if arg 1 is not set:
           message "&eTu dois indiquer un joueur &a/modo &c<pseudo> &e!"
      else:
           open chest with 5 rows named "&aModération &e&l%player%" to player
           wait 1 tick
          format slot 1 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 2 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 3 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 4 of player with Skull of "%arg 1%" parsed as player named "&6%arg 1%" with lore "&a&oStatistiques :||&e&oMonnaie : ||&e&oGrade : " to be unstealable
          format slot 5 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 6 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 7 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 8 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 9 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 10 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 11 of player with glass pane:5 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 12 of player with glass pane:5 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 13 of player with glass pane:4 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 14 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 15 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 16 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 17 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 18 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 19 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 20 of player with paper named "&e&lMessage privé" with lore "&a&oÉcris le message à envoyer dans le chat" to close then run [make player execute command "modotell %arg 1%"]
          format slot 21 of player with eye of ender named "&5Téléportation" with lore "&a&oTéléporte toi au joueur" to close then run [make player execute command "tp %arg 1%"]
          format slot 22 of player with glass pane:4 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 23 of player with splash potion of harming named "&c&lAvertissement" with lore "&aÉcris l'avertissement dans le chat" to close then run [make player execute command "modowarn %arg 1%"]
          format slot 24 of player with piston named "&c&lÉjecter un joueur" with lore "&a&oÉcris la raison dans le chat" to close then run [make player execute command "modokick %arg 1%"]
          format slot 25 of player with cobweb named "&c&lMute un joueur" to close then run "modomute %arg 1%"
          format slot 26 of player with anvil named "&c&lBannir un joueur" with lore "&a&oTu n'as plus qu'à choisir la durée !" to close then run [make player execute command "modoban %arg 1%"]
          format slot 27 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 28 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 29 of player with glass pane:5 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 30 of player with glass pane:5 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 31 of player with glass pane:4 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 32 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 33 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 34 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 35 of player with glass pane:14 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 36 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 37 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 38 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 39 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 40 of player with barrier named "&e&lQuitter" to close
          format slot 41 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 42 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 43 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 44 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable
          format slot 45 of player with glass pane:3 named "&fModoHelp" with lore "&7&lPar Loki_" to be unstealable

j'ai mis des "to be unstealable" car je pense que les glass pane doivent être pour la décoration ;)

 

Cordialement,

MrSkyzZ.

 

En espérant de t'avoir aidé ! ^^

×
×
  • 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.