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.
-
View User Profile
-
Send Message
Posted Feb 6, 2015@thu2468
I need to update for the latest builds of mcMMO, they changed some package naming or internals...
-
View User Profile
-
Send Message
Posted Feb 5, 2015NCP Reach is blocking mcmmo tree cutting skills and block break direction also affecting it
-
View User Profile
-
Send Message
Posted Jan 22, 2015@MyPictures
Maybe it was to allow finding NCP too, probably i should just add both links....
-
View User Profile
-
Send Message
Posted Jan 21, 2015Why don't you directly link to http://ci.ecocitycraft.com/job/CompatNoCheatPlus/ for Jenkins @asofold ?
-
View User Profile
-
Send Message
Posted Jan 20, 2015@asofold
Yep, that fixed it :)
-
View User Profile
-
Send Message
Posted Jan 20, 2015@asofold
Thanks asofold! :) Done.
-
View User Profile
-
Send Message
Posted Jan 19, 2015@Vivi_Coral
You need NoCheatPlus too. If you downloaded the faulty build 788, please switch to build 791 or above, which should fix the issue.
-
View User Profile
-
Send Message
Posted Jan 19, 2015@Vivi_Coral
On stopping I see this:
-
View User Profile
-
Send Message
Posted Jan 19, 2015Hi asofold, I am seeing the following when starting my server (Spigot 1.8 and NCP 3.12.0-SNAPSHOT-sMD5NET-b788):
Can you advise?
-
View User Profile
-
Send Message
Posted Dec 25, 2014@_Riaz
It should work, at least we have not received reports that state otherwise.
-
View User Profile
-
Send Message
Posted Dec 25, 2014@Miyukifei
Alright, looks like that's hard to do from our side, if they fire events as if the player was attacking. Usually the problem is that they use certain methods in Bukkit/CraftBukkit that then fire the events independently, so they can't just make their own easy to notice event type. You could try to get MyPet developers involved, e.g. they could temporarily add something like "discard_nocheat" as metadata to the player, so we can detect it.
-
View User Profile
-
Send Message
Posted Dec 23, 2014Will this work with the 1.8 version of both NCP & mcMMO?
-
View User Profile
-
Send Message
Posted Dec 22, 2014<<reply 2426168>>
I get this
http://pastee.co/4zixj9
the pet tries to attack but doesnt do any damage, i have to disable all the fight checks because mypet triggers alot of them.
I also have another plugin that shows blood when you fight, and when pets fight eachother the players bleed, not the pets, so the game thinks the player is the one attacking and not the pet, I believe thats why mypet triggers ncp alot.
-
View User Profile
-
Send Message
Posted Dec 19, 2014@Miyukifei
Do they still attack as if their owner was attacking (i.e. NCP alerts for the owner)?
-
View User Profile
-
Send Message
Posted Dec 19, 2014Any way to make MyPet plugin compatible? i have to diable noswing and reach, or some pets wont be able to attack
-
View User Profile
-
Send Message
Posted Oct 26, 2014@UnwrittenPaper
And you managed to configurre cncp to be useful for MagicSpells?
-
View User Profile
-
Send Message
Posted Sep 28, 2014@DanSpedey
Depends much on if NCP will be ported over....
-
View User Profile
-
Send Message
Posted Sep 28, 2014Will this plugin be ported to Sponge?
-
View User Profile
-
Send Message
Posted Sep 27, 2014@Toorgmot
That's interesting, i don't know if it can be fixed, depends on why actually this happens.
My first assumption is that there is some resetting logic triggered due to the drill being active, which cncp can't influence.
Does it only trigger fastbreak (e.g. compare "ncp info playername" before + after testing)?
-
View User Profile
-
Send Message
Posted Sep 24, 2014Hello @asofold, CompatNoCheatPlus works great with all my plugins! Thanks for making it, I really appreciate that!! But I get message from NoCheatPlus that they fastbreak. It happens when the MachinaDrill is on and when they are mining or woodcutting at the same time. I tell them to shut their drills down, but is there a way to fix this? Thanks for reading! Toorgmot