Aller au contenu
  • 0

Problème citizens


Question

Posté(e)

Bonsoir, j'ai un problème avec le plugin citizens. Alors dans mon code j'ai mis ça :

command /checkff [<offline player>]:
   trigger:
       if player has permission "check.use":
           if arg 1 is set:
               if arg 1 is online:
                   create a citizen named "_Ff-P%arg 1%" at location of arg 1
                   wait 4 ticks
                   despawn citizen 0
               else:
                   send "&cS'il vous plaît, spécifiez le nom d'un joueur."
           else:
               send "&cErreur dans la commande, faites /check <joueur>."
       else:
           send "&cVous n'avez pas la permission d'utiliser cette commande."

 

Et aucune erreur dans la console. Quand je fais /checkff <player>, sa me met dans le chat du jeu : An internal error occured while attempting to perform this command.

 

Et dans la console :

[22:00:36] [server thread/INFO]: PiiXsoGames [0bed50aa-4c8a-4663-b395-51c77da88d03]: /checkff PiiXsoGames
[22:00:36] [server thread/ERROR]: #!#!
[22:00:36] [server thread/ERROR]: #!#! [skript] Severe Error:
[22:00:36] [server thread/ERROR]: #!#!
[22:00:36] [server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[22:00:36] [server thread/ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[22:00:36] [server thread/ERROR]: #!#! and check whether this error has already been reported.
[22:00:36] [server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[22:00:36] [server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[22:00:36] [server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[22:00:36] [server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[22:00:36] [server thread/ERROR]: #!#!
[22:00:36] [server thread/ERROR]: #!#! Stack trace:
[22:00:36] [server thread/ERROR]: #!#! java.lang.NullPointerException
[22:00:36] [server thread/ERROR]: #!#!     at net.rayfall.eyesniper2.skRayFall.CitizenEffects.EffCreateCitizen.execute(EffCreateCitizen.java:43)
[22:00:36] [server thread/ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:54)
[22:00:36] [server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63)
[22:00:36] [server thread/ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91)
[22:00:36] [server thread/ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[22:00:36] [server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222)
[22:00:36] [server thread/ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184)
[22:00:36] [server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands.handleCommand(Commands.java:263)
[22:00:36] [server thread/ERROR]: #!#!     at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:158)
[22:00:36] [server thread/ERROR]: #!#!     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[22:00:36] [server thread/ERROR]: #!#!     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[22:00:36] [server thread/ERROR]: #!#!     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[22:00:36] [server thread/ERROR]: #!#!     at java.lang.reflect.Method.invoke(Unknown Source)
[22:00:36] [server thread/ERROR]: #!#!     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298)
[22:00:36] [server thread/ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[22:00:36] [server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509)
[22:00:36] [server thread/ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1035)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:880)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490)
[22:00:36] [server thread/ERROR]: #!#!     at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)
[22:00:36] [server thread/ERROR]: #!#!
[22:00:36] [server thread/ERROR]: #!#! Version Information:
[22:00:36] [server thread/ERROR]: #!#!   Skript: 2.2-SNAPSHOT
[22:00:36] [server thread/ERROR]: #!#!   Bukkit: 1.7.10-R0.1-SNAPSHOT
[22:00:36] [server thread/ERROR]: #!#!   Minecraft: 1.7.10
[22:00:36] [server thread/ERROR]: #!#!   Java: 1.8.0_91 (Java HotSpot(TM) 64-Bit Server VM 25.91-b15)
[22:00:36] [server thread/ERROR]: #!#!   OS: Windows 7 amd64 6.1
[22:00:36] [server thread/ERROR]: #!#!
[22:00:36] [server thread/ERROR]: #!#! Running CraftBukkit: false
[22:00:36] [server thread/ERROR]: #!#!
[22:00:36] [server thread/ERROR]: #!#! Current node: null
[22:00:36] [server thread/ERROR]: #!#! Current item: Created NPC named: "_Ff-P%the 1st argument%" Loaction: [[direction:at]] the location of (the 1st argument >> ch.njol.skript.classes.ChainedConverter@51ff6641: org.bukkit.OfflinePlayer->org.bukkit.Location) Type:entity
[22:00:36] [server thread/ERROR]: #!#!
[22:00:36] [server thread/ERROR]: #!#! Thread: Server thread
[22:00:36] [server thread/ERROR]: #!#!
[22:00:36] [server thread/ERROR]: #!#! End of Error.
[22:00:36] [server thread/ERROR]: #!#!

6 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Ouais sauf que si c'est pas un joueur, je peux pas faire grand chose. Et puis ca ne marche pas

 

EDIT: C'est bon j'ai réussi avec une autre version de citizens. Mais est-ce que tu sais comment supprimer un citizen nommé ?

  • 0
Posté(e)

bah déjà, tu as une erreur :

 

"NullPointerException"

 

Donc ton SkRayFall bug

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