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.
@MyPictures
Yes, i am very busy right now :9. Will try to be there some times.
@asofold
Sure. Its just so hard to meet you up in skype/IRC :L
@MyPictures
Could try to configure one instant spell and give feedback if it worked out, if you have time...
@asofold
Maven is magic @asofold x.X. Anyways I think those series are fine (kinda better then no ones). Over that way its possible to distinguish where cncp or nocheatplus has been compiled on. Need anymore help with MagicSpells btw? Its kinda odd to mess around with... hmm
@asofold
Do not understand also. CNCP provides a plugin.yml with dev-url so CraftBukkitUpToDate should just work fine with it. Using the internal devBukkit repository makes no sense to me.
@HeroCC
I am not sure what the problem is - the source is on GitHub and will not be moved from there.
I set a repository URL, not quite sure what this is about, though. Might have a look what CraftBukkitUpToDate does.
The source of your plugin is not on BukkitDev, therefore it will not work on CraftBukkitUpToDate. Please add the Source to BukkitDev, so you can add compatibility! Thanks!
@MyPictures
Horrible version string :p - wouldn't call it magic though.
Setting up the compatibility modules for minimal changes and refer to older versions with the rest would probably come close to magic.
cncp 6.4.4-RC-sMD5NET-b61 lel gotta love maven magic and the sMD5NET series :O
@457undead
A new beta release for NCP is pending approval, it might resolve that issue. It is not related to cncp, it's caused by Essentials using a custom thing for passing to other plugins on some occasions, basically.
Make sure you have Essentials updated as well, don't stay with older development builds or pre-releases if newer (pre-releases) ones are available.
Got this when healing http://pastebin.com/zRUAh7fF could you please fix :D
@soulscapex
What same error ? Can you pastebin (or bukkitdevpaste) it and link it from here?
The warnings will come one time per class max., in development builds they only appear if the logging.debug flag is set, but dev builds also contain a lot of other changes at present.
@DasMAXimumHD
im having the same error with 1.62 and newest mcmmo....spamming console
@asofold
when you break the snowblock you dont swing so it triggers a no swing.
@SandKastle
Any details about what kind of checks alert in what kind of situations with those?
Please add support for spleef games, like the one in "minigames" please.
Since NCP build 576 the warnings should be bound to the logging.debug flag.
I will update cncp too, more or less soon, but it does not seem to be that much necessary right now.
@DasMAXimumHD
If you use latest NCP with 1.5.x Bukkit, these messages will appear.
You might just ignore these warnings, they are not severe and they should only appear once per server-run. Behind the message is that damage is counted more precisely (not in like 20 steps but with fractions) since 1.6, so in case of old API NCP will warn once.
I will bind the warnings to the logging.debug flag.
Can you please update to new version of NoChestPlus for mcmmo? Getting this message with new version of NCP and new version of mcmmo: 14.07 18:25:17 [Server] WARNING API incompatibility detected: org.bukkit.event.entity.EntityRegainHealthEvent.getAmount 14.07 18:25:13 [Server] WARNING API incompatibility detected: org.bukkit.craftbukkit.v1_5_R3.entity.CraftPlayer.getMaxHealth 14.07 18:25:13 [Server] WARNING API incompatibility detected: org.bukkit.craftbukkit.v1_5_R3.entity.CraftPlayer.getHealth 14.07 18:25:13 [Server] WARNING API incompatibility detected: org.bukkit.event.entity.EntityDamageByEntityEvent.getDamage
@tommiek2
Can you describe problems (in-game alerts, checks that conflict)=?
Can Parkour plugin compatibility be added please?