CommandPoints MobDisguise Bridge
Have DisguiseCraft or MobDisguise only for admins on your server? Need more things for people to spend their commandpoints on?
This plugin works as a bridge allowing you to charge commandpoints to allow users to disguise as mobs! It takes advantage of both the DisguiseCraft/MobDisguise and CommandPoints APIs in order to allow YOU to choose how users spend their points.
Features:
- Per mob, configurable costs
- Option to undisguise players on exit
- Configuration updates itself on each release, maintaining your specifications
Permission nodes:
- CPMD.disguise.free - Is allowed to disguise for free.
How to use:
- Give normal users the permissions needed to disguise as a mob. (Permissions from DisguiseCraft/MobDisguise)
- Set the costs for each mob in the CPMD configuration.
- Players will be charged when they use DisguiseCraft/MobDisguise commands such as: "/d creeper"
@EvHub
Ah sorry about that, I've been working with Desmin lately to update stuff. I forgot about the changes to the API. I'll have 1.1 up shortly.
Hey, I don't want to bug you or anything, but now I am getting this error:
05:34 PM [SEVERE] Plugin attempted to register delegated event class class me.desmin88.mobdisguise.api.event.DisguiseAsPlayerEvent. It should be using class me.desmin88.mobdisguise.api.event.DisguiseEvent! 05:34 PM [SEVERE] Plugin attempted to register delegated event class class me.desmin88.mobdisguise.api.event.DisguiseAsMobEvent. It should be using class me.desmin88.mobdisguise.api.event.DisguiseEvent!
Using version 1.0 of CommandPointsMobDisguiseBridge and version 1.7 of MobDisguise.
@EvHub Sadly, I don't think so :/
I had submitted a pull request to him before releasing the latest version of this plugin. He decided he wanted to manually merge it. (Which makes sense)
No need to bug him though, I'm now the ticket manager, and I've been pushing him to update his API plenty already XD
For now though, you'll have to use the fork version in your PMs.
@Devil_Boy
Well then I guess I will go bug the MobDisguise developer instead. :P
EDIT: Will version 0.8 work until MobDisguise updates?
@EvHub This means MobDisguise has not yet updated to the new event system.
Doesn't seem to be working. I get this error: [SEVERE] Error occurred while enabling CommandPointsMobDisguiseBridge v0.9 (Is it up to date?): Unable to find handler list for event me.desmin88.mobdisguise.api.event.DisguiseEvent org.bukkit.plugin.IllegalPluginAccessException: Unable to find handler list for event me.desmin88.mobdisguise.api.event.DisguiseEvent at org.bukkit.plugin.SimplePluginManager.getRegistrationClass(SimplePluginManager.java:615) at org.bukkit.plugin.SimplePluginManager.getRegistrationClass(SimplePluginManager.java:613) at org.bukkit.plugin.SimplePluginManager.registerEvents(SimplePluginManager.java:567) at pgDev.bukkit.CPMD.CommandPointsMobDisguiseBridge.onEnable(CommandPointsMobDisguiseBridge.java:84) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:217) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:200) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
I would be nice to configure a duration.
@kahlilnc
Currently, the duration is as long as they can stay on the server. They lose the disguise on quit.
Durations?