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 3, 2015Hi, I was wondering if there was a way to use NoCheatPlus to only log when someone cheats, but allow them to do so.
Example, suppose Steve was walking around the server with a modified client, and he decided to turn fly on and start flying around, it would allow him to do so but make note of it. Later on if you checked him with "/ncp info Steve" it would return that he was using fly cheats earlier on, and you could take whatever action you wanted from there with the situation. That, or perhaps there would even be a notification system where players with a certain permission, or ops, would be notified of this violation upon logging in, or have mail sent to them stating so.
I don't know if anything like this has been implemented into the plugin and I just missed it or what, but I would really appreciate this feature, and I'm sure many other players would as well. When players realize they can get away with cheating, they tend to do so without hesitation, unlike other smarter players who might just use xray, ESP and other cheats that they can get away with. I'd appreciate it if you could get back to me on this. Thank you.
-
View User Profile
-
Send Message
Posted May 3, 2015@erdrickk
-
View User Profile
-
Send Message
Posted May 1, 2015I'm using Hive Jump Pads and it jumps my players vertically up in the air 65 blocks but NCP kicks them thinking they are flying. What config do I adjust to allow for vertical jumps?
-
View User Profile
-
Send Message
Posted May 1, 2015@ProdigyOG
@MasterMithrandir
It's about Ticket 824 - basically there have been a couple of changes that might affect this, since. So it might actually be interesting to re-check that issue with the latest development build. The current one (build 816) may have a couple of other issues though (angle check too sensitive with lots of mobs in a narrow spot, interact.visible false positives).
For actual discussion please keep to the ticket, so information doesn't get lost here :p.
-
View User Profile
-
Send Message
Posted Apr 30, 2015@asofold
Rather than actual timings lag, I think @nsptg95 is referring to players being setback too often.
@nsptg95
You should try updating to the latest development build. Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk! http://ci.md-5.net/job/NoCheatPlus/
Also, have you altered your config at all?
@MasterMithrandir
Can you post the output of /ncp version ?
-
View User Profile
-
Send Message
Posted Apr 30, 2015@asofold
hello thanks, my version of ncp is 3.11.1-RC-sMD5NET-b743
and my server is crafbukkit 1.7.2-R0.3
-
View User Profile
-
Send Message
Posted Apr 29, 2015@asofold
Hey asofold
Just wanted to thank you and your team for making minecraft servers less hacky :) It's been more than two years since I first started using NCP
Any news on when the next update will be coming? (I'm hoping for the rubberbanding effect patch.)
-
View User Profile
-
Send Message
Posted Apr 29, 2015@nsptg95
I can't judge it without actual timings (absolute values plus event counts).
Usually the actual impression of lag is client-side due to events getting cancelled (false positives rather), while NCP is running rather smooth on server side, though NCP is not light-weight with checking all moving by all players, also considering the number of different checks.
Especially on rather low load (15 players of at least 50 possible) i wouldn't be surprised if NCP is taking a higher percentage compared to other plugins, what counts to me is the absolute time NCP uses per server tick. As a rule of thumb we want to keep it below 10 % of a tick in average, which is a lot (5/50 ms), but is also meant to scale with the number of players - by our experience it roughly works at 500 players (< 3 ms), of course it scales with the hardware necessary to run that amount of players and of course we don't try to use 10% on purpose.
Examples for over estimating timings:
Not sure i explained this well - i don't know what version of NCP you are using (and server version), if there is real performance problems (absolute numbers), one should have a look at settings (reduce logging first / update NCP if necessary).
-
View User Profile
-
Send Message
Posted Apr 28, 2015@asofold
Ah yes, the pulled back one is def. one we experience. Thank you for the information will check out a few of the latest development builds soon.
-
View User Profile
-
Send Message
Posted Apr 28, 2015@asofold
Hello Normaly push more and cause lagg on server have 30/40 members online and have PvP.
Now i have 15 players on and ncp push 45% of the server....
-
View User Profile
-
Send Message
Posted Apr 28, 2015@MineCraftMyph
Sure :)
@KevinEssence
I assume this is about getting pulled back, blocks not placed/broken, hits not registering in combat? While players tend to call it lag, because they can't distinguish it from lag (due to that having similar consequences sometimes), NCP shouldn't create actual lag.
There are some changes/fixes pending which might resolve some of the issues, but it also depends on the used versions (/ncp version).
@nsptg95
Can you show some more significant data, like the ordinary timings covering enough time and players to allow stating anything? The chart may be totally acceptable, depending on the side conditions (time covered, players online, absolute amount of time used by NCP).
-
View User Profile
-
Send Message
Posted Apr 28, 2015@KevinEssence
i have same problem :s
-
View User Profile
-
Send Message
Posted Apr 28, 2015hello have one problem with no cheatplus, my server no cheatplus push 46% of the server. see timings: http://goo.gl/BUwTNk why push to much? can help me? thanks,
-
View User Profile
-
Send Message
Posted Apr 27, 2015Anyone have some good ncp+ settings? It seems to cause so much lag my server nowadays.
-
View User Profile
-
Send Message
Posted Apr 25, 2015@asofold
Haha can't believe I forgot about the indentations, thanks for your help.
-
View User Profile
-
Send Message
Posted Apr 24, 2015@MineCraftMyph
The config you pasted does not seem to have indented the lines to actually display - please indent those by 2 spaces...
Edit: Admittedly YAML (including the variant the Bukkit project has bee using isn't perfect, but please check with the content-lines indented.
-
View User Profile
-
Send Message
Posted Apr 24, 2015@asofold
Nope Multiple chat lines aren't supported through all messages, including 'question'.
-
View User Profile
-
Send Message
Posted Apr 23, 2015@MineCraftMyph
1. Seems to be a good option, actually. 2. If NCP kicks them you probably have some kind of log entries about the kick? What's the kick message?
Concerning YAML, NCP does a multi-line comment like this:
Note the |- after message and that the following lines are indented relative to the "message: |-" part. I am not sure where to place the ' or " though , if those are really needed (i'd assume you can do without '/" with that message).
-
View User Profile
-
Send Message
Posted Apr 23, 2015@asofold
http://pastebin.com/BKZ38uiG
-
View User Profile
-
Send Message
Posted Apr 22, 2015@MineCraftMyph
Multiple lines are in general supported, like with the the default configuration and the chat warning message. I am not 100% sure what you are trying to achieve, how about posting (or send a pm with) a link to a paste of your configuration? Special characters might pose a problem, but i can't tell what you have been trying to add there.
Captcha can't be forced with a command. Once activated it will appear after login and on chat.text/chat.commands violations. We might add more configurability, but that'll depend on demand.