CompatNoCheatPlus
CompatNoCheatPlus (cncp) provides compatibility between the anti cheat plugin NoCheatPlus and other plugins that add game mechanics different to the vanilla game behavior, such as mcMMO or plugins that add npcs such as Citizens. You need NoCheatPlus for this, NoCheatPlus can not be replaced by this.
This plugin is an add-on for NoCheatPlus: NoCheatPlus on BUKKITDEV
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.
Development-builds (Jenkins at ci.md-5.net): CompatNoCheatPlus and NoCheatPlus
Features:
- mcMMO:
- Block breaks by abilities should lead to no or almost no alerts anymore.
- Fighting alerts should be reduced.
- Citizens 2:
- NPCs no longer generate check alerts.
- Generic:
- Cancel all check failures for players that are not real players. This should handle a range of NPC creation techniques in general, as exist with Citizens 1.
(Experts: good bit of it is configurable.) - Block breaking and block placing: Plugins that break or place many blocks "in the name of a player" have a better chance to be made compatible by adapting the configuration. Defaults are set for MachinaCraft.
- Bukkit player speed API: Set the fly/walk speeds globally and let NoCheatPlus deal with the rest. (Needs to be enabled in the configuration.)
- Cancel all check failures for players that are not real players. This should handle a range of NPC creation techniques in general, as exist with Citizens 1.
- For configuration reference: Configuration
(Should not be needed usually, but can be used to disable unused hooks, or enable the set-speed hook. - For details on plugin compatibility, see: Details
Spout users
Spout users might encounter problems (nofall / fly working). Try to disable the player-class hook - but i am afraid there might be further incompatibilities at present.
Contributors:
- Welcome!
- Maybe someone wants to join this project ?
Repository: https://github.com/asofold/CompatNoCheatPlus
API: You can register a hook with cncp, which might or might not spare you some coding, cncp will re-enable NoCheatPlus with a delayed sync task, so you can use the PluginEnableEvent to register hooks that can listen on lowest level and be processed before NoCheatPlus. If you don't need these features then you can directly hook into the NoCheatPlus API (introduced in the lates dev builds of NoCheatPlus 3.7). Adding a hook demands further not to put NoCheatPlus into the depend or softdepend parts, returning the NCP hook and the check types should be the first time to access NCP API actively.
keep up the good work!
Perfect, just what I needed for the mcMMO violations. Thanks for sharing!
@Adondriel
cncp is an add-on to NoCheatPlus!
So you need to have that for this to make sense.
Does this work in combo with NCP? or serparate?
@asofold
cncp for the latest developement version of NoCheatPlus:
http://dev.bukkit.org/server-mods/compatnocheatplus-cncp/files/9-cncp-3-0-0/
@asofold
Since NoCheatPlus is being continued right now, DeadNoCheat is declared "dead" for the moment.
If you don't want to install a dev version of NCP for 1.3.1, you can still get the 3.6.1 adaption (DeadNoCheat) from GitHub, including an adpapted version of cncp for DeadNoCheat:
https://github.com/asofold/DeadNoCheat/downloads
CompatNoCheatPlus will continue supporting NoCheatPlus, naturally.
@Jobsti2
Oh i am sorry, i probably uploaded the wrong version either here or on GitHub.
use:
http://dev.bukkit.org/server-mods/compatnocheatplus-cncp/files/8-cncp-2-0-1/
Heyho,
Using #2296, cncp 2.0 and the DeadNoCheat.
Getting some erros in the console:
http://pastebin.com/CPXWPKia
@fatmanjumprope
Im running it on a test server (14 slots) with 1.3.1 - so it should be ok to use it.
I would be more concerned about NoCheatPlus, actually, but that too does to work ok for me currently.
But the updates of CB are coming in and ill check the logs constantly...
Working with 1.3.1? If not could you possibly give me an eta on a 1.3.1 release?
Thanks fat
@WizardCM
The War plugin manipulates the player move event with the telport coordinates, as it seems - further it does not provide an event or something to tell other plugins that it would do so - so in this case i can not do anything except for to ask you to ask them to provide compatibility by means of firing a custom event before such manipulations. Then cncp can intercept that and tell NoCheatPlus to skip the alert or check.
Would be great if you could look into the movement, attack and teleportation false pickups caused by this War plugin (http://dev.bukkit.org/server-mods/war/). Tends to kick people for moving too quickly when being teleported back to their spawn points and such.
@sharkale31
Should be fixed in the latest version:
http://dev.bukkit.org/server-mods/compatnocheatplus-cncp/files/5-cncp-0-3-0/
This should also deal or make possible to deal with all other plugins that use non-real players.
@sharkale31
I will add an option to prevent adding certain hooks, but i will also make the Citizens hook generic to exempt from checks by class name.
@asofold
broken with citizens dev. can you fix it? or you only work with stable?
any way to deactivate citizens hook meanwhile?
@coolo1
I could not see any API linked by that plugin, neither source code...
this makes it difficult to provide compatibility (impossible even).
Maybe they will add something with time (or requests)?
You should ad Guilds support, I have a race on my server, using guilds, that can jump extra high, and NCP has a spaz attack whenever the tap space :P
@asofold
Got held up out of town, somehow, so a little later...
I will try to do something for vanilla related bugs in the current version at the weekend...
@simdol
No - it just prevents NCP to punish players or alert for mcMMO block breaking for now.
I am waiting for the next NCP update to see what really pays to attempt to fix, then.
I hope they will fix a lot of the problems with efficiency picks and shears.
If that does not happen then i might try to fix some of those things as well.