Bonjour/Bonsoir, j'ai fait un script pour un scoreboard :
command /p:
trigger:
wipe player's sidebar
if {p.%player%} is false:
set {p.%player%} to true
message "&atest"
else if {p.%player%} is true:
set {p.%player%} to false
message "&ctest"
command /k:
trigger:
wipe player's sidebar
set {_y.%player%} to rounded y-coordinate of player
set {_z.%player%} to rounded z-coordinate of player
set {_x.%player%} to rounded x-coordinate of player
set score "&c%time%" in sidebar of player to 1
set score "Test" in sidebar of player to -1
set score "x: %{_x.%player%}% y: %{_y.%player%}% z: %{_z.%player%}%" in sidebar of player to 0
every 1 second:
loop all players:
if {p.%loop-player%} is true:
execute loop-player command "/k"
et quand j’exécute la commande /k cela me met cet erreur :
An internal error occurred while attempting to perform this command.
Et on ma dit que de donner l'erreur de la console donc la voici :
[spoiler=Erreur]
[20:51:26] [server thread/ERROR]: #!#!
[20:51:26] [server thread/ERROR]: #!#! [skript] Severe Error:
[20:51:26] [server thread/ERROR]: #!#!
[20:51:26] [server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[20:51:26] [server thread/ERROR]: #!#! If you're a server admin however please go to [Contenu masqué]
[20:51:26] [server thread/ERROR]: #!#! and check whether this error has already been reported.
[20:51:26] [server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[20:51:26] [server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[20:51:26] [server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[20:51:26] [server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[20:51:26] [server thread/ERROR]: #!#!
[20:51:26] [server thread/ERROR]: #!#! Stack trace:
[20:51:26] [server thread/ERROR]: #!#! java.lang.NullPointerException
[20:51:26] [server thread/ERROR]: #!#! at net.rayfall.eyesniper2.skrayfall.scoreboard.EffSetScore.execute(EffSetScore.java:46)
[20:51:26] [server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)
[20:51:26] [server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)
[20:51:26] [server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)
[20:51:26] [server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[20:51:26] [server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222)
[20:51:26] [server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184)
[20:51:26] [server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:270)
[20:51:26] [server thread/ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:165)
[20:51:26] [server thread/ERROR]: #!#! at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
[20:51:26] [server thread/ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[20:51:26] [server thread/ERROR]: #!#! at java.lang.reflect.Method.invoke(Method.java:498)
[20:51:26] [server thread/ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
[20:51:26] [server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[20:51:26] [server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499)
[20:51:26] [server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484)
[20:51:26] [server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1377)
[20:51:26] [server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1220)
[20:51:26] [server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[20:51:26] [server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
[20:51:26] [server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[20:51:26] [server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[20:51:26] [server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[20:51:26] [server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
[20:51:26] [server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747)
[20:51:26] [server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405)
[20:51:26] [server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678)
[20:51:26] [server thread/ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576)
[20:51:26] [server thread/ERROR]: #!#! at java.lang.Thread.run(Thread.java:745)
[20:51:26] [server thread/ERROR]: #!#!
[20:51:26] [server thread/ERROR]: #!#! Version Information:
[20:51:26] [server thread/ERROR]: #!#! Skript: 2.2-dev25
[20:51:26] [server thread/ERROR]: #!#! Bukkit: 1.12-R0.1-SNAPSHOT
[20:51:26] [server thread/ERROR]: #!#! Minecraft: 1.12
[20:51:26] [server thread/ERROR]: #!#! Java: 1.8.0_72 (Java HotSpot 64-Bit Server VM 25.72-b15)
[20:51:26] [server thread/ERROR]: #!#! OS: Linux amd64 3.16.0-4-amd64
[20:51:26] [server thread/ERROR]: #!#!
[20:51:26] [server thread/ERROR]: #!#! Running CraftBukkit: false
[20:51:26] [server thread/ERROR]: #!#!
[20:51:26] [server thread/ERROR]: #!#! Current node: null
[20:51:26] [server thread/ERROR]: #!#! Current item: null
[20:51:26] [server thread/ERROR]: #!#!
[20:51:26] [server thread/ERROR]: #!#! Thread: Server thread
[20:51:26] [server thread/ERROR]: #!#!
[20:51:26] [server thread/ERROR]: #!#! End of Error.
[20:51:26] [server thread/ERROR]: #!#!
Je ne sais toujours pas à quoi c'est du.
Addons:
SkQuery
SkRayFall
WildSkript
Merci d'avance ^^