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 Aug 8, 2013@asofold
I think one of the CraftBook developers requested a maven repo of NoCheatPlus so he could implement hooks in CraftBook to exempt from checks.
-
View User Profile
-
Send Message
Posted Aug 8, 2013@iiAtomiikzZ
Thanks for mentioning. The gate-thing is just a wall on server side, even if we monitored block breaking and redstone we would need extra events from CraftBook to even know something changed, so that would be future additions clearly. Recommendation should be to not close the gate too fast. However as i mentioned with latency, it could be Minecraft itself resetting, i had that a lot with a problematic connection (not lag).
It sounds like latency for most, because latency just means that the packets take time to arrive and get sent back/somewhere, especially in pvp everything you see from other players has gone the way from the other player to the server to you, until your "answer" arrives at the server a lot of time has passed even for somewhat decent connections, in addition your connection can be different to that of the other player of course. If packets are delayed or the connection just has a higher ping, then the other player might have moved on by a good bit, resulting in cancelling of hits. It need not be latency, if players run after each other they might just be out of hitting range on server side, but due to congestion/delay it appears that players halt a short while then run on - of course the player is not really stopping and then walking on, so hitting the player then will get a lot of cancelling potentially.
We could increase the allowed hitting-distance, resulting in auras getting very uncomfortable for static/slowly-changing situations (impossible to close in legit in worst case). Alternatively we can monitor where players have been recently and calculate from there if hits may be legit, which is more complicated to implement and also more like a future change. Will be in focus soon, though.
@Stoneage2002
It should be nochetaplus.mods/ unless your permission plugin implements ".*" permissions.
Allowing smart moving is not easily possible, too many special moves and climbing. Maybe some day in the future we can make some things possible.
-
View User Profile
-
Send Message
Posted Aug 8, 2013@iiAtomiikzZ
As far as I'm aware: AntiCheat doesn't provide a check that acts like Passable check from NoCheatPlus. We aren't even sure which check is throwing out false positives so it will be hard to reproduce for us but will try.
@chris752w
Which client did you use? Version of NoCheatPlus and CraftBukkit? Would be better if you could open up a ticket so we get all information's we need. I will however still try to reproduce this if you cant find enough time to create a ticket. Thanks for the report.
@Stoneage2002
All what the nocheatplus.mods.* permissions do is allow the client to enable some mods that support motds. If you want someone to be able to use SmartMovement you will need to give him/her also permissions to bypass the fly check (SurvivalFly). Currently motd permissions aren't connected with check bypass permissions, not sure if we want to change that in the future.
-
View User Profile
-
Send Message
Posted Aug 8, 2013Hey, I only want to report, that SmartMoving is not fully playable without setting survivalfly: active to false. By giving users only the nocheatplus.mods.* permission, you will get this in the log: 13.08.08 19:48:44 [INFO] Estebanium failed SurvivalFly: tried to move unexpectedly. VL 1. It happens when you climb to a two or more blocks higher space.
-
View User Profile
-
Send Message
Posted Aug 8, 2013VClip still works if you set it to the negative flag causing you to go down.
-
View User Profile
-
Send Message
Posted Aug 8, 2013@asofold
It isn't latency at all. The server doesn't lag, and it is only with NCP we have this problem, it used happen occasionally with Anticheat, but the problem gets much much worse when using Nocheat.
The gate runs on craftbook, its made of fences and there is quite simply a open and close button. Regarding this my teammate DID close the gate while I was about a step past it, and maybe nocheat regarded me as being in the wall? I dont know, but I have some clarity on the situation now. Thank you. The idea with this was just to bring these to light, I didnt know if they were already Thanks for the time.
-
View User Profile
-
Send Message
Posted Aug 8, 2013@armanisbeast
@MyPictures
First i would like to know what "hacks seem to work" is supposed to mean! There are too many possibilities of what it could mean on your side, what did you observer what did you test?
It might indeed be interesting if you use the Spout plugin (best pm whole plugin list) - also when did you generate the cncp config?
-
View User Profile
-
Send Message
Posted Aug 7, 2013@armanisbeast
Do you possible run Spout also together? Checked permissions?
-
View User Profile
-
Send Message
Posted Aug 7, 2013I have nocheatplus and compatnocheatplus both latest version and bukkit beta build. hacks seem to work and I did many restarts. Is it a plugin I am using or am i doing this wrong, PLEASE HELP ME.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@iiAtomiikzZ
This is likely a latency problem with players running after each other. Fighting checks will be in focus once more relatively soon.
Concerning teleporting i am not sure, it appears that Minecraft is doing such too for laggy / bad connections. NCP should not reset easily for normal moving.
If you have a very bad connection with a lot of delaying (not just latency) NCP could also set back occasionally but not constantly.
The gate-problem: The gate opens and closes again? In that case it might be that the gate has already closed server side when your move arrives there, so NCP assumes you try to walk through walls. That would be thinkable. For plugin-driven gates it is very hard to provide anything to make them usable for short opening durations, because usually the other plugins don't provide any hints on when they change what blocks, besides such block-tracking is not implemented on NCP side yet, might get implemented medium-term.
@Hulipill
If you disable survivalfly you can turn on the vanilla check, but NCP will not check flying further then (also not hover, though that might change in the future).
Can you paste output of "ncp version" and maybe a hint on plugins in Ticket 563? Might be useful to find out how to reproduce the issue on our side.
-
View User Profile
-
Send Message
Posted Aug 7, 2013Will the bug when on a boat be fixed? When disabling flight check in the config, you're actually allowing your players to use fly mods? And if disabled this will use vanilla's fly check (when you float too long in mid-air) or because this takesover vanilla fly check, anyone will be able to fly as long as they want even in midair?
-
View User Profile
-
Send Message
Posted Aug 7, 2013@myPictures
The gate is a block thick, it wouldnt have been 5-10 blocks at all. A more recent example of this, is today, it took me around 10 seconds to reach a distance about 10 blocks, when it would take me around 2-3 seconds to reach the stairs...... the tps are constant and tp you back about 1 block until you are progressing like 1 block a second.
I might be able to get the owner to talk to you, but its unlikely he won't come if I alone ask him. On the other hand I have a moderator who may testify for me. Thank you for your time
P.S. The time with the gate I was jump sprinting, but today I was just sprinting plainly.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@iiAtomiikzZ
Hello @iiAtomiikzZ
This issue you described there is a know problem as stated in the "Notable (open)": Fighting checks can be too sensitive under certain circumstances (e.g. fast clicking + both running, high latency).
We have a ticket open for it: http://dev.bukkit.org/bukkit-plugins/nocheatplus/tickets/484-hits-get-cancelled/ but currently leaking a little bit on feedback and information about this problem. It would be really cool if you could bring that server owner in this conversation (on Hits get cancelled ticket) so we can track down which check exactly is denying you hitting that other player.
The problem here aren't the hit-boxes more likely that NoCheatPlus detects fight checks on you and throws out false positives which cancel (deny you to hit) your hits in-game. False positives can come from everywhere but in most cases its client- or/and server- sided lag, so did you or that player you tried to hit lag while you were fighting him?
To that teleport issue: How far have you been actually teleported around? Its very unlikely that NoCheatPlus teleports you back a distance of 5-10 blocks, in most cases the SurvivalFly teleports you back as soon as it detects flying behavior on you. Also: Where did that setback/teleport happen? Were you jumping down a cliff? Or just springing/walking? Did the server owner give you any addition information's for this problem?
Thank you for the feedback.
-
View User Profile
-
Send Message
Posted Aug 7, 2013Hello! I have recently been playing on my favorite PVP server. (I do not own this server or anything relevant) redvsblue.servegame.com anywho, I had recently heard that the server owner had moved BACK from anticheat to NocheatPlus (We always ran NCP but due to some bugs we moved to AC some of these bugs I shall mention below) The last time we were with NCP, I noticed that generally 90% of my hits wouldn't count, despite me hitting directly at the person I was targetting, it ended up with me running around my friend for about 30 seconds randomly swinging our weapons in their way until we landed attacks. I escaped with 8 hearts. My friend is a good pvper, and I should have been reduced to atleast 2. I reported it, and we swapped back to Anticheat, but recently we have returned to NCP and the problem has once again arisen. (I know its NCP because I am sure MCSG had the same problem.) I don't know much about coding, but I think you need to adjust the hitbox.
Secondly, TPing back while being chased is pretty common. and quite annoying, I ran into my towns safe gate, and was teleported back out to 4 enemies.
I am sorry to cause any trouble, but if you could fix these, I would be ever so grateful. Thank you
-
View User Profile
-
Send Message
Posted Aug 7, 2013@TommehRRR
The new versions already do that. Recommended NoCheatPlus version with walk speed support is 601.
-
View User Profile
-
Send Message
Posted Aug 7, 2013How about checking for walk speed?
On my server it is 0.3, or 0.4 - and i'd like to not disable fly checking for this to work.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@deleted_9935739
Yea true. But the problem here is that your permissions plugin gives players that have been OP all permissions that exist on your server. So you have to config your permissions plugin to not do that.
-
View User Profile
-
Send Message
Posted Aug 6, 2013@MyPictures
So not giving nocheatplus.admin.notify won't show the alerts even if op?
-
View User Profile
-
Send Message
Posted Aug 6, 2013@deleted_9935739
@MyPictures
To just turn the messages off temporarily, you might also consider "/ncp notify off".
-
View User Profile
-
Send Message
Posted Aug 6, 2013@deleted_9935739
This is handled by your permissions plugin which gives "ALL" or "*" permission to all OPs by default. You should be able to configuration this in your permissions plugin configuration file. Otherwise you can just add negative permissions to the group such as
nocheatplus.admin.notify.