NoCheatPlus

Detect and fight the exploitation of various flaws/bugs in Minecraft!
Introduction
NoCheatPlus attempts to prevent cheat clients from exploiting weaknesses of Minecraft or its protocol, making your server more safe. Checks cover a wide range of issues including flying and speeding, fighting hacks, fast block breaking and nukers, inventory hacks, chat spam and other types of malicious behaviour. For a more complete list have a look at the Features Page.
NoCheatPlus puts emphasis on configurability and allows you to customize actions that are carried out when a player fails a check (e.g. silent cancelling, executing commands, just logging). Bypass permissions allow to control what check to apply for which players, all checks can be deactivated in the configuration, also having the option for world-specific configuration files. Many checks allow more detailed configuration to adjust sensitivity.
Certainly NoCheatPlus is not a magical bullet, it uses a lot of heuristics and even guessing, so you will encounter false positives here and there and also not catch every single violation. Example video of how NoCheatPlus blocks cheats (outdated plugin version).
NoCheatPlus was introduced by NeatMonster, building on the code base of NoCheat by Evenprime.
Recommended
The following plugins might be useful to have a look at.
ProtocolLib
Allows NoCheatPlus to activate packet-level checks, covering a range of exploits that can't be monitored using ordinary means. Since roughly Minecraft 1.7.10, the fight.speed check can't work as expected anymore, due to changes in CraftBukkit. With ProtocolLib this can be repaired.
CompatNoCheatPlus (cncp)
Make plugins like mcMMO or MachinaCraft more compatbile with NoCheatPlus. Not all existing plugins are covered (yet), but you can leave a note or create an issue/ticket request for cncp. Phasing out: Citizens 2 should work with NCP out of the box, MagicSpells are working on compatibility too - rest will be integrated into NCP.
Orebfuscator
Orebfuscator fights all sorts of X-ray-hacks by altering the map information that is sent to the players, such that they have to mine blocks to actually reveal what is behind. Virtually a "must have". (Latest versions of Spigot contain features of Orebfuscator.)
Downloads and History of Changes
- Download officially approved versions on the Files page at BukkitDev.
- Development builds have been moved over to the Jenkins at md-5.net.
- Do not download from any other source, do not use jars other people send you.
- Change lists: Wiki (digest) | Jenkins (by build number) | GitHub (all commits).
- Source code
Plugin statistics are no longer reported to mcstats.org.
Support
Documentation Resources
- Consider first: Frequently asked Questions and Known Issues.
- Wiki (Configuration, Permissions, Commands)
- Developers might have a look at the page describing the API of NoCheatPlus.
Contact us
- Quick questions can be asked on this page,
or on IRC (Server: irc.spi.gt | Default-Port: 6667 | SSL-Port: 6697 | Channel: #nocheat | Web client: WebIRC) - For real issues or feature requests please create a new issue/ticket or add to an existing issue/ticket.
- To send information that is not to be seen by all, you can also reach us by PM to @asofold and @MyPictures. @IceAP (IRC: ICE) will also help or redirect the conversation. Please do not contact the user 'NoCheatPlus', it is for administrative purposes only and will likely not be answered in time. Keep to BukkitDev and GitHub for support, do not trust users on other forums or websites, also not if their nick names are the same as NCP staff on BukkitDev.
Please always state the output of the "ncp version" command to let us know versions in use (users of cncp also the "cncp" command).
-
View User Profile
-
Send Message
Posted May 15, 2012some player connect to my server can then my server will start laggin in 3000 - 10000- ms interivals is there any way you can block that???
can thay ping my server alot??? ... or some kind of hacked client???
or what
my specks should not allow my server to lag
8 core at 2.9 GHz and 8 gb of ram
100 mbs down and 5 mbs up
my plugins (little old not much) http://administrator1.site.nfoservers.com/cody/my_shit/plugins.zip
-
View User Profile
-
Send Message
Posted May 15, 2012@darkcloud784
For such as extended chat analysis or File-IO, this could be an option, on everything else this is likely to become a failure for the mass of users, because the main thread has to wait for the thread to be finished and ... this will likely take more time than processing it in the main thread, for the most cases.
For intense checks you can of course try to start checks in an extra thread on lowest priority and wait for the result on highest, but for many checks this will just add to the processing time for the synchronization and for most servers that dont have that many cores available (e.g. hosted servers, mere 4-core servers) it will just horrify processing time.
It is tempting and i would certainly not call it nonesense, but i doubt that the gain is big enough to spend time on it right now - optimization of the player move and some other checks will likely give much better results much faster.
-
View User Profile
-
Send Message
Posted May 15, 2012@asofold
You can set event checks to new threads, we do that all the time with our chat plugins. I'm sure the author is aware of how to do this, or at least I hope he is =X
Each check would have to be put in its own thread or for that matter each check with its respectable cancel check.
-
View User Profile
-
Send Message
Posted May 15, 2012@Xerati
I would love to have that "if possible", just i believe it is not possible.
The checks are all event based and can hardly be postponed to be done concurrently especially if you want to be able to cancel events.
So what could be done differently would be the logging (asynchronous) and maybe messaging (delayed, digested ?, ...).
-
View User Profile
-
Send Message
Posted May 15, 2012@NeatMonster
I have a decent server (and multiple now). I would LOVE to work with you regarding making the best anti-cheat. I have 2 dedicated servers, and one shared server. I'll send you a PM
-
View User Profile
-
Send Message
Posted May 15, 2012@asofold
In terms of multithreading, it would at least help performance if NoCheatPlus itself had it's on separate thread from the main server, if that's possible. Right now, both NoCheatPlus and the server are in the same thread which means hogging 1 processor, leaving 7 (in my case) untouched...
-
View User Profile
-
Send Message
Posted May 15, 2012add this feature please
http://dev.bukkit.org/server-mods/noreconnectspam/
-
View User Profile
-
Send Message
Posted May 15, 2012Suggestion: Add "cancel" options for NoPwnage and make kicks/bans optional. Eg it will make all pwnage spam silent if the player fails eventual checks.
-
View User Profile
-
Send Message
Posted May 14, 2012your no pawnage doesent work for cracked servers or offline mode server ...... try using there ip or adding an option that if this many people use this ip in this amount of time to ban them
-
View User Profile
-
Send Message
Posted May 14, 2012Ahh, i found the problem. I shut relog to false.
relog: active: false
All lag when away when doing this.
-
View User Profile
-
Send Message
Posted May 14, 2012This still seems like it's not logging correctly. I'm getting more lag then what i had :(
-
View User Profile
-
Send Message
Posted May 14, 2012Could you please make allowclientmods separate for ops and players? Admins need a broom to fly on, but it's great having a scary message "this mod is not allowed here!" for cheaters.
-
View User Profile
-
Send Message
Posted May 14, 2012@asofold
I like that idea too, but at least basic command tracking is essential. For now he could add it to track it just as chat would be tracked.
-
View User Profile
-
Send Message
Posted May 14, 2012@deleted_8156133
maybe with a weight configurable for individual commands :P
-
View User Profile
-
Send Message
Posted May 14, 2012WHY does this not track commands, someone could crash your server like this?!
Please add command tracking under the SAME way chat is tracked..!?
-
View User Profile
-
Send Message
Posted May 14, 2012Thank you for making this plugin. =)
-
View User Profile
-
Send Message
Posted May 14, 2012Heya just updated ;) after the update my server RANDOMLY completly stops working ;) hehe no message or what so ever, just BAM: java stops. ;)
And craftbukkit.jar stops ;) Any idea what is going on??
Greetings :)
(YEs its only after I updated to the latest version)
-
View User Profile
-
Send Message
Posted May 14, 2012@StuckingFoned
Could you post a list of your plugins and what version of craftbukkit you are using
-
View User Profile
-
Send Message
Posted May 14, 2012@NeatMonster
Wait, do you mean I need to donate again? Did my donation get refused i did earlier?
-
View User Profile
-
Send Message
Posted May 14, 2012I'm too tired to reply to all your messages tonight, sorry. (Will do it tomorrow.) But I've released a new version containing some new features (angles checking against forcefield, a check to prevent PurePvP client's fly mod, etc.) and some various bug fixes.
Just a quick word about the donations: I've refused all the donations I've received because I've changed my PayPal email address. So if my previous donors are still willing to donate to this project, this can use the Donate button of this page. Donations are only accepted at the time they're used to buy something for NoCheat+ development. By the way, I would like to buy a server to host a test Minecraft server (my PC is really laggy when I run my test server on it), a Jenkins to automate the builds and their deployment and of course an Apache server to host the future web interface.