HaX1oR 76 Opublikowano 20 marca 2016 Udostępnij Opublikowano 20 marca 2016 Hi! Mam problem dotyczący wiadomości json. gdy napisze taki kod: command /wiadomosci: trigger: send json "123" to player send json "123" tooltip "123" to player I przeładowuję skrypt wtedy a nastepnie wpisze ./wiadomości to... [10:09:44] [Server thread/INFO]: CloverSO: /wiadomosci [10:09:44] [Server thread/ERROR]: #!#! [10:09:44] [Server thread/ERROR]: #!#! [Skript] Severe Error: [10:09:44] [Server thread/ERROR]: #!#! [10:09:44] [Server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong. [10:09:44] [Server thread/ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/ [10:09:44] [Server thread/ERROR]: #!#! and check whether this error has already been reported. [10:09:44] [Server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it, [10:09:44] [Server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error. [10:09:44] [Server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well. [10:09:44] [Server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast. [10:09:44] [Server thread/ERROR]: #!#! [10:09:44] [Server thread/ERROR]: #!#! Stack trace: [10:09:44] [Server thread/ERROR]: #!#! java.lang.RuntimeException: java.lang.ClassNotFoundException: net.minecraft.server.v1_8_R3.ChatSerializer [10:09:44] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.util.Reflection.nmsClass(Reflection.java:35) [10:09:44] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.util.minecraft.JSONMessage.<init>(JSONMessage.java:20) [10:09:44] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprJsonMessage.convert(ExprJsonMessage.java:18) [10:09:44] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprJsonMessage.convert(ExprJsonMessage.java:8) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.registrations.Converters.convert(Converters.java:302) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.registrations.Converters.convertUnsafe(Converters.java:294) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:105) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.expressions.base.SimplePropertyExpression.get(SimplePropertyExpression.java:56) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:76) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:101) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getSingle(SimpleExpression.java:61) [10:09:44] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.elements.effects.EffSendJson.execute(EffSendJson.java:21) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:50) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:220) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:1) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.util.Task.callSync(Task.java:139) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:193) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:260) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:155) [10:09:44] [Server thread/ERROR]: #!#! at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [10:09:44] [Server thread/ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [10:09:44] [Server thread/ERROR]: #!#! at java.lang.reflect.Method.invoke(Method.java:606) [10:09:44] [Server thread/ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [10:09:44] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [10:09:44] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [10:09:44] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1154) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [10:09:44] [Server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [10:09:44] [Server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(FutureTask.java:262) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [10:09:44] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Thread.java:745) [10:09:44] [Server thread/ERROR]: #!#! Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_8_R3.ChatSerializer [10:09:44] [Server thread/ERROR]: #!#! at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) [10:09:44] [Server thread/ERROR]: #!#! at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [10:09:44] [Server thread/ERROR]: #!#! at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [10:09:44] [Server thread/ERROR]: #!#! at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [10:09:44] [Server thread/ERROR]: #!#! at java.lang.Class.forName0(Native Method) [10:09:44] [Server thread/ERROR]: #!#! at java.lang.Class.forName(Class.java:195) [10:09:44] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.util.Reflection.nmsClass(Reflection.java:33) [10:09:44] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.util.minecraft.JSONMessage.<init>(JSONMessage.java:20) [10:09:44] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprJsonMessage.convert(ExprJsonMessage.java:18) [10:09:44] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.elements.expressions.ExprJsonMessage.convert(ExprJsonMessage.java:8) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.registrations.Converters.convert(Converters.java:302) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.registrations.Converters.convertUnsafe(Converters.java:294) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:105) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.expressions.base.SimplePropertyExpression.get(SimplePropertyExpression.java:56) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:76) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:101) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.getSingle(SimpleExpression.java:61) [10:09:44] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.elements.effects.EffSendJson.execute(EffSendJson.java:21) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:50) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:63) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:91) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:220) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand$1.call(ScriptCommand.java:1) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.util.Task.callSync(Task.java:139) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:193) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:260) [10:09:44] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:155) [10:09:44] [Server thread/ERROR]: #!#! at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [10:09:44] [Server thread/ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [10:09:44] [Server thread/ERROR]: #!#! at java.lang.reflect.Method.invoke(Method.java:606) [10:09:44] [Server thread/ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) [10:09:44] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [10:09:44] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [10:09:44] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1154) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [10:09:44] [Server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [10:09:44] [Server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(FutureTask.java:262) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [10:09:44] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [10:09:44] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Thread.java:745) [10:09:44] [Server thread/ERROR]: #!#! [10:09:44] [Server thread/ERROR]: #!#! Version Information: [10:09:44] [Server thread/ERROR]: #!#! Skript: 2.1.2 [10:09:44] [Server thread/ERROR]: #!#! Bukkit: 1.8.8-R0.1-SNAPSHOT [10:09:44] [Server thread/ERROR]: #!#! Minecraft: 1.8.8 [10:09:44] [Server thread/ERROR]: #!#! Java: 1.7.0_80 [10:09:44] [Server thread/ERROR]: #!#! [10:09:44] [Server thread/ERROR]: #!#! Running CraftBukkit: false [10:09:44] [Server thread/ERROR]: #!#! [10:09:44] [Server thread/ERROR]: #!#! Current node: null [10:09:44] [Server thread/ERROR]: #!#! Current item: json [10:09:44] [Server thread/ERROR]: #!#! [10:09:44] [Server thread/ERROR]: #!#! Thread: Server thread [10:09:44] [Server thread/ERROR]: #!#! [10:09:44] [Server thread/ERROR]: #!#! End of Error. [10:09:44] [Server thread/ERROR]: #!#! CloveR 1 Odnośnik do komentarza https://skript.pl/temat/11002-wiadomosci-json/ Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
HaX1oR 76
Hi!
Mam problem dotyczący wiadomości json. gdy napisze taki kod:
command /wiadomosci: trigger: send json "123" to player send json "123" tooltip "123" to playerI przeładowuję skrypt wtedy a nastepnie wpisze ./wiadomości to...
Odnośnik do komentarza
https://skript.pl/temat/11002-wiadomosci-json/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi