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.
I'm going to add 2 new plugins to my server.. MCMMO & mmSupernaturals. Anyway I want to use NCP. MCMMO problems are solved by this plugin, but some classes in supernaturals can e.g. ignore fall damage, highjump, deal more dmg etc.
Is there any possibility to configure NCP for both plugins? Any restrictions or something?
Thanks.
Any chance we could get a hook for MobArena? I am always getting spam about survival fly when the bosses use the pull-distant, throw nearby and other abilities.
@nate302
It should work fine, cncp only uses very reliable parts of the API of the other plugins, so it will likely not get outdated too soon.
You can still check out the Jenkins, i pushed a version with updated dependencies (build 53, no code changes).
@asofold
Is this updated for mcmmo 1.4 + ?
@hi11279
I can't right now, but i will try to provide some how-to and an example some time in the near future, most likely with the help of @MyPictures.
For the instant type spells you could try to test out some things locally (preferably):
Key is the spell name, value is just the check types separated by commas, you can also use root check group instead of many individual entries, like:
AreaAttack: "FIGHT,COMBINED_IMPROBABLE,COMBINED_YAWRATE"
Can you please add examples for the magicspells exempting? I'm bad at this.
@asofold
Hm.. Well.. I ran the test on a local server, and I had this problem before I disabled cncp. I disabled cncp and restarted the server, then I didn't have the problem. I'll take a look at NoCheatPlus and see if I missed something, then. Thanks for the responses, guys. :D
@Ar7ific1al
What was the config in use (cncp) ? Can you post a link to a paste with it ?
It seems unlikely that cncp should alter anything concerning flying (except allowing it). As @MyPictures stated, recent NCP builds contain a fix for a mods permission.
The only command cncp registers is "compatnocheatplus" with the alias "cncp".
@MyPictures
I updated many plugins at the same time, NCP being one of them. I added CNCP at the same time. I didn't see anything in the CNCP config, either.
I disabled CNCP on my server so it wouldn't give me this problem anymore. I'll just have to put up with players being kicked by NCP when using Tree Feller with mcMMO, I guess. Kinda sucks, but CNCP was the problem. If anyone else has the same problem, it would be nice to know. I like to know I'm not the only one with a problem lol
@Ar7ific1al
Not sure I only have experince with this plugin: http://dev.bukkit.org/server-mods/zombes4bukkit/
There was also a bug which caused NC+ to flip the noclip permission for zombes modpack, so I recommend to update NC+ if you haven't already.
@Ar7ific1al
Which versions of NCP and cncp ?
Does anybody use this on a server which also uses VoxelModPackPlugin and ProtocolLib for NoClip with VoxelFlight/Zombe's Flight? If I enable cncp on my server, I can't use noclip. It says I entered an unknown command, and console logs me trying to use /noclip disable and /noclip enable. It's been puzzling me, and I figured cncp was the only thing I added recently, so I disabled it, and everything works fine now. There must be a conflict with VoxelModPackPlugin and cncp.
@asofold
I use mcpc+ and plugins,
@asofold
Tekkit Lite would be updated to that version. Yes.
@asofold
Yea basically those you listed there: - Unknown blockshapes that can affect SurvivalFly and/or Passable
- Items that allow flying or any other special ability
- Items that do special damage (lighting with a wand from Thaumcraft for example)
- New tools/blocks that FastBreak check doesn't know of
- Tools that allow faster movement (IC2 iridium armor and such...)
- And so on...
@MyPictures
@Sirse
"Tekkit issues" - alright.
I certainly need some more info on what to bring in. I will not figure out all block shapes in a certain mod or so, but i can add specific API / workarounds / configurability to make it possible.
So in essence breaking and walking on / through blocks can be made compatible by configuration, though that will allow hacks like fastbreak.
For climbing walls, jetpacks, exact breaking times, specific block-shape workarounds (exact shape within the block, like with glass-panes), and new tool types more additions would be necessary.
So what i need is more information on what are the problems...
@asofold
http://www.mcportcentral.co.za/index.php?topic=4657.0
@MyPictures
Tekkit would be on 1-4-7 !?
@asofold
Its kinda related to the "Tekkit" issues, like jetbacks, unknown blockshapes, unknown block breaking times and so on. Yes it requires a modded client: http://feed-the-beast.com/#download_wrapper
General info: Since cncp 6.4.1-RC-b52 this is GPLv3, also due to NCP, CraftBukkit and other.
https://github.com/asofold/CompatNoCheatPlus/blob/master/CompatNoCheatPlus/LICENSE.txt
@piritacraft
That involves a client mod too? Can you give more details on what problems occur ?
Please make this plugin compatible with FTB MindCrack..