Aller au contenu
  • 0

Erreur dans un code :(


Question

Posté(e)

Bonjour, j'étais en train de faire un Skript, puis j'ai eu une interrogarion au niveau d'un code et je me suis dis bon au pire je vais le tester comme ça je verais si le rendu est comme je m'y attendais et là, 140 erreurs dans le code. Bon vu que le code se répète tout le temps c'est surement des petites erreurs qui reviennent tout le temps, merci d'avance :) !

 

 

aliases:
   end portal = 120
   hook = 131
   nether start = 399
   nether quartz = 406



on open inventory:
if gamemode is creative:
   wait 1 tick
   open chest with 6 rows named "&aInventaire du mode Créative" to player
       format slot 0 of player with brick block named "&7Blocs de construction" to close then run [make player execute command "/GUI:1"]
       format slot 1 of player with red flower named "&7Blocs décoratifs" to close then run [make player execute command "/GUI:2"]
       format slot 2 of player with redstone named "&7Redstone" to close then run [make player execute command "/GUI:3"]
       format slot 3 of player with golden rail named "&7Moyens de transport" to close then run [make player execute command "/GUI:4"]
       format slot 4 of player with lava bucket named "&7Divers" to close then run [make player execute command "/GUI:5"]
       format slot 5 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:6"]
       format slot 6 of player with diamond named "&7&dNouveautés et exclusivités" to close then run [make player execute command "/GUI:7"]
       format slot 7 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:8"]
       format slot 8 of player with compass named "&7&aRechercher" to close then run [make player execute command "/GUI:9"]
       format slot 9 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:10"]
       format slot 10 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:11"]
       format slot 11 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:12"]
       format slot 12 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:13"]
       format slot 13 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:14"]
       format slot 14 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:15"]
       format slot 15 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:16"]
       format slot 16 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:17"]
       format slot 17 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:18"]
       format slot 18 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:19"]
       format slot 19 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:20"]
       format slot 20 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:21"]
       format slot 21 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:22"]
       format slot 22 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:23"]
       format slot 23 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:24"]
       format slot 24 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:25"]
       format slot 25 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:26"]
       format slot 26 of player with barrier named "&7&cOptions &7&d- &7Fermer le menu" to close
       format slot 27 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:27"]
       format slot 28 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:28"]
       format slot 29 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:29"]
       format slot 30 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:30"]
       format slot 31 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:31"]
       format slot 32 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:32"]
       format slot 33 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:33"]
       format slot 34 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:34"]
       format slot 35 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:35"]
       format slot 36 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:36"]
       format slot 37 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:37"]
       format slot 38 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:38"]
       format slot 39 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:39"]
       format slot 40 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:40"]
       format slot 41 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:41"]
       format slot 42 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:42"]
       format slot 43 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:43"]
       format slot 44 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:44"]
       format slot 45 of player with golden notch apple named "&7Nourriture" to close then run [make player execute command "/GUI:45"]
       format slot 46 of player with iron axe named "&7Outils" to close then run [make player execute command "/GUI:46"]
       format slot 47 of player with diamond sword named "&7Combat" to close then run [make player execute command "/GUI:47"]
       format slot 48 of player with potion regeneration I named "&7Potions" to close then run [make player execute command "/GUI:48"]
       format slot 49 of player with blaze rod named "&7Matières premières" to close then run [make player execute command "/GUI:49"]
       format slot 50 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:50"]
       format slot 51 of player with flint and steel named "&7&cPoubelle" to run [make player execute command "/ci %player%"]
       format slot 52 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:51"]
       format slot 53 of player with ender chest named "&7&aMatières premières" to close then run [make player execute command "/GUI:52"]
       format slot 54 of player with 64 air named "&7" to close then run [make player execute command "/Undefined"]

command /GUI:1:
   trigger:
       wait 1 tick
       open chest with 6 rows named "&aInventaire du mode Créative" to player
       format slot 0 of player with brick block enchant fortune 10 named "&7Blocs de construction" to close then run [make player execute command "/GUI:1"]
       format slot 1 of player with red flower named "&7Blocs décoratifs" to close then run [make player execute command "/GUI:2"]
       format slot 2 of player with redstone named "&7Redstone" to close then run [make player execute command "/GUI:3"]
       format slot 3 of player with golden rail named "&7Moyens de transport" to close then run [make player execute command "/GUI:4"]
       format slot 4 of player with lava bucket named "&7Divers" to close then run [make player execute command "/GUI:5"]
       format slot 5 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:6"]
       format slot 6 of player with diamond named "&7&dNouveautés et exclusivités" to close then run [make player execute command "/GUI:7"]
       format slot 7 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:8"]
       format slot 8 of player with compass named "&7&aRechercher" to close then run [make player execute command "/GUI:9"]
       format slot 9 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:10"]
       format slot 10 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:11"]
       format slot 11 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:12"]
       format slot 12 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:13"]
       format slot 13 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:14"]
       format slot 14 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:15"]
       format slot 15 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:16"]
       format slot 16 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:17"]
       format slot 17 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:18"]
       format slot 18 of player with stone 1 to run [make player execute command "/Give %player% stone 1 0"]
       format slot 19 of player with stone 2 to run [make player execute command "/Give %player% stone 1 1"]
       format slot 20 of player with stone 3 to run [make player execute command "/Give %player% stone 1 2"]
       format slot 21 of player with stone 4 to run [make player execute command "/Give %player% stone 1 3"]
       format slot 22 of player with stone 5 to run [make player execute command "/Give %player% stone 1 4"]
       format slot 23 of player with stone 6 to run [make player execute command "/Give %player% stone 1 5"]
       format slot 24 of player with stone 7 to run [make player execute command "/Give %player% stone 1 6"]
       format slot 25 of player with grass to run [make player execute command "/Give %player% grass 1 0"]
       format slot 26 of player with barrier named "&7&cOptions &7&d- &7Fermer le menu" to close
       format slot 27 of player with dirt 1 to run [make player execute command "/Give %player% dirt 1 0"]
       format slot 28 of player with dirt 2 to run [make player execute command "/Give %player% dirt 1 1"]
       format slot 29 of player with dirt 3 to run [make player execute command "/Give %player% dirt 1 2"]
       format slot 30 of player with cobblestone to run [make player execute command "/Give %player% dirt 1 0"]
       format slot 31 of player with planks 1 to run [make player execute command "/Give %player% planks 1 0"]
       format slot 32 of player with planks 2 to run [make player execute command "/Give %player% dirt 1 1"]
       format slot 33 of player with planks 3 to run [make player execute command "/Give %player% dirt 1 2"]
       format slot 34 of player with planks 4 to run [make player execute command "/Give %player% dirt 1 3"]
       format slot 35 of player with planks 5 to run [make player execute command "/Give %player% dirt 1 4"]
       format slot 36 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:36"]
       format slot 37 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:37"]
       format slot 38 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:38"]
       format slot 39 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:39"]
       format slot 40 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:40"]
       format slot 41 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:41"]
       format slot 42 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:42"]
       format slot 43 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:43"]
       format slot 44 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:44"]
       format slot 45 of player with golden notch apple named "&7Nourriture" to close then run [make player execute command "/GUI:45"]
       format slot 46 of player with iron axe named "&7Outils" to close then run [make player execute command "/GUI:46"]
       format slot 47 of player with diamond sword named "&7Combat" to close then run [make player execute command "/GUI:47"]
       format slot 48 of player with potion regeneration I named "&7Potions" to close then run [make player execute command "/GUI:48"]
       format slot 49 of player with blaze rod named "&7Matières premières" to close then run [make player execute command "/GUI:49"]
       format slot 50 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:50"]
       format slot 51 of player with flint and steel named "&7&cPoubelle" to run [make player execute command "/ci %player%"]
       format slot 52 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:51"]
       format slot 53 of player with ender chest named "&7&aMatières premières" to close then run [make player execute command "/GUI:52"]
       format slot 54 of player with 64 air named "&7" to close then run [make player execute command "/Undefined"]

#/GUI:x    = Command Interface Graphique Number   
#/GUI:M-x  = Command Interface Graphique Movement - Number
#/GUI:xxx  = Command Interface Graphique Suite 2 Continued

command /GUI:111:
   trigger:
       wait 1 tick
       open chest with 6 rows named "&aInventaire du mode Créative" to player
       format slot 0 of player with brick block enchant fortune 10 named "&7Blocs de construction" to close then run [make player execute command "/GUI:1"]
       format slot 1 of player with red flower named "&7Blocs décoratifs" to close then run [make player execute command "/GUI:2"]
       format slot 2 of player with redstone named "&7Redstone" to close then run [make player execute command "/GUI:3"]
       format slot 3 of player with golden rail named "&7Moyens de transport" to close then run [make player execute command "/GUI:4"]
       format slot 4 of player with lava bucket named "&7Divers" to close then run [make player execute command "/GUI:5"]
       format slot 5 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:6"]
       format slot 6 of player with diamond named "&7&dNouveautés et exclusivités" to close then run [make player execute command "/GUI:7"]
       format slot 7 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:8"]
       format slot 8 of player with compass named "&7&aRechercher" to close then run [make player execute command "/GUI:9"]
       format slot 9 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:10"]
       format slot 10 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:11"]
       format slot 11 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:12"]
       format slot 12 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:13"]
       format slot 13 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:14"]
       format slot 14 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:15"]
       format slot 15 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:16"]
       format slot 16 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:17"]
       format slot 17 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:18"]
       format slot 18 of player with glass to run [make player execute command "/Give %player% glass 1 0"]
       format slot 19 of player with lapis ore to run [make player execute command "/Give %player% lapis_ore 1 0"]
       format slot 20 of player with lapis block to run [make player execute command "/Give %player% lapis_block 1 0"]
       format slot 21 of player with sandstone 1 to run [make player execute command "/Give %player% sandstone 1 0"]
       format slot 22 of player with sandstone 2 to run [make player execute command "/Give %player% sandstone 1 1"]
       format slot 23 of player with sandstone 3 to run [make player execute command "/Give %player% sandstone 1 2"]
       format slot 24 of player with wool 1 to run [make player execute command "/Give %player% wool 1 0"]
       format slot 25 of player with wool 2 to run [make player execute command "/Give %player% wool 1 1"]
       format slot 26 of player with barrier named "&7&cOptions &7&d- &7Fermer le menu" to close
       format slot 27 of player with dirt 1 to run [make player execute command "/Give %player% dirt 1 0"]
       format slot 28 of player with dirt 2 to run [make player execute command "/Give %player% dirt 1 1"]
       format slot 29 of player with dirt 3 to run [make player execute command "/Give %player% dirt 1 2"]
       format slot 30 of player with cobblestone to run [make player execute command "/Give %player% dirt 1 0"]
       format slot 31 of player with planks 1 to run [make player execute command "/Give %player% planks 1 0"]
       format slot 32 of player with planks 2 to run [make player execute command "/Give %player% dirt 1 1"]
       format slot 33 of player with planks 3 to run [make player execute command "/Give %player% dirt 1 2"]
       format slot 34 of player with planks 4 to run [make player execute command "/Give %player% dirt 1 3"]
       format slot 35 of player with planks 5 to run [make player execute command "/Give %player% dirt 1 4"]
       format slot 36 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:36"]
       format slot 37 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:37"]
       format slot 38 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:38"]
       format slot 39 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:39"]
       format slot 40 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:40"]
       format slot 41 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:41"]
       format slot 42 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:42"]
       format slot 43 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:43"]
       format slot 44 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:44"]
       format slot 45 of player with golden notch apple named "&7Nourriture" to close then run [make player execute command "/GUI:45"]
       format slot 46 of player with iron axe named "&7Outils" to close then run [make player execute command "/GUI:46"]
       format slot 47 of player with diamond sword named "&7Combat" to close then run [make player execute command "/GUI:47"]
       format slot 48 of player with potion regeneration I named "&7Potions" to close then run [make player execute command "/GUI:48"]
       format slot 49 of player with blaze rod named "&7Matières premières" to close then run [make player execute command "/GUI:49"]
       format slot 50 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:50"]
       format slot 51 of player with flint and steel named "&7&cPoubelle" to run [make player execute command "/ci %player%"]
       format slot 52 of player with staned glass pane grey named "&7" to run [make player execute command "/GUI:51"]
       format slot 53 of player with ender chest named "&7&aMatières premières" to close then run [make player execute command "/GUI:52"]       

7 réponses à cette question

Messages recommandés

  • 0
Posté(e)
Euh, des caractères comme ":" je n'ai jamais vu dans une commande, c'est peut être ça :/

/bukkit:help /bukkit:plugins ect ^^

(Utilisé pour des alias en général)

 

Envoie nous un screen de tes erreurs plz

J'aurais bien voulu mais y a trop d'erreurs dans le chat du coup je peux juste screen une partie x)

 

J'essayerais de prendre dans la soirée un screen avec une partie des erreurs et d'essayer les propositions (d'ailleur merci :))

  • 0
Posté(e)
/bukkit:help /bukkit:plugins ect ^^

(Utilisé pour des alias en général)

 

 

J'aurais bien voulu mais y a trop d'erreurs dans le chat du coup je peux juste screen une partie x)

 

J'essayerais de prendre dans la soirée un screen avec une partie des erreurs et d'essayer les propositions (d'ailleur merci :))

J'ai touver les ERREURS ! C'est dans le format slot faut faire sa :

 

            format slot 11 of player with iron sword named "&aRejoindre l'arene || Kit Guerrier" with lore "&8Clique pour rejoindre l'arene PvP || &9Avec le kit guerrier" to close then run [make player execute command "/event cguerrier"]

Ta juste a modifier :)

 

Sinon sa voudrais dire que ta pas le bon addons :(

  • 0
Posté(e)

Dans

        format slot 37 of player with staned glass pane black named "&7" to run [make player execute command "/GUI:37"]

 

Il manque le "to close then run"

 

Sa donne

        format slot 37 of player with staned glass pane black named "&7" to close then run [make player execute command "/GUI:37"]

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