NoCheat

Thank You!
Thanks to everyone who used and liked this plugin. I've set the plugin to "abandoned" status myself (that's why there is a red box above this text), because it describes best the current status of this plugin. Thanks to everyone that supported me during the year of development, with money, bug reports or simply kind words.
What now?
NoCheat 3.5.0 no longer works with recent CraftBukkit build and you will no longer get any updates or support from me anymore.
If you want to see the original version of this description page for this plugin, you can find a copy of it here: Original plugin description
Replacements for NoCheat
Check out these plugins.
NoCheat+
It is based on NoCheat's code and is therefore similar in how it works. But it also adds a ton of new features. You can find it HERE.
NoCheat Classic
It is the original NoCheat without any modifications beyond what is necessary to make it work on modern CraftBukkit versions. If you like NoCheat exactly the way it is, this may be what you are looking for. You can find it HERE.
AntiCheat
Is a new plugin that's built from scratch. That means it will behave and feel different to NoCheat. I'm sure the developer appreciates new users and bug reports. Get it HERE.
Make your own
Don't like the presented alternatives? You may just create your own plugin instead. The source code for NoCheat is HERE.
-
View User Profile
-
Send Message
Posted Nov 10, 2011@Zidkon
No, it doesn't. I wanted to implement that, but then I read that Notch wants to increase the attack distance in Minecraft 1.0 (which will probably be released in a week), so I won't bother doing that now and wait what Notch/Mojang does.
-
View User Profile
-
Send Message
Posted Nov 10, 2011Do NoCheat supports changing the attacks from a certain distance and attacking more than X times in less than Y milliesc?
There is a Client for Minecraft that actually allows user to hit the enemy like from 6 blocks away or more, so the enemy cannot answer the attack like that.
-
View User Profile
-
Send Message
Posted Nov 9, 2011@darkcloud784
Can you give an example of such a skill that won't work? That plugin has many dozens of those things. I already made NoCheat compatible with the "quicken" skill (I believe it's called like that) of the latest Heroes plugin version. So updating your version of Heroes and NoCheat may fix that, if that's your problem.
-
View User Profile
-
Send Message
Posted Nov 9, 2011Anyway you can add in heroes support. Some of the heroes skills cant be used because nocheat either kicks them or just doesnt do the action.
-
View User Profile
-
Send Message
Posted Nov 9, 2011@Evenprime85
Yes, config.txt. I will review errors and such and get back to you. sorry - wife just had a baby and been busy heh.
-
View User Profile
-
Send Message
Posted Nov 9, 2011@Schlumpf9
I've updated my warning about PermissionsEx in the text above and the "Permissions" section.
-
View User Profile
-
Send Message
Posted Nov 9, 2011Hi, now you can support PEX again, he rewrote the whole SuperPermsBridge and now he think all will work from now on again! PEX
-
View User Profile
-
Send Message
Posted Nov 9, 2011@qazzi
And do you get any error messages? You are editing the "config.txt", right?
-
View User Profile
-
Send Message
Posted Nov 8, 2011@Evenprime85
notepad++
-
View User Profile
-
Send Message
Posted Nov 8, 2011I've been rewriting big parts of NoCheat (again) to reduce the work I'll have to do in future. Those changes need testing, therefore it'll take some time for me to get out a new version of NoCheat. You'll probably have to wait for a 1.9 compatible version until bukkit "officially" releases an RB for that.
-
View User Profile
-
Send Message
Posted Nov 8, 2011@EVIL0033
If you can tell me what the ".lag" command does, I can tell you if I can fix it. Alternatively, send me a download link to the client via PM and I'll take a look myself.
@efstajas
"derp.derp.*" isn't part of the superperms specification (intentionally), that's what parent-child relations are for, which are also much more flexible than "derp.derp.*" - but anyway, I'm not satisfied with the "fixed" version of PermissionsEx. Here is why:
I wrote today a small plugin that tests the performance of "SuperPerms" permissions plugins by doing lots of "player.hasPermission(...)" in a controlled environment with various patterns of assigned and unassigned permission nodes. It will then tell you how long (on average) the lookup of a permission took. Here are the results for
PermissionsEx 1.15:
layer11: 346 ns layer21: 363 ns layer31: 341 ns layer41: 355 ns
layer12: 148 ns layer22: 152 ns layer32: 151 ns layer42: 152 ns
layer13: 147 ns layer23: 150 ns layer33: 153 ns layer43: 149 ns
layer14: 359 ns layer24: 149 ns layer34: 152 ns layer44: 152 ns
layer15: 348 ns layer25: 346 ns layer35: 146 ns layer45: 151 ns
layer16: 349 ns layer26: 349 ns layer36: 343 ns layer46: 151 ns
undefi1: 148 ns undefi2: 152 ns
Time for random tests: 255 ns.
PermissionsEx 1.16
layer11: 853 ns layer21: 1923 ns layer31: 2746 ns layer41: 3669 ns
layer12: 463 ns layer22: 454 ns layer32: 454 ns layer42: 472 ns
layer13: 473 ns layer23: 1095 ns layer33: 1646 ns layer43: 2257 ns
layer14: 855 ns layer24: 456 ns layer34: 1058 ns layer44: 1631 ns
layer15: 844 ns layer25: 1813 ns layer35: 473 ns layer45: 1069 ns
layer16: 845 ns layer26: 1800 ns layer36: 2698 ns layer46: 462 ns
undefi1: 501 ns undefi2: 667 ns
Time for random tests: 1246 ns.
As you can see, the new version is about 5 times slower than the old version, for some permission nodes (e.g "layer41") more than 10 times slower. PermissionsEx butchers the SuperPerms system with its new version, which will result in less performance of all plugins that do frequent "player.hasPermission(...)" calls.
@qazzi
Do you get any error messages on the console? What program do you use to edit the config files?
-
View User Profile
-
Send Message
Posted Nov 7, 2011Every time I save the nocheat config it reverts. I cant remember why it does this or what to do... sorry
-
View User Profile
-
Send Message
Posted Nov 7, 2011Since PermissionsEx guys fixed you're complaints (didn't understand them really, though, why not just use derp.derp.*? :D) you may want to think about correcting your op. ;)
-
View User Profile
-
Send Message
Posted Nov 7, 2011@Evenprime85
Thanks for taking the time to answer.
I assumed that spout clients authentication packets system was reasonably complex and that it would be a fair job to 'crack' and implement into a normal minecraft mod. Maybe we can get @Afforess to discuss how likely that is to happen.
Speaking of the seperate plugin then, other than getting a buffered reader on the cheatlogs is there any way of 'hooking in' for the cheat events so I can perform an action on them? I have no problem writing the plugin if I can figure out how to act upon a nocheat message.
I don't see it as a full time alternative to banning for the reasons you suggest, however unlikely. But while a server is absent of moderators. Forcing a player to use spout once they receive a cheat warning until a moderator comes online is a good solution for my current setup.
Lets carry on this conversation via pm and I'll work towards creating this plugin I mention.
Thanks.
-
View User Profile
-
Send Message
Posted Nov 6, 2011Could you tell me is there any ways to stop the lag hack on the server,plz....because yesterday i just tried a new released hacked client on my server, it got lag hack and it has been worked successfully on my server.and the server become lagg. thx.....
-
View User Profile
-
Send Message
Posted Nov 6, 2011@deleted_6835265
It has always been like that. There is no way to differentiate between real sneaking and what "HeroSneak" does. You can mitigate that problem by setting "moving.runfly.checksneaking = false" in the config.txt of NoCheat.
@pynn100
It does not support Permission 2/3. Only plugins that support "SuperPerms" will work with NoCheat. By default NoCheat will fall back to "OP has permission, normal player doesn't" logic.
@Bikkel007
Same as above. If you use Permissions 2/3, those are not supported and have been dead for months now. They are no longer developed any further and you should think about switching to one of the more active plugins like bPermissions, Essentials GroupManager, PermissionsBukkit or PermissionsEx.
@don4of4
It counts time and number of events starting from the last time you did "/reload" (or restarted the server). "total" is (roughly) the time beginning from when NoCheat gets the event handed over from CraftBukkit to the time when it gives it back. "relative" is that time divided by the number of "events" that were counted that way, so ultimately total = relative * events. "Total time spent" is just the sum of all these numbers.
People have strange ideas of how long it takes to handle e.g. a playerMove event and fear that NoCheat may eat away all of their servers resources by doing lots of calculations for each event (20 events per player per second is a lot).
I will probably at some point add an additional information about how long the measuring has been going on, to give the "total" times a bit more meaning, maybe make it a "x % of your processors time" or similar.
PS: Measurement is done by calling "System.nanoTime()" twice, at the beginning and the end of each event and calculating the difference.
-
View User Profile
-
Send Message
Posted Nov 6, 2011Could you explain the /nocheat performance command? What is the sample size?
I get this:
-
View User Profile
-
Send Message
Posted Nov 6, 2011Hi evenprimte, I used your plugin with Groupmananger with no problems. Yesterday I switched to Permissions. Since yesterday only OP's can fly in my server. This is my groups.yml: Click here
I use: Permissions, Essentials, Worldguard, Iconomy and Nocheat (I use more, but I think they will never interfere with permissions.
I'm new in Permissions, so if you see a fault plz report! {Btw, my FD.admin and shankshock.* aren't working? Maybe a fault in my permission list?)
Regards,
Bikkel007
-
View User Profile
-
Send Message
Posted Nov 5, 2011Hey love the plugin :) Does it work with the original permissions 3?
Thanks
-
View User Profile
-
Send Message
Posted Nov 3, 2011It seems like a recent change, between 2.14 and 2.15, has altered sneak hack detection method. This has broken HeroSneak as it teleports you back every time you try to sneak with HeroSneak's /sneak.
Is there any way to differentiate from server side sneaking via plugins and hack clients?