Bonjour ou Bonsoir, alors voici mon problème... J'écrit mon skript pour faire un menu GUI et quand je fait /sk reload lenomduskript cela m'affiche entre 10 et 5 erreurs. Voici mon code :
command /hub:
aliases: spawn,lobby
trigger:
clear the player's inventory
set slot 4 of player of chest named "&6-<&7Menu Principal&6>-"
teleport player to {hub}
send "&4&l[AudaWarn] &7Tu a été téléporté au Hub"
on rightclick with chest:
make player execute command "/menuprincipal"
command /menuprincipal:
aliases: /menup,/principalmenu,/principalm,/menu
trigger:
open chest with 7 rows name "&6- -=&7Menu Principal&6>=--" to player
wait 5 tick
format slot 4 of player with 1 diamond sword named "&cPVP BOX" with lore "&6★★&7Ouvrir le menu du &ePVP BOX&6★★" to close
format slot 31 of player with 1 ender pearl enchant unbreaking 1 named "&aAudaCraft Network||&6, serveur développé par 278deco" to close
format slot 22 of player with diamond block named "&4Salle du Staff" with lore "&6★★&7Accéder à la &esalle du Staff&6★★" to close
format slot 40 of player with oak door named "&7Retour au HUB" with lore "&6★★&7Accéder au &eHUB&6★★" to close then run "sudo %player% hub"
format slot 27 of player with 1 tnt named "&cTnt Run" with lore "&6★★&7Ouvrir le menu du &eTNT Run&6★★" to close
format slot 35 of player with 1 obsidian named "&0Rush" with lore "&6★★&7Ouvrir le menu du &eRush&6★★" to close
format slot 58 of player with 1 grass named "&2SkyWars" with lore "&6★★&7Ouvrir le menu du &eSkyWars&6★★" to close
et les logs :
[spoiler=Log]
[17:32:33] [server thread/ERROR]: [skript] Could not hook into Vault. This can happen if Skript doesn't support the installed version of Vault
[17:32:34] [server thread/INFO]: [skript] Loading variables...
[17:32:34] [server thread/INFO]: [skript] Loaded 4 variables in 0.1 seconds
[17:32:34] [server thread/ERROR]: [skript] Can't understand this condition/effect: set slot 4 of player of chest named "&6-<&7Menu Principal&6>-" (AudaScoreboard.sk, line 17: set slot 4 of player of chest named "&6-<&7Menu Principal&6>-"')
[17:32:34] [server thread/ERROR]: [skript] Can't understand this condition/effect: open chest with 7 rows name "&6- -=&7Menu Principal&6>=--" to player (AudaScoreboard.sk, line 27: open chest with 7 rows name "&6- -=&7Menu Principal&6>=--" to player')
[17:32:34] [server thread/ERROR]: [skript] Can't understand this condition/effect: format slot 4 of player with 1 diamond sword named "&cPVP BOX" with lore "&6??&7Ouvrir le menu du &ePVP BOX&6??" to close (AudaScoreboard.sk, line 29: format slot 4 of player with 1 diamond sword named "&cPVP BOX" with lore "&6??&7Ouvrir le menu du &ePVP BOX&6??" to close')
[17:32:34] [server thread/ERROR]: [skript] Can't understand this condition/effect: format slot 31 of player with 1 ender pearl enchant unbreaking 1 named "&aAudaCraft Network||&6, serveur développé par 278deco" to close (AudaScoreboard.sk, line 30: format slot 31 of player with 1 ender pearl enchant unbreaking 1 named "&aAudaCraft Network||&6, serveur développé par 278deco" to close')
[17:32:34] [server thread/ERROR]: [skript] Can't understand this condition/effect: format slot 22 of player with diamond block named "&4Salle du Staff" with lore "&6??&7Accéder à la &esalle du Staff&6??" to close (AudaScoreboard.sk, line 31: format slot 22 of player with diamond block named "&4Salle du Staff" with lore "&6??&7Accéder à la &esalle du Staff&6??" to close')
[17:32:35] [server thread/ERROR]: [skript] Can't understand this condition/effect: format slot 40 of player with oak door named "&7Retour au HUB" with lore "&6??&7Accéder au &eHUB&6??" to close then run "sudo %player% hub" (AudaScoreboard.sk, line 32: format slot 40 of player with oak door named "&7Retour au HUB" with lore "&6??&7Accéder au &eHUB&6??" to close then run "sudo %player% hub"')
[17:32:35] [server thread/ERROR]: [skript] Can't understand this condition/effect: format slot 27 of player with 1 tnt named "&cTnt Run" with lore "&6??&7Ouvrir le menu du &eTNT Run&6??" to close (AudaScoreboard.sk, line 33: format slot 27 of player with 1 tnt named "&cTnt Run" with lore "&6??&7Ouvrir le menu du &eTNT Run&6??" to close')
[17:32:35] [server thread/ERROR]: [skript] Can't understand this condition/effect: format slot 35 of player with 1 obsidian named "&0Rush" with lore "&6??&7Ouvrir le menu du &eRush&6??" to close (AudaScoreboard.sk, line 34: format slot 35 of player with 1 obsidian named "&0Rush" with lore "&6??&7Ouvrir le menu du &eRush&6??" to close')
[17:32:35] [server thread/ERROR]: [skript] Can't understand this condition/effect: format slot 58 of player with 1 grass named "&2SkyWars" with lore "&6??&7Ouvrir le menu du &eSkyWars&6??" to close (AudaScoreboard.sk, line 35: format slot 58 of player with 1 grass named "&2SkyWars" with lore "&6??&7Ouvrir le menu du &eSkyWars&6??" to close')
[17:32:35] [server thread/INFO]: [skript] Loaded 2 scripts with a total of 3 triggers and 8 commands in 1.07 seconds
[17:32:35] [server thread/INFO]: [skript] Finished loading.
[17:32:35] [Craft Scheduler Thread - 6/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m Checking for the latest version of Skript...[m
[17:32:35] [Craft Scheduler Thread - 7/INFO]: [Vault] Checking for Updates ...
[17:32:36] [Craft Scheduler Thread - 7/WARN]: [Vault] Stable Version: 1.5.6 is out! You are still running version: 1.5.0
[17:32:36] [Craft Scheduler Thread - 7/WARN]: [Vault] Update at: [Contenu masqué]
[17:32:38] [skript update thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m [0;31;22mAn internal error occurred while checking for the latest version of Skript. Please refer to the server log for details.[m
[17:32:38] [skript update thread/ERROR]: #!#!
[17:32:38] [skript update thread/ERROR]: #!#! [skript] Severe Error:
[17:32:38] [skript update thread/ERROR]: #!#! Unexpected error while checking for a new version of Skript
[17:32:38] [skript update thread/ERROR]: #!#!
[17:32:38] [skript update thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[17:32:38] [skript update thread/ERROR]: #!#! If you're a server admin however please go to [Contenu masqué]
[17:32:38] [skript update thread/ERROR]: #!#! and check whether this error has already been reported.
[17:32:38] [skript update thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[17:32:38] [skript update thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[17:32:38] [skript update thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[17:32:38] [skript update thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[17:32:38] [skript update thread/ERROR]: #!#!
[17:32:38] [skript update thread/ERROR]: #!#! Stack trace:
[17:32:38] [skript update thread/ERROR]: #!#! javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Fin prématurée du fichier.
[17:32:38] [skript update thread/ERROR]: #!#! at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown Source)
[17:32:38] [skript update thread/ERROR]: #!#! at com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(Unknown Source)
[17:32:38] [skript update thread/ERROR]: #!#! at ch.njol.skript.Updater.getChangelogs(Updater.java:286)
[17:32:38] [skript update thread/ERROR]: #!#! at ch.njol.skript.Updater$2.run(Updater.java:210)
[17:32:38] [skript update thread/ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[17:32:38] [skript update thread/ERROR]: #!#!
[17:32:38] [skript update thread/ERROR]: #!#! Version Information:
[17:32:38] [skript update thread/ERROR]: #!#! Skript: 2.2-SNAPSHOT
[17:32:38] [skript update thread/ERROR]: #!#! Bukkit: 1.8-R0.1-SNAPSHOT
[17:32:38] [skript update thread/ERROR]: #!#! Minecraft: 1.8
[17:32:38] [skript update thread/ERROR]: #!#! Java: 1.8.0_121 (Java HotSpot(TM) 64-Bit Server VM 25.121-b13)
[17:32:38] [skript update thread/ERROR]: #!#! OS: Windows 10 amd64 10.0
[17:32:38] [skript update thread/ERROR]: #!#!
[17:32:38] [skript update thread/ERROR]: #!#! Running CraftBukkit: false
[17:32:38] [skript update thread/ERROR]: #!#!
[17:32:38] [skript update thread/ERROR]: #!#! Current node: null
[17:32:38] [skript update thread/ERROR]: #!#! Current item: null
[17:32:38] [skript update thread/ERROR]: #!#!
[17:32:38] [skript update thread/ERROR]: #!#! Thread: Skript update thread
[17:32:38] [skript update thread/ERROR]: #!#!
[17:32:38] [skript update thread/ERROR]: #!#! End of Error.
[17:32:38] [skript update thread/ERROR]: #!#!
Comme addons j'ai : SkQuery 3 et 4, WildSkript et Vault.
J'utilise la version 2.2 de script.
Voila merci d'avoir pris le temps de lire :D et en attente d'une réponse positive...
278deco
Ps : a des moments quand j'ouvre est ferme mon inventaire créatif cela me lout une épée qui doit normalement figurer dans le menu avec le même nom et tout.