J'ai besoin de votre aide pour un soucis que je rencontre avec mon skript :(
J'utilise avec le plugin Pitchout plusieurs skripts dont celui-ci, à la fin de la partie le plugin lance la commande /restartA et qui lance mon skript, lui-même à pour rôle de faire un décompte et d'envoyer les joueurs sur le serveur lobby avant le restart... mais voilà cela ne marche pas très bien!
Mon skript
command /restartA:
description: restart
permission: restart.lobby
permission message: Cette commande est interdite ou non disponible.
executable by: console and players
trigger:
loop all players:
wait 1 second
send player title "&7Redémarrage dans &e5" with subtitle "" for 1 seconds
execute console command "/playsound note.snare @a %x-coordinate of player's location% %y-coordinate of player's location% %z-coordinate of player's location% 1 1 1"
wait 1 second
send player title "&7Redémarrage dans &e4" with subtitle "" for 1 seconds
execute console command "/playsound note.snare @a %x-coordinate of player's location% %y-coordinate of player's location% %z-coordinate of player's location% 1 1 1"
wait 1 second
send player title "&7Redémarrage dans &e3" with subtitle "" for 1 seconds
execute console command "/playsound note.snare @a %x-coordinate of player's location% %y-coordinate of player's location% %z-coordinate of player's location% 1 1 1"
wait 1 second
send player title "&7Redémarrage dans &e2" with subtitle "" for 1 seconds
execute console command "/playsound note.snare @a %x-coordinate of player's location% %y-coordinate of player's location% %z-coordinate of player's location% 1 1 1"
wait 1 second
send player title "&7Redémarrage dans &e1" with subtitle "" for 1 seconds
execute console command "/playsound note.snare @a %x-coordinate of player's location% %y-coordinate of player's location% %z-coordinate of player's location% 1 1 1"
wait 1 second
bungeecord connect player to "MG-Fallenspawn"
wait 3 seconds
console command "restart"
L'erreur dans les logs
[11:31:44] [server thread/ERROR]: #!#! [skript] Severe Error:
[11:31:44] [server thread/ERROR]: #!#!
[11:31:44] [server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[11:31:44] [server thread/ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[11:31:44] [server thread/ERROR]: #!#! and check whether this error has already been reported.
[11:31:44] [server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[11:31:44] [server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[11:31:44] [server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[11:31:44] [server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[11:31:44] [server thread/ERROR]: #!#!
[11:31:44] [server thread/ERROR]: #!#! Stack trace:
[11:31:44] [server thread/ERROR]: #!#! java.lang.NullPointerException
[11:31:44] [server thread/ERROR]: #!#! at net.rayfall.eyesniper2.skRayFall.V1_8_4.EffTitleV1_8_4.execute(EffTitleV1_8_4.java:53)
[11:31:44] [server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:50)
[11:31:44] [server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[11:31:44] [server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[11:31:44] [server thread/ERROR]: #!#! at ch.njol.skript.effects.Delay$1.run(Delay.java:85)
[11:31:44] [server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
[11:31:44] [server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[11:31:44] [server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
[11:31:44] [server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
[11:31:44] [server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
[11:31:44] [server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
[11:31:44] [server thread/ERROR]: #!#! at java.lang.Thread.run(Thread.java:745)
[11:31:44] [server thread/ERROR]: #!#!
[11:31:44] [server thread/ERROR]: #!#! Version Information:
[11:31:44] [server thread/ERROR]: #!#! Skript: 2.1.2
[11:31:44] [server thread/ERROR]: #!#! Bukkit: 1.8.8-R0.1-SNAPSHOT
[11:31:44] [server thread/ERROR]: #!#! Minecraft: 1.8.8
[11:31:44] [server thread/ERROR]: #!#! Java: 1.8.0_66
[11:31:44] [server thread/ERROR]: #!#!
[11:31:44] [server thread/ERROR]: #!#! Running CraftBukkit: false
[11:31:44] [server thread/ERROR]: #!#!
[11:31:44] [server thread/ERROR]: #!#! Current node: null
[11:31:44] [server thread/ERROR]: #!#! Current item: null
[11:31:44] [server thread/ERROR]: #!#!
[11:31:44] [server thread/ERROR]: #!#! Thread: Server thread
[11:31:44] [server thread/ERROR]: #!#!
[11:31:44] [server thread/ERROR]: #!#! End of Error.
[11:31:44] [server thread/ERROR]: #!#!
J'ai pas trouvé de solution, donc j'espère que vous avez une pour moi ^^
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
Revolt
Hey ^^
J'ai besoin de votre aide pour un soucis que je rencontre avec mon skript :(
J'utilise avec le plugin Pitchout plusieurs skripts dont celui-ci, à la fin de la partie le plugin lance la commande /restartA et qui lance mon skript, lui-même à pour rôle de faire un décompte et d'envoyer les joueurs sur le serveur lobby avant le restart... mais voilà cela ne marche pas très bien!
Mon skript
L'erreur dans les logs
J'ai pas trouvé de solution, donc j'espère que vous avez une pour moi ^^
J'utilise
- Skript.jar
- skRayFall_v1.7.4.jar
- SkQuery.jar
- SkExtras.jar
Voilà, merci d'avance :p
10 réponses à cette question
Messages recommandés