Just know that using a plugin way to outdated for the hacking scene is a way to tell the world:
"Here's my server, come hack it".
This plugin lacks features such as anti-nuker, and the flight check is way too outdated.
Being a client and plugin developer, and interacting with the NoCheatPlus team alot, I can tell you hands down that this plugin will do absolutely nothing interms of modern-day bypasses and exploits. Also being a good server admin will mean you will take the time to read and understand the documentation the nocheatplus team put forth. In my opinion, the config is pretty self-explanatory, but thats just me.
Also, regarding the main post:
If you have the error "[SEVERE] Could not load 'plugins\NoCheatClassic.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: cc/co/evenprime/bukkit/nocheat/NoCheat : Unsupported major.minor version 51.0":
Download JRE7 -> http://www.oracle.com/technetwork/java/javase/downloads/index.html
Go into your server's run.bat file, and change ""%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar" to " "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar" - Everything will work just fine after that.
Remember, not everyone has root access to their servers, and depend on the Java version provided and the one on which the control panel runs on. Not all servers are windows servers, and not all hosts allow changing of the startup scripts. Compiling with Java6 and using compliant methods would be better.
EDIT: I see on of your updates did this.
If you have the error: " java.lang.NullPointerException at cc.co.evenprime.bukkit.nocheat.config.NoCheatConfiguration.writeInstructions(NoCheatConfiguration.java:41) ":
Do not worry; nothing is wrong with it's performance.
That should be relatively easy to fix, if not, you could atleast handle the exception, so that it is not displayed to end users, thus they can "ignore" it as you suggest.
I swapped to NCC here from NCP due to NCP having very strict default configs, difficult to actually do the "fine tuning" it boasts, being slow to fix their own bugs, and lastly for thinking my players were hacking through blocks and flying when they were trying to use a ladder. That isn't even taking their word for it, I did this myself on a normal account on my server, and was unable to climb a ladder due to NCP thinking I was hacking.
I'm not saying that no one should use NCP, because good for you if it works, but I've had few good experiences with it, and had to find a lot of solutions for numerous problems it was the cause of.
If NCC here isn't updated and won't update, then I personally will try all the alternatives before attempting NCP again.
Since I can't seem to open a support ticket, I'll just post here.
Whenever I get set on fire, by lava for instance, nocheat starts to spam the following error:
Followed by a server crash.
To keep the comments clean, please paste your errors at www.pastebin.com instead.
On that site, paste the errors on the chatbox then hit submit. You pasted error will be a new pastebin webpage like this: www.pastebin.com/dwm39g2. Simply copy that website link and paste that
Only problem now is that I can limit speed but when you set fly to false you can still fly. I am assuming the new versions of Zombe Mod are getting around this... =/
Oh, and if this helps you while updating the .class files, here is the error I received:
18:39:21 [INFO] Starting minecraft server version 1.3.1
18:39:21 [INFO] Loading properties
18:39:21 [INFO] Default game type: SURVIVAL
18:39:21 [INFO] Generating keypair
18:39:22 [INFO] Starting Minecraft server on *:25565
18:39:22 [WARNING] SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
18:39:22 [WARNING] The server will make no attempt to authenticate usernames. Beware.
18:39:22 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
18:39:22 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
18:39:22 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R2.0-b2340jnks (MC: 1.3.1) (Implementing API version 1.3.1-R2.0)
18:39:22 [INFO] While loading MultiWorld (plugins/multiworld.jar) found old-data folder: plugins/multiworld next to the new one: plugins/MultiWorld
18:39:22 [SEVERE] Could not load 'plugins/NoCheatClassic.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: cc/co/evenprime/bukkit/nocheat/NoCheat : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:155)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222)
at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198)
at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50)
at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.UnsupportedClassVersionError: cc/co/evenprime/bukkit/nocheat/NoCheat : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144)
... 9 more
...then the server runs everything else just fine. Thank you!
I'm receiving some errors and the .jar won't load up the folder. Therefore the plugin isn't installing right. Could you please update to the newest CraftBukkit build?
I wish the original author can put these files in the original page. I got confused as to whether this was an old version of NoCheat when in reality it is the same thing...
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Just uploaded v3.6.4, awaiting aproval; now compatible with 1.4.6.
Please use the new 1.4.5 R0.3 API to fix this plugin.
@MufinMcFlufin
Just know that using a plugin way to outdated for the hacking scene is a way to tell the world: "Here's my server, come hack it".
This plugin lacks features such as anti-nuker, and the flight check is way too outdated. Being a client and plugin developer, and interacting with the NoCheatPlus team alot, I can tell you hands down that this plugin will do absolutely nothing interms of modern-day bypasses and exploits. Also being a good server admin will mean you will take the time to read and understand the documentation the nocheatplus team put forth. In my opinion, the config is pretty self-explanatory, but thats just me.
Also, regarding the main post:
If you have the error "[SEVERE] Could not load 'plugins\NoCheatClassic.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: cc/co/evenprime/bukkit/nocheat/NoCheat : Unsupported major.minor version 51.0": Download JRE7 -> http://www.oracle.com/technetwork/java/javase/downloads/index.html Go into your server's run.bat file, and change ""%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar" to " "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar" - Everything will work just fine after that.
Remember, not everyone has root access to their servers, and depend on the Java version provided and the one on which the control panel runs on. Not all servers are windows servers, and not all hosts allow changing of the startup scripts. Compiling with Java6 and using compliant methods would be better.
EDIT: I see on of your updates did this.
If you have the error: " java.lang.NullPointerException at cc.co.evenprime.bukkit.nocheat.config.NoCheatConfiguration.writeInstructions(NoCheatConfiguration.java:41) ": Do not worry; nothing is wrong with it's performance.
That should be relatively easy to fix, if not, you could atleast handle the exception, so that it is not displayed to end users, thus they can "ignore" it as you suggest.
That is all.
@Pichwise
I swapped to NCC here from NCP due to NCP having very strict default configs, difficult to actually do the "fine tuning" it boasts, being slow to fix their own bugs, and lastly for thinking my players were hacking through blocks and flying when they were trying to use a ladder. That isn't even taking their word for it, I did this myself on a normal account on my server, and was unable to climb a ladder due to NCP thinking I was hacking.
I'm not saying that no one should use NCP, because good for you if it works, but I've had few good experiences with it, and had to find a lot of solutions for numerous problems it was the cause of.
If NCC here isn't updated and won't update, then I personally will try all the alternatives before attempting NCP again.
For those who ask to get this plugin updated. Take a look here : http://dev.bukkit.org/server-mods/nocheatplus/
http://pastebin.com/K95AayYQ Please Update. I need this plugin as Addon.
Since I can't seem to open a support ticket, I'll just post here. Whenever I get set on fire, by lava for instance, nocheat starts to spam the following error: Followed by a server crash.
Link
Any help would be appreciated.
Spammed with these types of errors.
java.lang.NoClassDefFoundError: Could not initialize class cc.co.evenprime.bukkit.nocheat.checks.CheckUtil
@Jungalist81
Or Submit a ticket. EDIT: No tickets?!
Hello everyone,
To keep the comments clean, please paste your errors at www.pastebin.com instead. On that site, paste the errors on the chatbox then hit submit. You pasted error will be a new pastebin webpage like this: www.pastebin.com/dwm39g2. Simply copy that website link and paste that
Look at this:
<<code>>
>19:00:21 [SEVERE] Could not pass event PlayerMoveEvent to NoCheatorg.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:213)
at net.minecraft.server.Packet10Flying.handle(SourceFile:136)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
at net.minecraft.server.ServerConnection.b(SourceFile:35)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class cc.co.evenprime.bukkit.nocheat.checks.CheckUtil
at cc.co.evenprime.bukkit.nocheat.checks.moving.RunningCheck.check(RunningCheck.java:55)
at cc.co.evenprime.bukkit.nocheat.checks.moving.MovingCheckListener.move(MovingCheckListener.java:230)
at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
... 14 more
>19:00:21 [SEVERE] Could not pass event PlayerMoveEvent to NoCheat
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:213)
at net.minecraft.server.Packet10Flying.handle(SourceFile:136)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
at net.minecraft.server.ServerConnection.b(SourceFile:35)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class cc.co.evenprime.bukkit.nocheat.checks.CheckUtil
at cc.co.evenprime.bukkit.nocheat.checks.moving.RunningCheck.check(RunningCheck.java:55)
at cc.co.evenprime.bukkit.nocheat.checks.moving.MovingCheckListener.move(MovingCheckListener.java:230)
at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
... 14 more
>19:00:21 [SEVERE] Could not pass event PlayerMoveEvent to NoCheat
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:213)
at net.minecraft.server.Packet10Flying.handle(SourceFile:136)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
at net.minecraft.server.ServerConnection.b(SourceFile:35)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class cc.co.evenprime.bukkit.nocheat.checks.CheckUtil
at cc.co.evenprime.bukkit.nocheat.checks.moving.RunningCheck.check(RunningCheck.java:55)
at cc.co.evenprime.bukkit.nocheat.checks.moving.MovingCheckListener.move(MovingCheckListener.java:230)
at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
... 14 more
<</code>>
Could you update to the beta build?
@TheQuiGonJoe Your error is already accounted for at the top of this page. Update your JAVA as instructed.
On a different note, I am getting an odd error when initialising:
Any suggestions?
please add a check to make sure that it is a player in the fight check. otherwise it spams a lot.
Me too, it's not updated
Only problem now is that I can limit speed but when you set fly to false you can still fly. I am assuming the new versions of Zombe Mod are getting around this... =/
@TheQuiGonJoe
Oh, and if this helps you while updating the .class files, here is the error I received:
18:39:21 [INFO] Starting minecraft server version 1.3.1 18:39:21 [INFO] Loading properties 18:39:21 [INFO] Default game type: SURVIVAL 18:39:21 [INFO] Generating keypair 18:39:22 [INFO] Starting Minecraft server on *:25565 18:39:22 [WARNING] SERVER IS RUNNING IN OFFLINE/INSECURE MODE! 18:39:22 [WARNING] The server will make no attempt to authenticate usernames. Beware. 18:39:22 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose. 18:39:22 [WARNING] To change this, set "online-mode" to "true" in the server.properties file. 18:39:22 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R2.0-b2340jnks (MC: 1.3.1) (Implementing API version 1.3.1-R2.0) 18:39:22 [INFO] While loading MultiWorld (plugins/multiworld.jar) found old-data folder: plugins/multiworld next to the new one: plugins/MultiWorld 18:39:22 [SEVERE] Could not load 'plugins/NoCheatClassic.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: cc/co/evenprime/bukkit/nocheat/NoCheat : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:155) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.UnsupportedClassVersionError: cc/co/evenprime/bukkit/nocheat/NoCheat : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144) ... 9 more
...then the server runs everything else just fine. Thank you!
I'm receiving some errors and the .jar won't load up the folder. Therefore the plugin isn't installing right. Could you please update to the newest CraftBukkit build?
@Ichaelus
Same type of Error here =/
I wish the original author can put these files in the original page. I got confused as to whether this was an old version of NoCheat when in reality it is the same thing...