Aller au contenu
MrSheep77

Toute petite question #2

Messages recommandés

Bonjour/Bonsoir !

 

En spigot 1.8.X

 

Voilà une seconde petite question que je vous pose ici.

J'ai des erreurs dans mon script, je ne comprend pas d'où elles viennent pourtant avant le script marchait et je n'ai rien changé ! :eek:

Voilà les erreurs :

[ATTACH=full]6504[/ATTACH]

 

Et voilà le code :

Contenu masqué

    Réagissez ou répondez à ce message afin de consulter le contenu masqué.

 

Merci de votre aide !

Partager ce message


Lien à poster
Partager sur d’autres sites
Salut, tu t'ai trompé sur le nom des items, gray die -> gray dye, si ça ne marche toujours pas remplace les par l'id puis par l'E.G que skript te donnera en "erreur"

Ah oui je vois. Pourtant le script marchait très bien et sans erreurs avant alors que j'avais mit les ids pour tout les items. Puis bien après des reloads et tout, le script a décidé de me demander de mettre les noms des items au lieu des ids et c'est là que je me suis planté.

Merci de ton aide !

Partager ce message


Lien à poster
Partager sur d’autres sites
Salut, tu t'ai trompé sur le nom des items, gray die -> gray dye, si ça ne marche toujours pas remplace les par l'id puis par l'E.G que skript te donnera en "erreur"

Regarde l'erreur avant de regarder le Skript. Même si effectivement, c'est "dye" et non pas "die" ^^

 

@MrSheep77 C'est, je pense, à cause des " ' " qui dans certains langages sont utilisés pour définir un texte; peut-être qu'ici il y a conflit. rajoute un autre " ' ".

 

Ça devrait faire

Contenu masqué

    Réagissez ou répondez à ce message afin de consulter le contenu masqué.

Si ça ne marche toujours pas, je ne sais pas quoi faire.

  • J'aime 1

Partager ce message


Lien à poster
Partager sur d’autres sites

Les « ' » ne m'ont jamais poser de soucis en revanche à tu changer ton aliase-english ? Si oui c'est surment pour sa que "gray die" ne marche plus, utilise la méthode de AzerFlaash tu remplace par l'id puis après le reload skript va te dire de remplacer l'id par le nom de l'item

  • J'aime 1

Partager ce message


Lien à poster
Partager sur d’autres sites

Finalement, j'ai récris la ligne en entière et puis ça a marché, je sais pas vraiment commen j'ai fais.

Seconde petite question maintenant, comment faire pour que les items qui représentent les kits soient enchantés dans ce code ?

Contenu masqué

    Réagissez ou répondez à ce message afin de consulter le contenu masqué.

 

Merci de votre aide !

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Finalement, j'ai récris la ligne en entière et puis ça a marché, je sais pas vraiment commen j'ai fais.

Seconde petite question maintenant, comment faire pour que les items qui représentent les kits soient enchantés dans ce code ?

command /menukitvagabond:
   permission: mk.vagabond
   permission message: Erreur pas la permission
   trigger:
       wait 2 ticks
       open chest with 6 rows named "&cSélection des kits" to player
       wait 1 ticks
       format slot 0 of player with white glass named " " to be unstealable
       format slot 1 of player with white glass named " " to be unstealable
       format slot 2 of player with white glass named " " to be unstealable
       format slot 3 of player with white glass named " " to be unstealable
       format slot 4 of player with white glass named " " to be unstealable
       format slot 5 of player with white glass named " " to be unstealable
       format slot 6 of player with white glass named " " to be unstealable
       format slot 7 of player with white glass named " " to be unstealable
       format slot 8 of player with white glass named " " to be unstealable
       format slot 9 of player with white glass named " " to be unstealable
       format slot 11 of player with wooden sword named "Kit Vagabond" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Vagabond"]
       format slot 12 of player with gray dye named "Kit Paladin" with lore "Tu n'a pas la permission" to be unstealable
       format slot 13 of player with white glass named " " to be unstealable
       format slot 14 of player with gray dye named "Kit Seigneur" with lore "Tu n'a pas la permission" to be unstealable
       format slot 15 of player with gray dye named "Kit Demi-Dieu" with lore "Tu n'a pas la permission" to be unstealable
       format slot 17 of player with white glass named " " to be unstealable
       format slot 18 of player with white glass named " " to be unstealable
       format slot 19 of player with white glass named " " to be unstealable
       format slot 20 of player with white glass named " " to be unstealable
       format slot 21 of player with white glass named " " to be unstealable
       format slot 22 of player with white glass named " " to be unstealable
       format slot 23 of player with white glass named " " to be unstealable
       format slot 24 of player with white glass named " " to be unstealable
       format slot 25 of player with white glass named " " to be unstealable
       format slot 26 of player with white glass named " " to be unstealable
       format slot 27 of player with white glass named " " to be unstealable
       format slot 29 of player with 384 named "Kit Enchanteur" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Enchanteur"]
       format slot 31 of player with gray dye named "Kit Combat" with lore "Tu n'a pas la permission" to be unstealable
       format slot 33 of player with gray dye named "Kit Assault" with lore "Tu n'a pas la permission" to be unstealable
       format slot 35 of player with white glass named " " to be unstealable
       format slot 36 of player with white glass named " " to be unstealable
       format slot 39 of player with gray dye named "Kit Sorcière" with lore "Tu n'a pas la permission" to be unstealable
       format slot 40 of player with white glass named " " to be unstealable
       format slot 41 of player with gray dye named "Kit Exploration" with lore "Tu n'a pas la permission" to be unstealable
       format slot 44 of player with white glass named " " to be unstealable
       format slot 45 of player with white glass named " " to be unstealable
       format slot 46 of player with white glass named " " to be unstealable
       format slot 47 of player with white glass named " " to be unstealable
       format slot 48 of player with white glass named " " to be unstealable
       format slot 49 of player with redstone named "Fermer" with lore "Clique pour fermer le menu" to close
       format slot 50 of player with white glass named " " to be unstealable
       format slot 51 of player with white glass named " " to be unstealable
       format slot 52 of player with white glass named " " to be unstealable
       format slot 53 of player with white glass named " " to be unstealable
       format slot 54 of player with white glass named " " to be unstealable

command /menukitpaladin:
   permission: mk.paladin
   permission message: Erreur pas la permission
   trigger:
       wait 2 ticks
       open chest with 6 rows named "&cSélection des kits" to player
       wait 1 ticks
       format slot 0 of player with white glass named " " to be unstealable
       format slot 1 of player with white glass named " " to be unstealable
       format slot 2 of player with white glass named " " to be unstealable
       format slot 3 of player with white glass named " " to be unstealable
       format slot 4 of player with white glass named " " to be unstealable
       format slot 5 of player with white glass named " " to be unstealable
       format slot 6 of player with white glass named " " to be unstealable
       format slot 7 of player with white glass named " " to be unstealable
       format slot 8 of player with white glass named " " to be unstealable
       format slot 9 of player with white glass named " " to be unstealable
       format slot 11 of player with wooden sword named "Kit Vagabond" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Vagabond"]
       format slot 12 of player with stone sword named "Kit Paladin" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Paladin"]
       format slot 13 of player with white glass named " " to be unstealable
       format slot 14 of player with gray dye named "Kit Seigneur" with lore "Tu n'a pas la permission" to be unstealable
       format slot 15 of player with gray dye named "Kit Demi-Dieu" with lore "Tu n'a pas la permission" to be unstealable
       format slot 17 of player with white glass named " " to be unstealable
       format slot 18 of player with white glass named " " to be unstealable
       format slot 19 of player with white glass named " " to be unstealable
       format slot 20 of player with white glass named " " to be unstealable
       format slot 21 of player with white glass named " " to be unstealable
       format slot 22 of player with white glass named " " to be unstealable
       format slot 23 of player with white glass named " " to be unstealable
       format slot 24 of player with white glass named " " to be unstealable
       format slot 25 of player with white glass named " " to be unstealable
       format slot 26 of player with white glass named " " to be unstealable
       format slot 27 of player with white glass named " " to be unstealable
       format slot 29 of player with experience bottle named "Kit Enchanteur" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit enchanteur"]
       format slot 31 of player with gray dye named "Kit Combat" with lore "Tu n'a pas la permission" to be unstealable
       format slot 33 of player with gray dye named "Kit Assault" with lore "Tu n'a pas la permission" to be unstealable
       format slot 35 of player with white glass named " " to be unstealable
       format slot 36 of player with white glass named " " to be unstealable
       format slot 39 of player with gray dye named "Kit Sorcière" with lore "Tu n'a pas la permission" to be unstealable
       format slot 40 of player with white glass named " " to be unstealable
       format slot 41 of player with gray dye named "Kit Exploration" with lore "Tu n'a pas la permission" to be unstealable
       format slot 44 of player with white glass named " " to be unstealable
       format slot 45 of player with white glass named " " to be unstealable
       format slot 46 of player with white glass named " " to be unstealable
       format slot 47 of player with white glass named " " to be unstealable
       format slot 48 of player with white glass named " " to be unstealable
       format slot 49 of player with redstone named "Fermer" with lore "Clique pour fermer le menu" to close
       format slot 50 of player with white glass named " " to be unstealable
       format slot 51 of player with white glass named " " to be unstealable
       format slot 52 of player with white glass named " " to be unstealable
       format slot 53 of player with white glass named " " to be unstealable
       format slot 54 of player with white glass named " " to be unstealable

command /menukitseigneur:
   permission: mk.seigneur
   permission message: Erreur pas la permission
   trigger:
       wait 2 ticks
       open chest with 6 rows named "&cSélection des kits" to player
       wait 1 ticks
       format slot 0 of player with white glass named " " to be unstealable
       format slot 1 of player with white glass named " " to be unstealable
       format slot 2 of player with white glass named " " to be unstealable
       format slot 3 of player with white glass named " " to be unstealable
       format slot 4 of player with white glass named " " to be unstealable
       format slot 5 of player with white glass named " " to be unstealable
       format slot 6 of player with white glass named " " to be unstealable
       format slot 7 of player with white glass named " " to be unstealable
       format slot 8 of player with white glass named " " to be unstealable
       format slot 9 of player with white glass named " " to be unstealable
       format slot 11 of player with wooden sword named "Kit Vagabond" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Vagabond"]
       format slot 12 of player with stone sword named "Kit Paladin" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Paladin"]
       format slot 13 of player with white glass named " " to be unstealable
       format slot 14 of player with iron sword named "Kit Seigneur" to close then run [make player execute command "/kit Seigneur"]
       format slot 15 of player with gray dye named "Kit Demi-Dieu" with lore "Tu n'a pas la permission" to be unstealable
       format slot 17 of player with white glass named " " to be unstealable
       format slot 18 of player with white glass named " " to be unstealable
       format slot 19 of player with white glass named " " to be unstealable
       format slot 20 of player with white glass named " " to be unstealable
       format slot 21 of player with white glass named " " to be unstealable
       format slot 22 of player with white glass named " " to be unstealable
       format slot 23 of player with white glass named " " to be unstealable
       format slot 24 of player with white glass named " " to be unstealable
       format slot 25 of player with white glass named " " to be unstealable
       format slot 26 of player with white glass named " " to be unstealable
       format slot 27 of player with white glass named " " to be unstealable
       format slot 29 of player with experience bottle named "Kit Enchanteur" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Enchanteur"]
       format slot 31 of player with gray dye named "Kit Combat" with lore "Tu n'a pas la permission" to be unstealable
       format slot 33 of player with gray dye named "Kit Assault" with lore "Tu n'a pas la permission" to be unstealable
       format slot 35 of player with white glass named " " to be unstealable
       format slot 36 of player with white glass named " " to be unstealable
       format slot 39 of player with gray dye named "Kit Sorcière" with lore "Tu n'a pas la permission" to be unstealable
       format slot 40 of player with white glass named " " to be unstealable
       format slot 41 of player with gray dye named "Kit Exploration" with lore "Tu n'a pas la permission" to be unstealable
       format slot 44 of player with white glass named " " to be unstealable
       format slot 45 of player with white glass named " " to be unstealable
       format slot 46 of player with white glass named " " to be unstealable
       format slot 47 of player with white glass named " " to be unstealable
       format slot 48 of player with white glass named " " to be unstealable
       format slot 49 of player with redstone named "Fermer" with lore "Clique pour fermer le menu" to close
       format slot 50 of player with white glass named " " to be unstealable
       format slot 51 of player with white glass named " " to be unstealable
       format slot 52 of player with white glass named " " to be unstealable
       format slot 53 of player with white glass named " " to be unstealable
       format slot 54 of player with white glass named " " to be unstealable

command /menukitdmd:
   permission: mk.dmd
   permission message: Erreur pas la permission
   trigger:
       wait 2 ticks
       open chest with 6 rows named "&cSélection des kits" to player
       wait 1 ticks
       format slot 0 of player with white glass named " " to be unstealable
       format slot 1 of player with white glass named " " to be unstealable
       format slot 2 of player with white glass named " " to be unstealable
       format slot 3 of player with white glass named " " to be unstealable
       format slot 4 of player with white glass named " " to be unstealable
       format slot 5 of player with white glass named " " to be unstealable
       format slot 6 of player with white glass named " " to be unstealable
       format slot 7 of player with white glass named " " to be unstealable
       format slot 8 of player with white glass named " " to be unstealable
       format slot 9 of player with white glass named " " to be unstealable
       format slot 11 of player with wooden sword named "Kit Vagabond" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Vagabond"]
       format slot 12 of player with stone sword named "Kit Paladin" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Paladin"]
       format slot 13 of player with white glass named " " to be unstealable
       format slot 14 of player with iron sword named "Kit Seigneur" to close then run [make player execute command "/kit Seigneur"]
       format slot 15 of player with diamond sword named "Kit Demi-Dieu" to close then run [make player execute command "/kit Demi-Dieu"]
       format slot 17 of player with white glass named " " to be unstealable
       format slot 18 of player with white glass named " " to be unstealable
       format slot 19 of player with white glass named " " to be unstealable
       format slot 20 of player with white glass named " " to be unstealable
       format slot 21 of player with white glass named " " to be unstealable
       format slot 22 of player with white glass named " " to be unstealable
       format slot 23 of player with white glass named " " to be unstealable
       format slot 24 of player with white glass named " " to be unstealable
       format slot 25 of player with white glass named " " to be unstealable
       format slot 26 of player with white glass named " " to be unstealable
       format slot 27 of player with white glass named " " to be unstealable
       format slot 29 of player with experience bottle named "Kit Enchanteur" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Enchanteur"]
       format slot 31 of player with gray dye named "Kit Combat" with lore "Tu n'a pas la permission" to be unstealable
       format slot 33 of player with gray dye named "Kit Assault" with lore "Tu n'a pas la permission" to be unstealable
       format slot 35 of player with white glass named " " to be unstealable
       format slot 36 of player with white glass named " " to be unstealable
       format slot 39 of player with gray dye named "Kit Sorcière" with lore "Tu n'a pas la permission" to be unstealable
       format slot 40 of player with white glass named " " to be unstealable
       format slot 41 of player with gray dye named "Kit Exploration" with lore "Tu n'a pas la permission" to be unstealable
       format slot 44 of player with white glass named " " to be unstealable
       format slot 45 of player with white glass named " " to be unstealable
       format slot 46 of player with white glass named " " to be unstealable
       format slot 47 of player with white glass named " " to be unstealable
       format slot 48 of player with white glass named " " to be unstealable
       format slot 49 of player with redstone named "Fermer" with lore "Clique pour fermer le menu" to close
       format slot 50 of player with white glass named " " to be unstealable
       format slot 51 of player with white glass named " " to be unstealable
       format slot 52 of player with white glass named " " to be unstealable
       format slot 53 of player with white glass named " " to be unstealable
       format slot 54 of player with white glass named " " to be unstealable       

 

Merci de votre aide !

Utilise

of sharpness 1

exemple:

format slot 1 of player with iron Sword of sharpness 1 named "lol" ou (je sais plus l'ordre O_o) format slot 1 of player with Iron Sword named "lol" of sharpness 1

Un p'tit like si ça marche ;)

Ps: Utilise les gui de tuske, ils sont bien plus performants !

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Finalement, j'ai récris la ligne en entière et puis ça a marché, je sais pas vraiment commen j'ai fais.

Seconde petite question maintenant, comment faire pour que les items qui représentent les kits soient enchantés dans ce code ?

command /menukitvagabond:
   permission: mk.vagabond
   permission message: Erreur pas la permission
   trigger:
       wait 2 ticks
       open chest with 6 rows named "&cSélection des kits" to player
       wait 1 ticks
       format slot 0 of player with white glass named " " to be unstealable
       format slot 1 of player with white glass named " " to be unstealable
       format slot 2 of player with white glass named " " to be unstealable
       format slot 3 of player with white glass named " " to be unstealable
       format slot 4 of player with white glass named " " to be unstealable
       format slot 5 of player with white glass named " " to be unstealable
       format slot 6 of player with white glass named " " to be unstealable
       format slot 7 of player with white glass named " " to be unstealable
       format slot 8 of player with white glass named " " to be unstealable
       format slot 9 of player with white glass named " " to be unstealable
       format slot 11 of player with wooden sword named "Kit Vagabond" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Vagabond"]
       format slot 12 of player with gray dye named "Kit Paladin" with lore "Tu n'a pas la permission" to be unstealable
       format slot 13 of player with white glass named " " to be unstealable
       format slot 14 of player with gray dye named "Kit Seigneur" with lore "Tu n'a pas la permission" to be unstealable
       format slot 15 of player with gray dye named "Kit Demi-Dieu" with lore "Tu n'a pas la permission" to be unstealable
       format slot 17 of player with white glass named " " to be unstealable
       format slot 18 of player with white glass named " " to be unstealable
       format slot 19 of player with white glass named " " to be unstealable
       format slot 20 of player with white glass named " " to be unstealable
       format slot 21 of player with white glass named " " to be unstealable
       format slot 22 of player with white glass named " " to be unstealable
       format slot 23 of player with white glass named " " to be unstealable
       format slot 24 of player with white glass named " " to be unstealable
       format slot 25 of player with white glass named " " to be unstealable
       format slot 26 of player with white glass named " " to be unstealable
       format slot 27 of player with white glass named " " to be unstealable
       format slot 29 of player with 384 named "Kit Enchanteur" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Enchanteur"]
       format slot 31 of player with gray dye named "Kit Combat" with lore "Tu n'a pas la permission" to be unstealable
       format slot 33 of player with gray dye named "Kit Assault" with lore "Tu n'a pas la permission" to be unstealable
       format slot 35 of player with white glass named " " to be unstealable
       format slot 36 of player with white glass named " " to be unstealable
       format slot 39 of player with gray dye named "Kit Sorcière" with lore "Tu n'a pas la permission" to be unstealable
       format slot 40 of player with white glass named " " to be unstealable
       format slot 41 of player with gray dye named "Kit Exploration" with lore "Tu n'a pas la permission" to be unstealable
       format slot 44 of player with white glass named " " to be unstealable
       format slot 45 of player with white glass named " " to be unstealable
       format slot 46 of player with white glass named " " to be unstealable
       format slot 47 of player with white glass named " " to be unstealable
       format slot 48 of player with white glass named " " to be unstealable
       format slot 49 of player with redstone named "Fermer" with lore "Clique pour fermer le menu" to close
       format slot 50 of player with white glass named " " to be unstealable
       format slot 51 of player with white glass named " " to be unstealable
       format slot 52 of player with white glass named " " to be unstealable
       format slot 53 of player with white glass named " " to be unstealable
       format slot 54 of player with white glass named " " to be unstealable

command /menukitpaladin:
   permission: mk.paladin
   permission message: Erreur pas la permission
   trigger:
       wait 2 ticks
       open chest with 6 rows named "&cSélection des kits" to player
       wait 1 ticks
       format slot 0 of player with white glass named " " to be unstealable
       format slot 1 of player with white glass named " " to be unstealable
       format slot 2 of player with white glass named " " to be unstealable
       format slot 3 of player with white glass named " " to be unstealable
       format slot 4 of player with white glass named " " to be unstealable
       format slot 5 of player with white glass named " " to be unstealable
       format slot 6 of player with white glass named " " to be unstealable
       format slot 7 of player with white glass named " " to be unstealable
       format slot 8 of player with white glass named " " to be unstealable
       format slot 9 of player with white glass named " " to be unstealable
       format slot 11 of player with wooden sword named "Kit Vagabond" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Vagabond"]
       format slot 12 of player with stone sword named "Kit Paladin" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Paladin"]
       format slot 13 of player with white glass named " " to be unstealable
       format slot 14 of player with gray dye named "Kit Seigneur" with lore "Tu n'a pas la permission" to be unstealable
       format slot 15 of player with gray dye named "Kit Demi-Dieu" with lore "Tu n'a pas la permission" to be unstealable
       format slot 17 of player with white glass named " " to be unstealable
       format slot 18 of player with white glass named " " to be unstealable
       format slot 19 of player with white glass named " " to be unstealable
       format slot 20 of player with white glass named " " to be unstealable
       format slot 21 of player with white glass named " " to be unstealable
       format slot 22 of player with white glass named " " to be unstealable
       format slot 23 of player with white glass named " " to be unstealable
       format slot 24 of player with white glass named " " to be unstealable
       format slot 25 of player with white glass named " " to be unstealable
       format slot 26 of player with white glass named " " to be unstealable
       format slot 27 of player with white glass named " " to be unstealable
       format slot 29 of player with experience bottle named "Kit Enchanteur" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit enchanteur"]
       format slot 31 of player with gray dye named "Kit Combat" with lore "Tu n'a pas la permission" to be unstealable
       format slot 33 of player with gray dye named "Kit Assault" with lore "Tu n'a pas la permission" to be unstealable
       format slot 35 of player with white glass named " " to be unstealable
       format slot 36 of player with white glass named " " to be unstealable
       format slot 39 of player with gray dye named "Kit Sorcière" with lore "Tu n'a pas la permission" to be unstealable
       format slot 40 of player with white glass named " " to be unstealable
       format slot 41 of player with gray dye named "Kit Exploration" with lore "Tu n'a pas la permission" to be unstealable
       format slot 44 of player with white glass named " " to be unstealable
       format slot 45 of player with white glass named " " to be unstealable
       format slot 46 of player with white glass named " " to be unstealable
       format slot 47 of player with white glass named " " to be unstealable
       format slot 48 of player with white glass named " " to be unstealable
       format slot 49 of player with redstone named "Fermer" with lore "Clique pour fermer le menu" to close
       format slot 50 of player with white glass named " " to be unstealable
       format slot 51 of player with white glass named " " to be unstealable
       format slot 52 of player with white glass named " " to be unstealable
       format slot 53 of player with white glass named " " to be unstealable
       format slot 54 of player with white glass named " " to be unstealable

command /menukitseigneur:
   permission: mk.seigneur
   permission message: Erreur pas la permission
   trigger:
       wait 2 ticks
       open chest with 6 rows named "&cSélection des kits" to player
       wait 1 ticks
       format slot 0 of player with white glass named " " to be unstealable
       format slot 1 of player with white glass named " " to be unstealable
       format slot 2 of player with white glass named " " to be unstealable
       format slot 3 of player with white glass named " " to be unstealable
       format slot 4 of player with white glass named " " to be unstealable
       format slot 5 of player with white glass named " " to be unstealable
       format slot 6 of player with white glass named " " to be unstealable
       format slot 7 of player with white glass named " " to be unstealable
       format slot 8 of player with white glass named " " to be unstealable
       format slot 9 of player with white glass named " " to be unstealable
       format slot 11 of player with wooden sword named "Kit Vagabond" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Vagabond"]
       format slot 12 of player with stone sword named "Kit Paladin" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Paladin"]
       format slot 13 of player with white glass named " " to be unstealable
       format slot 14 of player with iron sword named "Kit Seigneur" to close then run [make player execute command "/kit Seigneur"]
       format slot 15 of player with gray dye named "Kit Demi-Dieu" with lore "Tu n'a pas la permission" to be unstealable
       format slot 17 of player with white glass named " " to be unstealable
       format slot 18 of player with white glass named " " to be unstealable
       format slot 19 of player with white glass named " " to be unstealable
       format slot 20 of player with white glass named " " to be unstealable
       format slot 21 of player with white glass named " " to be unstealable
       format slot 22 of player with white glass named " " to be unstealable
       format slot 23 of player with white glass named " " to be unstealable
       format slot 24 of player with white glass named " " to be unstealable
       format slot 25 of player with white glass named " " to be unstealable
       format slot 26 of player with white glass named " " to be unstealable
       format slot 27 of player with white glass named " " to be unstealable
       format slot 29 of player with experience bottle named "Kit Enchanteur" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Enchanteur"]
       format slot 31 of player with gray dye named "Kit Combat" with lore "Tu n'a pas la permission" to be unstealable
       format slot 33 of player with gray dye named "Kit Assault" with lore "Tu n'a pas la permission" to be unstealable
       format slot 35 of player with white glass named " " to be unstealable
       format slot 36 of player with white glass named " " to be unstealable
       format slot 39 of player with gray dye named "Kit Sorcière" with lore "Tu n'a pas la permission" to be unstealable
       format slot 40 of player with white glass named " " to be unstealable
       format slot 41 of player with gray dye named "Kit Exploration" with lore "Tu n'a pas la permission" to be unstealable
       format slot 44 of player with white glass named " " to be unstealable
       format slot 45 of player with white glass named " " to be unstealable
       format slot 46 of player with white glass named " " to be unstealable
       format slot 47 of player with white glass named " " to be unstealable
       format slot 48 of player with white glass named " " to be unstealable
       format slot 49 of player with redstone named "Fermer" with lore "Clique pour fermer le menu" to close
       format slot 50 of player with white glass named " " to be unstealable
       format slot 51 of player with white glass named " " to be unstealable
       format slot 52 of player with white glass named " " to be unstealable
       format slot 53 of player with white glass named " " to be unstealable
       format slot 54 of player with white glass named " " to be unstealable

command /menukitdmd:
   permission: mk.dmd
   permission message: Erreur pas la permission
   trigger:
       wait 2 ticks
       open chest with 6 rows named "&cSélection des kits" to player
       wait 1 ticks
       format slot 0 of player with white glass named " " to be unstealable
       format slot 1 of player with white glass named " " to be unstealable
       format slot 2 of player with white glass named " " to be unstealable
       format slot 3 of player with white glass named " " to be unstealable
       format slot 4 of player with white glass named " " to be unstealable
       format slot 5 of player with white glass named " " to be unstealable
       format slot 6 of player with white glass named " " to be unstealable
       format slot 7 of player with white glass named " " to be unstealable
       format slot 8 of player with white glass named " " to be unstealable
       format slot 9 of player with white glass named " " to be unstealable
       format slot 11 of player with wooden sword named "Kit Vagabond" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Vagabond"]
       format slot 12 of player with stone sword named "Kit Paladin" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Paladin"]
       format slot 13 of player with white glass named " " to be unstealable
       format slot 14 of player with iron sword named "Kit Seigneur" to close then run [make player execute command "/kit Seigneur"]
       format slot 15 of player with diamond sword named "Kit Demi-Dieu" to close then run [make player execute command "/kit Demi-Dieu"]
       format slot 17 of player with white glass named " " to be unstealable
       format slot 18 of player with white glass named " " to be unstealable
       format slot 19 of player with white glass named " " to be unstealable
       format slot 20 of player with white glass named " " to be unstealable
       format slot 21 of player with white glass named " " to be unstealable
       format slot 22 of player with white glass named " " to be unstealable
       format slot 23 of player with white glass named " " to be unstealable
       format slot 24 of player with white glass named " " to be unstealable
       format slot 25 of player with white glass named " " to be unstealable
       format slot 26 of player with white glass named " " to be unstealable
       format slot 27 of player with white glass named " " to be unstealable
       format slot 29 of player with experience bottle named "Kit Enchanteur" with lore "Clique pour avoir le kit" to close then run [make player execute command "/kit Enchanteur"]
       format slot 31 of player with gray dye named "Kit Combat" with lore "Tu n'a pas la permission" to be unstealable
       format slot 33 of player with gray dye named "Kit Assault" with lore "Tu n'a pas la permission" to be unstealable
       format slot 35 of player with white glass named " " to be unstealable
       format slot 36 of player with white glass named " " to be unstealable
       format slot 39 of player with gray dye named "Kit Sorcière" with lore "Tu n'a pas la permission" to be unstealable
       format slot 40 of player with white glass named " " to be unstealable
       format slot 41 of player with gray dye named "Kit Exploration" with lore "Tu n'a pas la permission" to be unstealable
       format slot 44 of player with white glass named " " to be unstealable
       format slot 45 of player with white glass named " " to be unstealable
       format slot 46 of player with white glass named " " to be unstealable
       format slot 47 of player with white glass named " " to be unstealable
       format slot 48 of player with white glass named " " to be unstealable
       format slot 49 of player with redstone named "Fermer" with lore "Clique pour fermer le menu" to close
       format slot 50 of player with white glass named " " to be unstealable
       format slot 51 of player with white glass named " " to be unstealable
       format slot 52 of player with white glass named " " to be unstealable
       format slot 53 of player with white glass named " " to be unstealable
       format slot 54 of player with white glass named " " to be unstealable       

 

Merci de votre aide !

Fais des loops pour les white glass de fond ;)

Partager ce message


Lien à poster
Partager sur d’autres sites
Utilise

Contenu masqué

    Réagissez ou répondez à ce message afin de consulter le contenu masqué.

exemple:

Contenu masqué

    Réagissez ou répondez à ce message afin de consulter le contenu masqué.

Un p'tit like si ça marche ;)

Ps: Utilise les gui de tuske, ils sont bien plus performants !

Super merci, ça marche bien.

 

Question suivant (mdr), quelqu'un peut m'aider a régler ça ? Je vois encore pas d'où viennent les erreurs...

@LeCraftDeOuf. @Zeleph @Azer_Flaash

Merci.[ATTACH=full]6510[/ATTACH]

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Super merci, ça marche bien.

 

Question suivant (mdr), quelqu'un peut m'aider a régler ça ? Je vois encore pas d'où viennent les erreurs...

@LeCraftDeOuf. @Zeleph @Azer_Flaash

Merci.[ATTACH=full]6510[/ATTACH]

Evite les accents dans les commandes!

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Super merci, ça marche bien.

 

Question suivant (mdr), quelqu'un peut m'aider a régler ça ? Je vois encore pas d'où viennent les erreurs...

@LeCraftDeOuf. @Zeleph @Azer_Flaash

Merci.[ATTACH=full]6510[/ATTACH]

Ça doit venir du nom de la potion j'ai eu beaucoup de prob avec ca. J'ai pas eu mon like tout à l'heure :,3 et le nom du kit de ta commande est "soricere" et pas "sorciere"

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Ah. Et si je met le "e" sans accent alors que le kit s'appelle Sorcière, ça va quand même marché ?

Non, il faudra écrire SORCIERE sans accent

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité

Edit 3: Ca m'étonnerait que ca vienne de l'accent.. :/

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Edit 3: Ca m'étonnerait que ca vienne de l'accent.. :/

Skript utilise java.

En java il faut JAMAIS utiliser des accents dans les commandes

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Skript utilise java.

En java il faut JAMAIS utiliser des accents dans les commandes

Ca dépend de son encodage, si il est en UTF-8, ça marchera niquel autrement ca fera juste un bug de lettre

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Ca dépend de son encodage, si il est en UTF-8, ça marchera niquel autrement ca fera juste un bug de lettre

Dans un message oui, dans une commande non

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Dans un message oui, dans une commande non

Ah, oui erreur de ma part :confused:

Partager ce message


Lien à poster
Partager sur d’autres sites
Invité
Logique XD oui

Ca réglera bien une erreur mais je persiste à croire que l'erreur skript provient bien du nom de la potion

Partager ce message


Lien à poster
Partager sur d’autres sites
Ca réglera bien une erreur mais je persiste à croire que l'erreur skript provient bien du nom de la potion

Pourtant la potion s'affiche bien, moi aussi je veux bien des likes wesh (jsp comment barrer le texte lol)

Partager ce message


Lien à poster
Partager sur d’autres sites

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