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 Apr 26, 2014@Gr0up115
Yea, giving support for non vanilla effect levels is kinda hard because the player movement gets quite messed up at those effect levels.
-
View User Profile
-
Send Message
Posted Apr 26, 2014@asofold
Turns out it also doesn't let players jump with jump boost 10 and above.
-
View User Profile
-
Send Message
Posted Apr 26, 2014@asofold
Setting player passenger of a sheep does'nt throw any vehicle event, so I'm bypassing ncp with permissions.
Player.getVehicle return true, but not sure isInsideVehicle return true... if I try i'll give you the answer
Ahem.. and now i'm bypassing the survvialCheck, NCP throw a creatyfly violation... but the player is in survival mode, how it can be ?
Edit, i'm using enforcelocation = true
-
View User Profile
-
Send Message
Posted Apr 26, 2014Thank you for 3.10.10-BETA.
-
View User Profile
-
Send Message
Posted Apr 26, 2014@likaos
I am not sure why survivalfly kicks in, could be in relation to the "enforcelocation" feature, but could also be due to not firing any events, though NCP does have something built in to detect missing vehicle enter/exit events.
We do need isInsideVehicle.
@Puremin0rez
It's been reported: Ticket 739
Easiest way around it is to turn off noswing - not sure what we will do about it, probably wait for CraftBukkit fix (hehe), or add an exclusion list for material.
-
View User Profile
-
Send Message
Posted Apr 25, 2014Flint and Steel is not working properly on 3.10.11-SNAPSHOT. Simply doesn't let the fire light and cancels Block Place Event. Must be a recent issue cause I updated from about a month old build today and now this is happening. I've reset my configs etc and no change.
Edit: Started up a test server running ONLY NCP and the issue remains. So definitely an issue. NCP isn't logging any violations however.
Edit Edit: It's the noswing check causing this problem.
-
View User Profile
-
Send Message
Posted Apr 25, 2014@asofold That's not really easy to use, the horse is the only one who's calling a vehicle enter/exit, implements or extending for the others is painfull.
For the moment i'll use the player.addattachment to bypass the survival check while the player is on, work fine I'm using it with my RPG classes plugin ;)
Thanks.
-
View User Profile
-
Send Message
Posted Apr 25, 2014@asofold
I fixed it.
When i updated last version i didnt reload config did that and it works.
Thanks for your help.
-
View User Profile
-
Send Message
Posted Apr 25, 2014@likaos
I strongly recommend to have the enter+exit events, though i am not entirely sure what happens with a horses death in terms of vehicle-destroy events.
The call player.isInsideVehicle() is also important, but i assume the default implementation works fine.
@MasterMithrandir
It's the wrongblock check doing that. But it really depends on what version of NCP you are using, as there has been a bug in a past version.
Very high jump effects are a known issue, if you can be more specific on what situations/effect-level...
Ordinary knockback from fighting? Or with plugins interfering?
-
View User Profile
-
Send Message
Posted Apr 25, 2014Could some one suggest me some configurations in order to solve ''Block Breaking Out of sync'' message + issues with fast mining at high levels of efficiency?
I also have problems with some high level effects being added to players, like high jump boosts... I'm even having problems with knockback! Players get knocked back and return inmediatley due to plugin interpreting it as a hack.
Thanks!
-
View User Profile
-
Send Message
Posted Apr 25, 2014@asofold
Thanks for the help, I'll keep an eye out.
-
View User Profile
-
Send Message
Posted Apr 25, 2014@asofold
From players, I could test in 2Hours, its while flying Living entities, Sheep, I'm using custom mount in Hub too, spider crawl on wall, chicken can fly a little bit.
They extends the original entity but does not fire vehicule event, that could solve if I implements Vehicule ?
Just:Tried it's while flying.
-
View User Profile
-
Send Message
Posted Apr 25, 2014@likaos
Questions...
@appletechandhelp
Looks like the configuration is faulty - you should always enclose "complicated" entries with quotes, e.g. "..." or '...' - if you use the same kind of quotes inside you have to mask those, e.g.: 'You got ''quoted''!'
Never ignore those errors on the console!
-
View User Profile
-
Send Message
Posted Apr 25, 2014Hey,
I've made a mini-game where you can throw entity and mount it while flying, with the recommanded build NPC does not increase the VL, but with the last build players get kicked for survivalFly.
NCP check the fly from mounted player or its me ? A way to disable the fly check if player is mounting ?
Thanks
-
View User Profile
-
Send Message
Posted Apr 25, 2014@asofold
Here you go http://pastebin.com/44V6pnMT
-
View User Profile
-
Send Message
Posted Apr 25, 2014@appletechandhelp
Can you copy and paste it from the client log file (.minecraft) - or do it from the console or copy full width :)... we need the full output (width and height).
It looks like you have the MCAccess/Bukkit module loaded, i.e. NCP does not have native access to your server - in that case the command protection would not work for Bukkit commands. So either wait more for the next release, or get it from our jenkins (unapproved by Bukkit staff, though).
@Gr0up115
Apparently NCP is assuming cheating there, not sure why - it would help if the plugin was open source, to judge it better, otherwise we will need to get the plugin developer involved. I will have a look, however UUID changes have higher priority at present (mostly busies me due to other plugins than NCP) also fixes and the planned development schedule will be slightly higher in priority, so no big promises on sponges, but let's see what we find on the causes with checking code first.
-
View User Profile
-
Send Message
Posted Apr 24, 2014@asofold
Yeah that's the plugin. Nope, when I installed NoCheat+ when normal users step on the sponges they get taken back to the ground and Admins get a message.
I'm guessing NoCheat+ think players are trying to fly hack.
-
View User Profile
-
Send Message
Posted Apr 24, 2014@asofold
I updated spigot to latest version.
-
View User Profile
-
Send Message
Posted Apr 24, 2014@Gr0up115
Have they ever not been broken with NCP on?
This plugin? http://dev.bukkit.org/bukkit-plugins/spongejump/
-
View User Profile
-
Send Message
Posted Apr 24, 2014@appletechandhelp
Not sure - what's the output of the "ncp version" command? Did you just update any plugins/server?