NoCheatPlus

NoLogo

NoCheatPlus

Detect and fight the exploitation of various flaws/bugs in Minecraft!

Features Permissions Commands Configuration Jenkins

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.

The following plugins might be useful to have a look at.

CompatNoCheatPlus (cncp)

Make plugins like mcMMO, Citizens, MagicSpells or MachinaCraft more compatbile with NoCheatPlus. Not all existing plugins are covered (yet), but you can leave a note or ticket request for cncp.

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".

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 EcoCityCraft.
  • Do not download from any other source, do not use jars other people send you.
  • Changes by build number can be examined in the Jenkins changes list.
  • All commits can be seen in the GitHub commit history.
  • Plugin statistics are no longer reported to mcstats.org.

Support

Documentation Resources

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 ticket or add to an existing ticket.
  • To send information that is not to be seen by all, you can also reach us by PM to @asofold and @MyPictures. 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).

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Simo389 Simo389 May 27, 2015 at 19:03 UTC - 0 likes

    @asofold: Go

    I've just done the same again, this time here's the entire log for a player walking to a block that triggers the velocity and the point where the player gets kicked: http://pastebin.com/SzTS39Ec

    The player has no bypass perms, I'm using a fresh config file, the player has a good connection and the player is in survival mode, I use this code to launch him: http://pastebin.com/d03kKFft

    Is this enough info for you to work out the cause?

  • Avatar of Grimwiire Grimwiire May 27, 2015 at 14:41 UTC - 0 likes

    Sorry if this has been posted already but; if a player stands on a slime activated by a piston, they cannot go airborne because npc vl 100. It thinks they're trying to fly. Thanks.

    Banner

  • Avatar of asofold asofold May 26, 2015 at 17:37 UTC - 0 likes

    @Bobcat00: Go

    So far so good :) - i'll attempt to increase pace now....

    @Simo389: Go

    That looks like testing with bypass permissions for survivalfly or being in creative mode or flying... is the jumping intended for creative mode or for survival mode players?

    BFAK:asofold,90573112,4305cd44b773216e4e4b4865b3831dcc3c507c15087fb5cfeebd9392050724fc

    NoCheatPlus
    Latest beta release (+ 1.8.3, approved) NoCheatPlus 3.12.0-RC-sASO-b813
    (Development builds, 1.8: Jenkins)

  • Avatar of Simo389 Simo389 May 26, 2015 at 16:07 UTC - 0 likes

    @asofold: Go

    I've done as you said, this is the debug for a player standing on a block that enables super jump (sets y-velocity to 1.0 in this case): http://pastebin.com/QhEeR3uZ

    This is likely the same issue as with that ticket. Build #818 has improved it, but it's still an issue.

    Last edited May 26, 2015 by Simo389
  • Avatar of Bobcat00 Bobcat00 May 26, 2015 at 09:04 UTC - 0 likes

    @asofold: Go

    Build 818 loads. Didn't do any further testing.

    >ncp version
    05:01:57 [INFO] ---- Version information ----
    05:01:57 [INFO] #### Server ####
    05:01:57 [INFO] git-Bukkit-b0e81a4 (MC: 1.8.6)
    05:01:57 [INFO] (detected: 1.8.6)
    05:01:57 [INFO] #### NoCheatPlus ####
    05:01:57 [INFO] Plugin: 3.12.1-SNAPSHOT-sMD5NET-b818
    05:01:57 [INFO] MCAccess: 1.8.4-1.8.6 / Spigot-CB-1.8_R3
    05:01:57 [INFO] Features:
    05:01:57 [INFO]   blocks: BlocksMC1_4(base) | BlocksMC1_5 | BlocksMC1_6_1 | BlocksMC1_7_2 | BlocksMC1_8
    05:01:57 [INFO]   checks: FastConsume | Gutenberg
    05:01:57 [INFO]   defaults: pvpKnockBackVelocity
    

    Server: lanapug.com - Survival/PVP, 7 Mob Arenas, Creative World
    Web site: www.bobcat00.com

  • Avatar of asofold asofold May 25, 2015 at 17:13 UTC - 0 likes

    @Simo389: Go

    Does this ticket relate to your issue? http://dev.bukkit.org/bukkit-plugins/nocheatplus/tickets/891-adding-velocity-to-a-player-cancels-it-when-moving/

    Could you check if adding the velocity does lead to a PlayerVelocityEvent? You can also indirectly check by testing with activating debug logging in NCP ("/ncp debug player NAME"), it should add an entry about adding velocity if the event fires (and other valuable output) . When done you can do ncp reload or use ncp remove to stop the temporary logging to the log file.

    @Bronzeteufel: Go

    @Bobcat00: Go

    I will deal with those today.

    EDIT: Build 818 should fix that, still not much tested for block shapes / oddities though.

    Last edited May 26, 2015 by asofold
  • Avatar of Bobcat00 Bobcat00 May 25, 2015 at 14:35 UTC - 1 like

    1.8.6 is out. NMS is supposedly the same as 1.8.5, but NCP build 817 complains about it:

    "Could not set up native access for the server-mod (git-Bukkit-b0e81a4 (MC: 1.8.6)). Please check for updates and consider to request support."

    >ncp version
    10:32:52 [INFO] ---- Version information ----
    10:32:52 [INFO] #### Server ####
    10:32:52 [INFO] git-Bukkit-b0e81a4 (MC: 1.8.6)
    10:32:52 [INFO] (detected: 1.8.6)
    10:32:52 [INFO] #### NoCheatPlus ####
    10:32:52 [INFO] Plugin: 3.12.1-SNAPSHOT-sMD5NET-b817
    10:32:52 [INFO] MCAccess: 1.4.6|1.4.7|1.5.x|1.6.x|1.7.x|1.8.x|? / Bukkit-API
    10:32:52 [INFO] Features:
    10:32:52 [INFO]   blocks: BlocksMC1_4(base) | BlocksMC1_5 | BlocksMC1_6_1 | BlocksMC1_7_2 | BlocksMC1_8 | MCAccessBukkit
    10:32:52 [INFO]   checks: FastConsume | Gutenberg
    10:32:52 [INFO]   defaults: pvpKnockBackVelocity
    
    Last edited May 25, 2015 by Bobcat00
  • Avatar of Bronzeteufel Bronzeteufel May 25, 2015 at 10:40 UTC - 0 likes

    1.8.5 is out, so nvm my post below.

  • Avatar of Simo389 Simo389 May 24, 2015 at 23:09 UTC - 0 likes

    Hi, so when setting a players' vertical velocity to anything above even 1.0, players are getting kicked constantly for flying: http://pastebin.com/4DdfTHc8

    I'm using this code: Vector vec = new Vector(0.0D, 1.0D, 0.0D); player.setVelocity(vec);

    Is this a bug? Surely if set by the server this should be allowed? I'm running build #817.

    Last edited May 24, 2015 by Simo389
  • Avatar of asofold asofold May 24, 2015 at 22:14 UTC - 0 likes

    @dimasaurio: Go

    The download page states it's for 1.6 - which might be an issue with PEX if you are running it with 1.8. We did have difering reports of crashes (not necessarily involving NCP though) with java 8 and MC 1.8, some concerning netty.

    @alek123222: Go

    You can remove the kick action (just remove cmd:kickpackets from the list). I don'T suggest donwtuning the setting because that will allow even worse speeding - while downtuning stunning will be ok with set-backs, supposedly.

    Last edited May 24, 2015 by asofold

Facts

Date created
Apr 02, 2012
Categories
Last update
Mar 21, 2015
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
NoCheatPlus
Downloads
1,169,225
Recent files

Authors