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 Sep 9, 2012I don't have mcMMO on my server.
If you want you can join etg.dyndns.org and test it yourself but it is possible that it is blocked for you.
Another question what does this mean:
2012-09-09 11:15:54 [INFO] NCP: Displaying xXGamesXx's violations...
2012-09-09 11:15:54 [INFO] NCP: [11:14:01] (checks.)DelayedActionsExecution VL 6467.0
-
View User Profile
-
Send Message
Posted Sep 9, 2012@MarioG1
At least it doesnt work always :p
Did you test with different tools in hand or mcMMO skill ? Or maybe a different version of NCP remote / local ?
-
View User Profile
-
Send Message
Posted Sep 9, 2012@asofold
Something strange happened now fastbreak/nuker is suddenly blocked i have't changed anything :).
EDIT:
Ok there is still an bug in the fastbreak sometimes it is blocked and sometimes not i tested it with the same tool and the same block to break.
-
View User Profile
-
Send Message
Posted Sep 9, 2012@Odiumxxx
Make a ticket please and state version and build numbers for craftbukkit and NoCheatPlus. Also state your configuraiton of NCP and if possible an error log from the server log or the moments before crash.
@MarioG1
And you did not have op or all permissions (have to ask that always)?
Can you show me ?
("lol", i am looking at my "fix" of block break, though it alerted after it it is just stunning)See now i am confused, it was a fix, good i took a break.-
View User Profile
-
Send Message
Posted Sep 9, 2012@asofold
I have tested if with default config and it works fine (fastbreak). I get no alerts for failing the fast break check.
I also want to use the beta build of 1.3.2 but factions is broken on 1.3.2 R 0.1 :(
-
View User Profile
-
Send Message
Posted Sep 9, 2012I love the configurable nature of this plugin, it is what makes it superior to anticheat, however using NCP causes massive memory leaks on my server, which eventually causes the server to run out of RAM and crash.
I've tested with/without different different plugins and seen the same results. :(
-
View User Profile
-
Send Message
Posted Sep 9, 2012@MarioG1
Does'nt NCP alert with default config? We tested it on 1.3.2 though...
-
View User Profile
-
Send Message
Posted Sep 9, 2012@FurmigaHumana
I have the same problem nuker and fasbreak are working!!
I tested it with dirt an an iron shovel.
NCP version : #77
Bukkit: 1.3.1 R2.0
-
View User Profile
-
Send Message
Posted Sep 9, 2012@FurmigaHumana
Which NCP version did you check with ?
Apart from the target block question (i have not had a look at that check yet), the nukers worked mostly due to a bug in the blockbreak speed check.
-
View User Profile
-
Send Message
Posted Sep 9, 2012@asofold
The "direction check" on block break seems not to be working, I made a quick fix in my custom build of nocheatplus using this:
http://pastebin.com/CzHA2f1y [take as pseudo code]
This is to block the "nuker" from nodus.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@fletch_to_99
Hum, yeah - sorry for that :) - less sleep, more mistakes...
The pulling down is still CraftBukkit, we don not have something built in for it yet.
It could well be that setting the speed + allowing flight would do it nicely.
I would also agree that building some command or way to set it into NCP would make sense.
Design-wise i am not sure how to do it in an acceptable way. Concerning setAllowFlight i could imagine adding config settings to automatically set and/or reset it, depending on the survivalfly permission, simply.
Could work for setting the speed as well.
Edit: The problem is that other plugins use setAllowFlight too for flying, and maybe want to control it, so NCP uses checking getAllowFlight to determine if the player might be allowed to fly - so now would NCP keep track of whom it allowed to fly previously, to be able to disallow it again if the permissions is gone (world changes, region specific permissions)? This makes it a bit problematic, but given a config flag to enable it might be acceptable.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@asofold
See my edits below concerning the flight issue. Same thing happens on b #77
Edit: Its also telling me my ncp config is outdated yet it was generatede using b#77
-
View User Profile
-
Send Message
Posted Sep 8, 2012@fletch_to_99
Yesterday? Which issue exactly - have you tested it with build 77 ?
There is a check included for self hitting, which might undo that exploit.
(I can't check it myself right now.)
-
View User Profile
-
Send Message
Posted Sep 8, 2012@asofold
Any eta on this flying issue also?
Edit: It may be bukkit: http://forums.bukkit.org/threads/bukkit-blocks-flymods.91715/
You may have to make some sort of hackey fix for this using reflection.
Edit 2: It appears that you can just do player.setAlowFlight(true) if the player is in survival. I guess this is some new security added to bukkit? Maybe to prevent client side flight?
-
View User Profile
-
Send Message
Posted Sep 8, 2012@fletch_to_99
Thank you so much for reporting!
Consider
Builds 73 to 76 broken!use 77 up.Build 77 combines serveral fixes after all.
Seems i deleted a line there.
I knew i hated sorting methods by name for some reason.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@asofold
Hey I was looking into the antispam features of nc+ today and I found out that ncp will spam the user. NCP: Chat can be annoying at times. This happened when I went ingame and spammed "test" using the up arrow key. Here are my configs: http://pastebin.com/gcrhnQ47
It spammed it a total of 3000 times before I shutdown the test server, it would have continued spamming. Forget to break a loop or something?
I should also note I'm still being "Pulled Down" when using survival fly and having true OP. Using build #76 and cb #2361
-
View User Profile
-
Send Message
Posted Sep 8, 2012@asofold
Consider
Builds 73 to 76 broken!use 77 up.-
View User Profile
-
Send Message
Posted Sep 8, 2012@mrchasez
Supposedly the last stitches: http://www.nocheatplus.org:8080/job/NoCheatPlus/
Will release a beta on bukkitdev these hours.
-
View User Profile
-
Send Message
Posted Sep 8, 2012When is a stable build coming?
-
View User Profile
-
Send Message
Posted Sep 8, 2012@asofold
ok i'll :)