Closed virtualWinter closed 2 years ago
Hey, thanks for your Bug-report! I do now work on it.
Good news. I was able to reproduce the error and was to fix it.
What caused the error? The plugin tried to load a class in PluginLib that did not exist in the latest public available PluginLib version.
How to fix the issue: Download newest version of LobbyNPCs and more important PluginLib.
Please let me know if this worked for you !
It worked! Also thanks for the fast response.
Edit
Console log: [22:37:42 INFO]: vWinter issued server command: /pluginlibchoice yes [22:40:16 INFO]: vWinter issued server command: /lobbynpc [22:40:20 INFO]: vWinter issued server command: /lobbynpc help [22:40:30 INFO]: vWinter issued server command: /lobbynpc create [22:40:37 INFO]: vWinter issued server command: /pluginlibchoice yes [22:40:54 INFO]: vWinter issued server command: /pluginlibchoice yes [22:41:07 INFO]: vWinter issued server command: /pluginlibchoice no [22:41:37 INFO]: vWinter issued server command: /pluginlibchoice yes [22:41:42 INFO]: vWinter issued server command: /pluginlibchoice no [22:41:45 INFO]: vWinter issued server command: /pluginlibchoice no [22:41:48 INFO]: vWinter issued server command: /pluginlibchoice no
22:41:48 WARN: at de.raffi.pluginlib.utils.UUIDFetcher.getUUIDAt(UUIDFetcher.java:88)
22:41:48 WARN: at de.raffi.pluginlib.utils.UUIDFetcher.getUUID(UUIDFetcher.java:54)
22:41:48 WARN: at de.raffi.pluginlib.npc.NPC.
[22:41:49 INFO]: vWinter lost connection: Internal Exception: java.io.IOException: Error while read(...): Connection reset by peer
Hey, unfortuneatly i was not able to reproduce this error yet. I need more information.
Thanks!
Npc name: &bPractice The player i tried to load skin: vWinter No it didnt.
Hey, i was able to identify the error. Why does it happen? When you click on [Yes] by "Fetch the UUID of ..." The plugin requests the UUID of the Player you entered befor. After that it spawns a player with exactly that UUID. But because you entered your name, the plugin tries to spawn a player that already exist (you). Minecraft does not allow to spawn the same player twice. You can avoid that problem by clicking on [No] when you are asked if you want to fetch the UUID. This should not influence how the NPC looks.
I did that but the npc is missing the second skin layer
Unfortunatly the plugin is not able to show the second skin layer at the moment
Well thanks for the fast support <3
I thank you for your using my plugin and reporting the bugs!
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Idk, to work?
Console log
[19:32:00 ERROR]: Could not load 'plugins/LobbyNPCs.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: de/raffi/pluginlib/utils/UpdateCallback at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[server.jar:git-PaperSpigot-"d6c3d19"] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:331) ~[server.jar:git-PaperSpigot-"d6c3d19"] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:254) ~[server.jar:git-PaperSpigot-"d6c3d19"] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:293) ~[server.jar:git-PaperSpigot-"d6c3d19"] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:190) ~[server.jar:git-PaperSpigot-"d6c3d19"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:528) ~[server.jar:git-PaperSpigot-"d6c3d19"] at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_312] Caused by: java.lang.NoClassDefFoundError: de/raffi/pluginlib/utils/UpdateCallback at java.lang.Class.forName0(Native Method) ~[?:1.8.0_312] at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_312] at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:65) ~[server.jar:git-PaperSpigot-"d6c3d19"]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[server.jar:git-PaperSpigot-"d6c3d19"]
... 6 more
Caused by: java.lang.ClassNotFoundException: de.raffi.pluginlib.utils.UpdateCallback
at java.net.URLClassLoader.findClass(URLClassLoader.java:387) ~[?:1.8.0_312]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[server.jar:git-PaperSpigot-"d6c3d19"]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[server.jar:git-PaperSpigot-"d6c3d19"]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_312]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_312]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_312]
at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_312]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:65) ~[server.jar:git-PaperSpigot-"d6c3d19"]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[server.jar:git-PaperSpigot-"d6c3d19"]
... 6 more
Please complete the following information or send the information displayed by typing /lobbynpc info:
Installed plugins A list of all plugins installed on the server. Plugins (9): AquaCore, LabyModAPI, FastAsyncWorldEdit, ViaVersion, Vault, ProtocolLib, ViaRewind, WorldEdit, PluginLib
Additional context Add any other context about the problem here.