iDisguise plugin wont load on my 1.12.2 magma server.

Discussion in 'Spigot Discussion' started by warwicc, Apr 4, 2020.

  1. This is the error thats showing up while i start the server and the iDisguise plugin doesnt load. I'm running 1.12.2 magma server with some mods and some plugins. This plugin used to work the first time i put it in the plugins folder, but at the next restart of the server it stopped working. Anything i can do?

    [23:54:57] [Server thread/ERROR] [Minecraft]: Could not load 'plugins\iDisguise.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.IllegalStateException: JavaPlugin requires org.bukkit.plugin.java.PluginClassLoader
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[JavaPluginLoader.class:81086e0]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[SimplePluginManager.class:81086e0]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:250) [SimplePluginManager.class:81086e0]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:322) [CraftServer.class:81086e0]
    at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:401) [MinecraftServer.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:316) [nz.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:672) [MinecraftServer.class:?]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
    Caused by: java.lang.IllegalStateException: JavaPlugin requires org.bukkit.plugin.java.PluginClassLoader
    at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:42) ~[JavaPlugin.class:81086e0]
    at de.robingrether.idisguise.iDisguise.<init>(iDisguise.java:69) ~[iDisguise.class:?]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_241]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_241]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_241]
    at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_241]
    at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_241]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:84) ~[PluginClassLoader.class:81086e0]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:123) ~[JavaPluginLoader.class:81086e0]
    ... 7 more
    [23:54:57] [Server thread/ERROR] [Minecraft]: Could not load 'plugins\MobDisguise.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: net/minecraft/server/Packet
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) ~[JavaPluginLoader.class:81086e0]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[SimplePluginManager.class:81086e0]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:250) [SimplePluginManager.class:81086e0]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:322) [CraftServer.class:81086e0]
    at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:401) [MinecraftServer.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:316) [nz.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:672) [MinecraftServer.class:?]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
    Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/Packet
    at me.desmin88.mobdisguise.MobDisguise.<clinit>(MobDisguise.java:37) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_241]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_241]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:72) ~[PluginClassLoader.class:81086e0]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:123) ~[JavaPluginLoader.class:81086e0]
    ... 7 more
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.Packet
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:125) ~[PluginClassLoader.class:81086e0]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:94) ~[PluginClassLoader.class:81086e0]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_241]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_241]
    at me.desmin88.mobdisguise.MobDisguise.<clinit>(MobDisguise.java:37) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_241]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_241]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:72) ~[PluginClassLoader.class:81086e0]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:123) ~[JavaPluginLoader.class:81086e0]
    ... 7 more
     
  2. oh also, i tried mobdisguise and didnt work, same problem
     
  3. Modded servers and spigot plugins do not go together. Spigot does not support this.
     
  4. It used to work the first time i put it in the server, when i restarted the server, it stopped working, im using a magma server with spigot plugins
     
  5. but why wont it load? if it used to do, why it doesnt wotk anymore?
     
  6. Here's a list with my plugins, 1.12.2 magma server
     

    Attached Files:

  7. btw i'm totally new on this type of server making
     
  8. Nevermind, i solved it, it was the idisguise plugin being in the mods folder instead of the plugins folder, it was causing conflict.