NoCheat

Thank You!
Thanks to everyone who used and liked this plugin. I've set the plugin to "abandoned" status myself (that's why there is a red box above this text), because it describes best the current status of this plugin. Thanks to everyone that supported me during the year of development, with money, bug reports or simply kind words.
What now?
NoCheat 3.5.0 no longer works with recent CraftBukkit build and you will no longer get any updates or support from me anymore.
If you want to see the original version of this description page for this plugin, you can find a copy of it here: Original plugin description
Replacements for NoCheat
Check out these plugins.
NoCheat+
It is based on NoCheat's code and is therefore similar in how it works. But it also adds a ton of new features. You can find it HERE.
NoCheat Classic
It is the original NoCheat without any modifications beyond what is necessary to make it work on modern CraftBukkit versions. If you like NoCheat exactly the way it is, this may be what you are looking for. You can find it HERE.
AntiCheat
Is a new plugin that's built from scratch. That means it will behave and feel different to NoCheat. I'm sure the developer appreciates new users and bug reports. Get it HERE.
Make your own
Don't like the presented alternatives? You may just create your own plugin instead. The source code for NoCheat is HERE.
-
View User Profile
-
Send Message
Posted Dec 4, 2011NoCheat 2.20a has a bug in it that will prevent people from using the chat if you use plugins like xAuth and their "freeze" feature(s).
Use NoCheat 2.20b instead (just uploaded it, should be available very soon).
-
View User Profile
-
Send Message
Posted Dec 4, 2011@asofold
I think I have to give some background info for this. Fall damage in Minecraft works as follows:
The player sends with every movement an "onground" value, telling the server if the player is in the air or touching ground. "nofall" hacks cheat here and send with every movement the player makes "onground=true".
The server measures fall damage by adding the height difference of all moves of a downward moving player, as long as it keeps sending "onground=false", and deals the collected height as fall damage when "onground=true" is sent by the player.
NoCheat does measure the fall distance of a player independent of the "onground" value (because that value can't be trusted) and when it believes that the fall distance measured by the Minecraft server is too low, it will adjust the fall distance to the value it measured itself. NoCheat itself will however never deal any damage to players.
What you most likely see happen is the following:
Players dying when landing in deep water is a dead giveaway for players that use a "nofall" hack. Because of how NoCheat and Minecraft work, even if NoCheat makes a mistake when calculating the fallheight and sets it too high, it couldn't damage a player that lands in deep water, as the client will only send "onground=true" when the player already is in the water, and therefore the server will always cancel fall damage.
PS: At least that's the idea. If you think this can't be the reason, can you send me a screenshot of the location where you tried to do that and one of the messages you've got from NoCheat (with the exact values it complained about, you can replace names with placeholders if you want).
-
View User Profile
-
Send Message
Posted Dec 4, 2011Hi, i am using 2.20a with CB 1555 (admittedly),
and it seems that it is possible to die when falling into water, using sprinting+jump to lift off.
The timing seems to be somewhat crucial, it took a while top reproduce, also due to lag.
The player dies then (though it is a deep pool), without diving into the water. Nocheat issues the message with nofalldamage on that occasion.
Just wanted to ask if this is a known issue.
-
View User Profile
-
Send Message
Posted Dec 4, 2011NoCheat 2.20a:
-
View User Profile
-
Send Message
Posted Dec 4, 2011@jamqdlaty
I can't prevent that.
The only reliable way to prevent people from accessing chests is to limit who can open the chest, e.g. with a plugin like "lockette". Relying on walls etc. to prevent people from clicking the chest can never be fully reliable. E.g. people could in your case just use a "freecam" mod to look through the wall and access the chest that way, or just let the wall disappear clientside to only see the chest.
@Zidkon
I already limit blockplacing in two ways in the newer NoCheat versions ("blockplace.direction" check):
1. They must be looking at the block that they build against. E.g. you want to place a block on top of another one, you'll have to look at the lower block to do that.
2. The player has to stand on the correct side of the block. E.g. to build a block ontop of another block, you have to stand a little bit above it to be able to see its top surface. Same goes for all other directions (east, west, north, south, below). You can't stand north of a block and place another block against the south side of it, or be below a block and place another block ontop of it.
At least that's how it should work now.
About the placing of x blocks per second. I believe that's a futile attempt to stop such autobuilding. Either it gets too strict such that normal players get annoyed if because of lag etc. their blocks keep disappearing, or it's too loose and mod writers will just add tiny delays in their blockplacing to avoid detection anyway.
-
View User Profile
-
Send Message
Posted Dec 4, 2011Even, I don't know is this is included inside your objetives of this project, but I was just testing some clients for minecraft and seems that they are including building options on them, like fast placing blocks and autobuilding some little structures (like cubes) by not doing anything else than just keep pressed the right click.
Of course I know the Client can send false information to server, but as you have the experience about battle aiming I wanted to know if this can be applied too on block placing?
And well, I was thinking on making a limit of the numbers of blocks that can be placed in less than 10 ms or something like that but I guess is too hard to avoid that kind of situations without bothering the building of people.
Just wanted to know if you had decided about this kind of things already and wich was your desicion or what do you actually think about this kind of "cheats".
Thanks
-
View User Profile
-
Send Message
Posted Dec 4, 2011I've got a problem. If worldguard region has flag chest-access set to allow, but build to deny, any player can open chest behind the wall after breaking one block of wall. Before that block reapear, you can click with RMB on chest. Could you do something to prevent this? For example, automatically closing that inventory-chest view?
-
View User Profile
-
Send Message
Posted Dec 3, 2011@Baummann1703
Why don't you revoke their VIP status if they are doing that? Making nofly regions is more difficult than it sounds and I have currently no time plan on when I'll add that.
@PhantomFysics
I could probably do that, but the effect of that would end whenever the player leaves the server and then comes back, because NoCheat doesn't persist any per player data.
-
View User Profile
-
Send Message
Posted Dec 3, 2011Could you please add disabling cheats in a specific region? My VIPs (allowed to fly) are flooding my mob arena with mobs by flying.
-
View User Profile
-
Send Message
Posted Dec 2, 2011Would it be possible to add a command that "mutes" the nocheat warnings for the user that issues the command, so they don't see everything? It would be equivalent to revoking their permission to see the warnings.
-
View User Profile
-
Send Message
Posted Dec 2, 2011NoCheat 2.20:
The new command "/nocheat playerinfo playername [filter]" allows you to look a bit under the hood of NoCheat. It will display data collected by NoCheat for a specific player, namely when the collecting started (usually when the player logged in or NoCheat got loaded), how often a specific check was failed and how much "violation level" (vl) the player collected in total for failing that check. The data will be available up to 1 minute after the player left the server, then it gets discarded.
I now also provide a somewhat official API method to collect that data. All you need is get a reference to the "NoCheat" plugin (Just like most people already do for the "Permissions" plugin(s)) and then call the method "getPlayerData(String playerName);". It will return a Map of strings and values with the same data that the "playerinfo" command provides.
-
View User Profile
-
Send Message
Posted Nov 29, 2011@naragov
Maybe another plugin blocks flying too. E.g. "towny" can do that to some extent. If you give people the * node, they probably got a permission of that other plugin that allows them to fly.
You can check if NoCheat is blocking the flying of a player by using the command "nocheat permlist playername". It will show what permission nodes NoCheat sees and uses. If those say e.g. "nocheat.checks.moving.flying: true", then that means that the player really has that permission and nocheat will definitely not stop him from flying.
-
View User Profile
-
Send Message
Posted Nov 29, 2011Running CB 1530, NoCheat 2.17b. I'm using GroupManager, and giving my Moderator group the node 'nocheat' (without the quotes), but they can't fly. If I give them the * node, they can. Any ideas?
-
View User Profile
-
Send Message
Posted Nov 28, 2011Well I figured it out, it was essentials messing up block placement, fml
-
View User Profile
-
Send Message
Posted Nov 28, 2011@Zidkon
Bukkit has a builtin /version command. Simply type "/version NoCheat" and you get all the info you'll ever need about it. :)
Yes, I probably could add such a check that counts placed blocks, but I don't know when I'll have time for that.
NoCheat 2.19:
A temporary fix for that ( now ) widespread hack that gives players invulnerability after death and still allows them to attack, break blocks etc. Also, walking on lily pads shouldn't be a problem anymore with NoCheat.
-
View User Profile
-
Send Message
Posted Nov 28, 2011@don4of4
I'm not getting any lag by NoCheat plugin, and I'm using CraftBukkit 1506 not-recommended but stable version and NoCheat mmm the latest one I downloaded like 2 days ago xD
Enven you should make /ch version command :P I was thinking on, you can add a "# of blocks can place by X time"? There is a client that puts like 5 blocks in a row in 1 ms :/
-
View User Profile
-
Send Message
Posted Nov 27, 2011@don4of4
"most" is an understatement. The only thing left active in that config is the chat checks, and those do nothing at all as long as nobody sends a message (and even then, it shouldn't cause any lag)
Do you get any error messages on your console? Usually if people have lag it's the result of something breaking and printing hundreds of lines onto the console.
-
View User Profile
-
Send Message
Posted Nov 27, 2011NoCheat is causing massive lag on my server. It's unable even though I have most of the checks disabled.
-
View User Profile
-
Send Message
Posted Nov 27, 2011@w000rm
Added that. New check is "chat.empty" and will kick players by default for sending an empty chat message (as usual, you can change that).
NoCheat 2.18
I removed "godmode" check for now. It is in it's current state just fubar in MC 1.0.0 and I can't find an easy way to fix that. So I'll probably have to rewrite it from scratch in the near future.
Also, another bunch of changes to config file reading and writing, fixing a nullpointer exception and giving additional error messages.
-
View User Profile
-
Send Message
Posted Nov 27, 2011@darkcloud784
Like which? Be more specific so we can help :3