Error occurred while enabling McnoCore v0.0.1-SNAPSHOT (Is it up to date?)

Hello! A friend of mine made a plugin for a server, and it works on Paper 1.16.2. We really want to have the server on the latest version (1.16.4) but then we get this error message. I think i need to update the plugin, but i don’t know how to do that, and my friend that made the plugin don’t have time.
I would really like to know how to fix this problem, and if you could help me, you could contact me on my discord: magpet15#6450 :slight_smile:

[20:59:56 INFO]: Loading System…
[20:59:56 ERROR]: Error occurred while enabling McnoCore v0.0.1-SNAPSHOT (Is it up to date?)
java.lang.NoClassDefFoundError: net/minecraft/server/v1_16_R2/MinecraftServer
at no.mcno.core.Mcno.onEnable(Mcno.java:166) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.4.jar:git-Paper-323]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.4.jar:git-Paper-323]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.4.jar:git-Paper-323]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.4.jar:git-Paper-323]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.4.jar:git-Paper-323]
at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:469) ~[patched_1.16.4.jar:git-Paper-323]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:239) ~[patched_1.16.4.jar:git-Paper-323]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:936) ~[patched_1.16.4.jar:git-Paper-323] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:178) ~[patched_1.16.4.jar:git-Paper-323]
at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_16_R2.MinecraftServer
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:116) ~[patched_1.16.4.jar:git-Paper-323]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:111) ~[patched_1.16.4.jar:git-Paper-323]
at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
… 11 more

The plugin is using internal server code, you’ll need to speak to the plugin author to fix it, or, update the nms code yourself if it’s something you have the source for

I have the source code, but how do i update the nms code? I had another friend try to fix it, but i still got a error (it was another error).

target the latest version of paper, fix the errors, 1.16.4 is R3, not R2

I am sorry to say this, but how much would someone charge for this? :sweat_smile: My organisation fixed most of the server and MySQL problems, but no one can code java :sweat_smile: