CreatureController
CreatureController
About
CreatureController helps with controlling the stats of monsters, critters, and players. Can be used to make a server harder, easier, more diverse, or to remove annoying mobs from the server. This is my first plugin so let me know what you think and how I can improve!
Features
- Easily adjustable stats for monsters, critters, and players alike!
- Config file for easy offline changes
- Commands for quick online changes
- Allows changes to health, damage, experience, and whether or not a monster can be spawned
- Lightweight (only 12 KB)
Commands
- /getdamage <unit name> - Returns the damage of the unit with the given name
- /getexp <unit name> - Returns the experience yield of the unit with the given name
- /gethp <unit name> - Returns the health of the unit with the given name
- /getspawnable <unit name> - Returns whether or not the unit can spawn
- /getunitlist - Returns the list of units supported by this plugin
- /setdamage <unit name> <amount> - Sets the damage of the unit to the given amount
- /setexp <unit name> <amount> - Sets the experience yield of the unit to the given amount
- /sethp <unit name> <amount> - Sets the health of the unit to the given amount
- /setspawnable <unit name> true|false - Sets whether or not a unit can spawn
Command Examples
- Setting the experience of a zombie: /setexp zombie 10
- Getting the health of a big slime: /gethp slimebig
- Setting the damage of a tamed wolf: /setdamage wolftamed 5
- Setting the damage of a wooden sword: /setdamage wood_sword 100
Troubleshooting
- UnsupportedClassVersionException - Versions 1.7 and below were built for Java 7, so if you are running Java 6, it won't work. You must either update Java to Java 7 or download version 1.8 or later
does it work with 1.7.2 ? thx!
In fact, it seems to stop any form of damage change from enchantments and potions (strength potion), that includes when given to mobs.
Hey bud, I seem to have a problem with the sharpness enchant not working when I have this plugin. Any fix available?
@o0Julia0o
It should work fine in 1.6.2 as it is
will it be updated to 1.6.2?
@Eniripsa96
Ok I understand. No worries about compatibility :-) thanks for the informative response. I'll be keeping an eye on your plugins, they seem handy :P
@Kofeygames
Ah, so bloodmoon probably has an event priority less than mine so mine goes over it. As for Rare Item Hunter, the damage is strange because it applies damage under normal priority so my damage doesn't effect damage to bosses in that plugin. However, they keep setting the health of the monsters to full after each attack so if you one hit a monster it dies early, but other than that the health looks for the hidden boss health. I don't think I'll be able to get fully compatible with Rare Item Hunter unfortunately and I don't have access to Bloodmoon's source to see their event priorities so that I could fix that issue either.
@Eniripsa96
The conflict I had with Bloodmoon was the HP. They have a HP modifier that multiplies mob HP by X during the 'bloodmoon event'. But with this plugin and similar ones which set mob HP to something, it stops the bloodmoon event from being able to multiply the hp. So the mob HP remains the same as you set it in this plugin even during the bloodmoon event.
With Rare Item Hunter, I made a ghast boss with 500HP and had ghast HP set to 5 with this plugin. The boss ended up dying in one hit :s but maybe I should test it some more :P
@Kofeygames
Thankfully Rare Item Hunter has an open repository so I can review how it works and after a little bit of searching the only real conflict I saw was for damage because it stores health separately and boss skills are event driven. Is this what you were talking about or is there something else too? I can try to come up with a solution for the damage conflict in the meantime.
@Kofeygames
Hmm, I'm not familiar with those plugins or how they work so I can't be sure, but possibly one workaround would be for me to check the current stats of the mob I'm about to alter and if its abnormal, then don't mess with it. This could help make it so that I don't override any special mobs such as bosses. I'll look a bit into those mods and see what I can do.
@Eniripsa96
Thank you very much :-)
Plugins like this don't work with other plugins which alter mob HP (such as bloodmoon which multiplies mob HP during 'bloodmoon events', and Rare Item Hunter which creates custom bosses with X HP. Would an enable/disable feature on each mob on this plugin fix that issue, or is it just never going to work?
EDIT: Just to add, thanks to your in-game commands this is actually compatible with Bloodmoon, which is awesome :P
@Kofeygames
Certainly, I just added it and will upload it as soon as possible. I didn't even realize I missed giants haha, thanks for pointing that out!
Works very nicely :) any chance you could add giants?
I hope this is as good as it sounds. Waiting for the download :)