Bonjour je fait ce post suite a un soucis avec Tuske que je rencontre lorsque je veux créer un skript qui ouvre un gui et lorsque que la personne clique sur un items cela utilise une fonction .
Version des Plugins :
Skript : 2-2-dev27
Tuske : 1.82
J’utilise un serveur en local avec spigot 1.8.8
Code :
command /kit [<text>]:
trigger:
open virtual chest inventory with 4 row named "&1Menu Des Kits to player
wait 1 ticks
make a gui slot 1 of player with grass named "" to do nothing
make a gui slot 7 of player with stone named "" to do nothing
make a gui slot 0 of player with blue stained glass pane named " " to do nothing
make a gui slot 2 of player with blue stained glass pane named " " to do nothing
make a gui slot 3 of player with yellow stained glass pane named " " to do nothing
make a gui slot 4 of player with yellow stained glass pane named " " to do nothing
make a gui slot 5 of player with yellow stained glass pane named " " to do nothing
make a gui slot 6 of player with blue stained glass pane named " " to do nothing
make a gui slot 0 of player with blue stained glass pane named " " to do nothing
make a gui slot 1 of player with yellow stained glass pane named " " to do nothing
make a gui slot 2 of player with blue stained glass pane named " " to do nothing
make a gui slot 3 of player with yellow stained glass pane named " " to do nothing
make a gui slot 4 of player with blue stained glass pane named " " to do nothing
make a gui slot 5 of player with yellow stained glass pane named " " to do nothing
make a gui slot 6 of player with blue stained glass pane named " " to do nothing
make a gui slot 7 of player with yellow stained glass pane named " " to do nothing
make a gui slot 8 of player with blue stained glass pane named " " to do nothing
make a gui slot 9 of player with yellow stained glass pane named " " to do nothing
make a gui slot 10 of player with blue stained glass pane named " " to do nothing
make a gui slot 11 of player with yellow stained glass pane named "" to nothing
make a gui slot 12 of player with blue stained glass pane named " " to do nothing
make a gui slot 13 of player with yellow stained glass pane named " " to do nothing
make a gui slot 14 of player with blue stained glass pane named " " to do nothing
make a gui slot 15 of player with grass named "&9Kits" to close then run function menuKit()
make a gui slot 16 of player with blue stained glass pane named " " to do nothing
make a gui slot 17 of player with yellow stained glass pane named " " to do nothing
make a gui slot 18 of player with blue stained glass pane named " " to do nothing
make a gui slot 19 of player with yellow stained glass pane named " " to do nothing
make a gui slot 20 of player with blue stained glass pane named " " to do nothing
make a gui slot 21 of player with yellow stained glass pane named " " to do nothing
make a gui slot 22 of player with blue stained glass pane named " " to do nothing
make a gui slot 23 of player with yellow stained glass pane named " " to do nothing
make a gui slot 24 of player with blue stained glass pane named " " to do nothing
make a gui slot 25 of player with yellow stained glass pane named " " to do nothing
make a gui slot 26 of player with blue stained glass pane named " " to do nothing
make a gui slot 27 of player with yellow stained glass pane named " " to do nothing
make a gui slot 28 of player with blue stained glass pane named " " to do nothing
make a gui slot 29 of player with yellow stained glass pane named " " to do nothing
make a gui slot 30 of player with blue stained glass pane named " " to do nothing
make a gui slot 31 of player with barrier named "&4Close Warp Menu" to close
make a gui slot 32 of player with blue stained glass pane named " " to do nothing
make a gui slot 33 of player with yellow stained glass pane named " " to do nothing
make a gui slot 34 of player with blue stained glass pane named " " to do nothing
make a gui slot 35 of player with yellow stained glass pane named " " to do nothing
function menuKit():
broadcast "TEST"
J'ai mis juste un message de test pour voir si cela marche , mais cela ne marche pas non plus .
[22:43:36 ERROR]: #!#! Java: 1.8.0_162 (Java HotSpot 64-Bit Server VM 25.162-b12)
[22:43:36 ERROR]: #!#! OS: Windows 10 amd64 10.0
[22:43:36 ERROR]: #!#!
[22:43:36 ERROR]: #!#! Running CraftBukkit: false
[22:43:36 ERROR]: #!#!
[22:43:36 ERROR]: #!#! Current node: null
[22:43:36 ERROR]: #!#! Current item: format a gui slot [[long:15]] of the player with ([[itemtype:grass_block]] named "º9Kits" >> ch.njol.skript.classes.data.DefaultConverters$13@6f075548: ch.njol.skript.aliases.ItemType->org.bukkit.inventory.ItemStack)
[22:43:36 ERROR]: #!#!
[22:43:36 ERROR]: #!#! Thread: Server thread
[22:43:36 ERROR]: #!#!
[22:43:36 ERROR]: #!#! End of Error.
[22:43:36 ERROR]: #!#!
Le gui ne ce génère pas en entier comme si le skript ce stopper à la ligne :
make a gui slot 15 of player with grass named "&9Kits" to close then run function menuKit()
Je remercie d'avance tout ceux qui prendront le temps de lire mon post et de m'aider .
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
TheKePaag
Bonjour je fait ce post suite a un soucis avec Tuske que je rencontre lorsque je veux créer un skript qui ouvre un gui et lorsque que la personne clique sur un items cela utilise une fonction .
Version des Plugins :
Skript : 2-2-dev27
Tuske : 1.82
J’utilise un serveur en local avec spigot 1.8.8
Code :
J'ai mis juste un message de test pour voir si cela marche , mais cela ne marche pas non plus .
Erreur dans la console :
Le gui ne ce génère pas en entier comme si le skript ce stopper à la ligne :
Je remercie d'avance tout ceux qui prendront le temps de lire mon post et de m'aider .
Cordialement TheKePaag.
Modifié par TheKePaag4 réponses à cette question
Messages recommandés