Aller au contenu
  • 0

In internal error


Question

Posté(e)

Bonjour,

 

Je suis entrain de créé un Event pour mon anniversaire et j'ai un problème.

 

Le code:

 

command /startevent:
   permission: event.sk
   permission message: &8[&cErreur&8] &cTu ne peut pas faire ceci !
   trigger:
       loop all players:
           if loop-player is in world "event":
               wait 1 tick
               message "&eJeanPaul joined the game" to loop-player
               wait 1 second
               message "&c[&eArtificer&c] &eJeanPaul &4» &7Salut a vous les abonnés de KrizaGames !" to loop-player
               wait 3 seconds
               message "&c[&eArtificer&c] &eJeanPaul &4» &7Je vais aller préparer le feu d'artifice, à ce que je peux voir vous êtes prêt." to loop-player
               wait 3 seconds
               message "&c[&eArtificer&c] &eJeanPaul &4» &7Patienter j'ai bientôt fini :)" to loop-player
               wait 2 seconds
               message "&c[&eArtificer&c] &eJeanPaul &4» &7Voilà comme sa" to loop-player
               wait 5 seconds
               message "&c[&eArtificer&c] &eJeanPaul &4» &7Bon je vais commencer !" to loop-player
               wait 2 seconds
               message "&c[&eArtificer&c] &eJeanPaul &4» &73 !" to loop-player
               wait 1 second
               message "&c[&eArtificer&c] &eJeanPaul &4» &72 !" to loop-player
               wait 1 second
               message "&c[&eArtificer&c] &eJeanPaul &4» &71 !" to loop-player
               wait 1 second
               message "&c[&eArtificer&c] &eJeanPaul &4» &7Gooo !" to loop-player

 

Et sa me met : "An internal error occurred while attempting to perform this command"

 

Merci de me répondre au plus vite, je cherche depuis ce matin.

 

KrizaGames

4 réponses à cette question

Messages recommandés

  • 0
Posté(e)
[15:46:33 ERROR]: Could not pass event PlayerCommandPreprocessEvent to Skript v2.1.2

org.bukkit.event.EventException

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.PlayerConnection.handleCommand(PlayerConnection.java:1341) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1184) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]

at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]

Caused by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getOnlinePlayers()[Lorg/bukkit/entity/Player;

at ch.njol.skript.entity.EntityData.getAll(EntityData.java:451) ~[?:?]

at ch.njol.skript.expressions.ExprEntities.get(ExprEntities.java:145) ~[?:?]

at ch.njol.skript.expressions.ExprEntities.get(ExprEntities.java:1) ~[?:?]

at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:101) ~[?:?]

at ch.njol.skript.lang.util.SimpleExpression.iterator(SimpleExpression.java:304) ~[?:?]

at ch.njol.skript.expressions.ExprEntities.iterator(ExprEntities.java:214) ~[?:?]

at ch.njol.skript.lang.Loop.walk(Loop.java:85) ~[?:?]

at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91) ~[?:?]

at ch.njol.skript.lang.Trigger.execute(Trigger.java:53) ~[?:?]

at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:220) ~[?:?]

at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:1) ~[?:?]

at ch.njol.skript.util.Task.callSync(Task.java:139) ~[?:?]

at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:193) ~[?:?]

at ch.njol.skript.command.Commands.handleCommand(Commands.java:260) ~[?:?]

at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:155) ~[?:?]

at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[minecraft_server.jar:git-Spigot-798f32d-0cd0397]

... 16 more

[15:46:33 ERROR]: null

org.bukkit.command.CommandException: Unhandled exception executing command 'startevent' in plugin Skript v2.1.2

at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at org.bukkit.craftbukkit.v1_9_R2.CraftServer.dispatchCommand(CraftServer.java:646) ~[minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.PlayerConnection.handleCommand(PlayerConnection.java:1349) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1184) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.PacketPlayInChat.a(PacketPlayInChat.java:1) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]

at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [minecraft_server.jar:git-Spigot-798f32d-0cd0397]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]

Caused by: java.lang.NoSuchMethodError: org.bukkit.Bukkit.getOnlinePlayers()[Lorg/bukkit/entity/Player;

at ch.njol.skript.entity.EntityData.getAll(EntityData.java:451) ~[?:?]

at ch.njol.skript.expressions.ExprEntities.get(ExprEntities.java:145) ~[?:?]

at ch.njol.skript.expressions.ExprEntities.get(ExprEntities.java:1) ~[?:?]

at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:101) ~[?:?]

at ch.njol.skript.lang.util.SimpleExpression.iterator(SimpleExpression.java:304) ~[?:?]

at ch.njol.skript.expressions.ExprEntities.iterator(ExprEntities.java:214) ~[?:?]

at ch.njol.skript.lang.Loop.walk(Loop.java:85) ~[?:?]

at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91) ~[?:?]

at ch.njol.skript.lang.Trigger.execute(Trigger.java:53) ~[?:?]

at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:220) ~[?:?]

at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:1) ~[?:?]

at ch.njol.skript.util.Task.callSync(Task.java:139) ~[?:?]

at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:193) ~[?:?]

at ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:170) ~[?:?]

at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[minecraft_server.jar:git-Spigot-798f32d-0cd0397]

... 15 more

  • 0
Posté(e)

Tu te rends compte que tu utilises skript 2.1.2 ? :O

Utilises la version dev 24 ou dev 25 ou dev 27 de Bensku vu que tu es en 1.8 (c'est une de ces trois versions, ça change en fonction des plugins que tu as : si tu as Massive core par exemple, la dev 27 ne fonctionnera pas)

  • 0
Posté(e)

Bonjour,

Pour commencer ton code est faux, tes messages vont être différé de 20 secondes entre chaque joueurs..

Voici comment tu pourrais faire, en vue de ta veille version de skript il est possible que sa ne fonctionne pas, il existe d'autres solutions.

command /startevent:
   permission: event.sk
   permission message: &8[&cErreur&8] &cTu ne peut pas faire ceci !
   trigger:
       message "&eJeanPaul joined the game" to all players in world "event"
       wait 1 second
       message "&c[&eArtificer&c] &eJeanPaul &4» &7Salut a vous les abonnés de KrizaGames !" to all players in world "event"
       wait 3 seconds
       message "&c[&eArtificer&c] &eJeanPaul &4» &7Je vais aller préparer le feu d'artifice, à ce que je peux voir vous êtes prêt." to all players in world "event"
       wait 3 seconds
       message "&c[&eArtificer&c] &eJeanPaul &4» &7Patienter j'ai bientôt fini :)" to all players in world "event"
       wait 2 seconds
       message "&c[&eArtificer&c] &eJeanPaul &4» &7Voilà comme sa" to all players in world "event"
       wait 5 seconds
       message "&c[&eArtificer&c] &eJeanPaul &4» &7Bon je vais commencer !" to all players in world "event"
       wait 2 seconds
       message "&c[&eArtificer&c] &eJeanPaul &4» &73 !" to all players in world "event"
       wait 1 second
       message "&c[&eArtificer&c] &eJeanPaul &4» &72 !" to all players in world "event"
       wait 1 second
       message "&c[&eArtificer&c] &eJeanPaul &4» &71 !" to all players in world "event"
       wait 1 second
       message "&c[&eArtificer&c] &eJeanPaul &4» &7Gooo !" to all players in world "event"

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