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.
Experimental support for MagicSpells has been added, however it can only work with spells that are processed instantly. The spell names have to be input into the configuration with the check types to exempt the player from, since spells are configurable by nature. If any good setups for default or typical spells are known we might add them to the documentation.
Upload to be approved:
http://dev.bukkit.org/server-mods/compatnocheatplus-cncp/files/35-cncp-6-4-1-rc-b52/
@asofold Awesome, we'll try it. Thank you very much!
@FlyingPikachu
It should be safe, tested with latest CB dev build and mcMMO.
If in doubt, you can try the build 48, which is compiled with one of the latest mcMMO builds.
I noticed this hasn't been updated since 2/4. Is this safe to use with the new mcMMO 1.4.00?
@NemesisMate
It will most likely be configurable, without any default config.
@asofold
I need that compatibility too. When you say "force" do you mean there is a way to configure it? if so, it will be really helpfully a "howto" document.
Thanks for all.
@smeths
Not yet, though some things seem possible. Problem is the configurability of MagicSpells, so it seens that cncp can't easily know what the spells actually do, so i will likely "force" users to configure cncp how to interpret spells.
@patalkok
yeh, i had to stop using magic spells as it was driving me mad, spamming me
is this compatable with magic spslls yet?
please add compatibility with Magicspells
player cant use the cast "combust" on pvp
13.02.05 20:28:41 [INFO] rihanna failed NoSwing: didn't swing arm. VL 1. 13.02.05 20:36:51 [INFO] rihanna failed NoSwing: didn't swing arm. VL 1. 13.02.05 20:37:11 [INFO] rihanna failed Reach: tried to attack entity out of reach. VL 12. 13.02.05 20:47:03 [INFO] rihanna failed NoSwing: didn't swing arm. VL 1. 13.02.05 20:47:46 [INFO] rihanna failed Reach: tried to attack entity out of reach. VL 11. 13.02.05 20:47:59 [INFO] rihanna failed NoSwing: didn't swing arm. VL 1.
and drugmeup :
13.02.06 13:53:25 [INFO] test failed SurvivalFly: tried to move unexpectedly. VL 152. 13.02.06 13:53:25 [INFO] test failed SurvivalFly: tried to move from -557.54, 70.00, 801.87 to -556.93, 70.00, 802.53 over a distance of 0.90 block(s). VL 491. 13.02.06 13:53:26 [INFO] test failed SurvivalFly: tried to move from -557.54, 70.00, 801.87 to -558.39, 70.00, 802.15 over a distance of 0.90 block(s). VL 1111. 13.02.06 13:53:37 [INFO] test failed SurvivalFly: tried to move from -557.54, 70.00, 801.87 to -557.28, 70.00, 802.73 over a distance of 0.90 block(s). VL 1179. 13.02.06 13:55:03 [INFO] test failed SurvivalFly: tried to move unexpectedly. VL 119. 13.02.06 13:55:03 [INFO] test failed SurvivalFly: tried to move from -566.53, 70.00, 787.66 to -566.32, 70.00, 788.49 over a distance of 0.86 block(s). VL 436. 13.02.06 13:55:11 [INFO] test failed SurvivalFly: tried to move from -566.53, 70.00, 787.66 to -565.69, 70.00, 787.56 over a distance of 0.86 block(s). VL 579. 13.02.06 13:55:46 [INFO] test failed SurvivalFly: tried to move unexpectedly. VL 174. 13.02.06 13:55:47 [INFO] test failed SurvivalFly: tried to move from -574.67, 70.00, 808.88 to -574.08, 70.00, 808.49 over a distance of 0.71 block(s). VL 468. 13.02.06 13:55:48 [INFO] test failed SurvivalFly: tried to move from -574.67, 70.00, 808.88 to -574.08, 70.00, 808.49 over a distance of 0.71 block(s). VL 1057.
could u add support to moxie and armorAbilities?
@asofold
NCP: 360
no i dont use citizens !
sorry was a bit tierd last night shuld have read all the info above .. lol anyway i will try to disable the player-class hook in the config to see if it helps ..
@holyone801
There is some note about spout users above :).
Do you use Citizens? If not, disable the player-class hook in the config of cncp , that might help.
Also which version of NCP is it, build 353 ?
Just a heads upp .. CNCP 6.3.8-RC-b39 and SputPlugin makes NCP stop working .. it seems like it works BUT it dose not throw out any errors !!!
and players can use whatever cheat thay want !!!
SPIGOT: 473
not tested with latest Craftbukkit tho !!!
@MutinyCraft
Good point. I have been using build 38 lately.
Uploaded a version explicitly compiled with NCP build 353:
http://dev.bukkit.org/server-mods/compatnocheatplus-cncp/files/34-cncp-6-3-8-rc-b39/
(to be approved)
What build of CompatNoCheatPlus should we be using with NoCheatPlus build 353?
Magic spells support maybe :D ? http://dev.bukkit.org/server-mods/magicspells/
@NoMansLand_MFGC
/fly from essentials works fine together with NC+ (even without having bypass permission) so no need for CompatNoCheatPlus to do something for this. Just drop Essentials in your plugins folder give /fly permissions to those you trust and do /fly. Should be fine until you use the normal speed for it, only thing that doesn't work is the /speed command of essentials.
@NoMansLand_MFGC
It does prevent essentials/fly ? If so, are you using the default flying speed ?
Can you do Essentials? as Essentials has: /fly and we allow certain members to use Fly, but still don't want people who don't get the command to use hacks.
I'm not 100% confident, but ncpc seems to cause huge lag with the new version of mcmmo. There's no stack traces to report, and /timings doesn't give anything of interest. Sorry I can't be more helpful.