MobHealth

Mob Health
This simple but invaluable plugin lets you know the damage you just caused to a mob (including other players), and how much health it has left.
Now with ActionBars!
If you have 1.8 bukkit/spigot then you can now enable actionbars by adding useActionBar: true to your config (or set to false to disable).
-
Mob Health has a range of useful options including:
- Control over how messages are shown
- When messages are shown
- When messages are *not* shown (a useful feature!)
- Exactly what is displayed - including your own custom messages...
Current Release Version: 9.1.0
Updater Information
Note that unless you edit MobHealth configuration it will automatically update as new versions are approved by the Bukkit team.
You can edit config.yml in the /plugins/MobHealth/ folder you can find the following settings.
updateCheck true- Show notification of available updates.
doUpdate true- Update MobHealth automatically when new download is available.
Change doUpdate to false to stop any file download, and updateCheck to false to stop notices about new versions in your startup log.
Got API?
MobHealth now has 100% more API included!
You can trigger damage notifications, if your plugin adds skills or spells for example. And far more usefully - you can query MobHealth to get the current health and max health of any Mob, regardless of which plugin is responsible for tracking it.
Think of it as Vault for mob health levels ;) You code for one plugin - I sort out the mess behind the scenes.
See the API page for more info.
NEW healthbars!!
As frequently requested, MobHealth can now display health bars above Mobs, and a health counter for players.
PLEASE NOTE: If enabled - these bars show above ALL players / mobs, regardless of any toggle or permissions settings.
Enable this feature with the following flags in config:
showPlayerHeadHealth: true
Enables health counter display below player names.
usePercentForPlayer: true
Changes health counter from HP to a percentage of health left (recommended).
showMobHeadHealth: true
Enable health bars for all mobs.
useBarForMobs: true
If true, use a health bar in format of [||||||||||] if false, show in format of "10/20"
Compatible Plugins
EpicBossRecoded
You shouted for it - here it is, Epic Boss support.
Thanks to ThaH3lper for adding in an entire API for MobHealth.
Spout
If Spout-plugin is installed and the client uses SpoutCraft (and disableSpout is on its default false setting) then notification will be shown with the achievement notification (as seen above).
ZombieMod
Exclusive to Imagicraft's Zombie Apocalypse RP (Zarp) server, ZombieMod creates several variaties of Zombie to terrorise players trying to survive in this post-apocalyptic server.
SimpleNotice
MobHealth now supports the Client Mod simple notice. Lets you show the messages elsewhere so your chat is spam free.
Thanks to FeildMaster for the pull request :)
Heroes
Heroes health and levelled up HP's are reported correctly as are mobs whose health levels have been adjusted in the config. Use of a Heroes skill will trigger a notification when it damages.
Mobs
Mobs adjustments to health are now tracked and reported in MobHealth.
Thanks to coldandtired for adding in MaxHealth and an API for me :)
Mob Arena
Bosses in a currently running Mob Arena report correct health and max-health. As do waves with a modified reduced health.
Thanks to garbagemule for adding MaxHealth to mob area for me.
LikeABoss/Corruption
MobHealth detects wandering bosses and correctly reports their health and name.
Thanks to bm01 and Erackron for integration help.
Monster Apocalypse (6.0b+)
If Monster Apocalypse is set to handle mob's health then these values are used for MobHealth.
Thanks to blainicus for answering my queries.
Video
See MobHealth in action here...
Thanks to WoopaGaming for the video.
Commands
/MobHealth reload
Reloads current configuration.
/MobHealth toggle [player]
Toggle notifications. [player] is ignored via chat and mandatory via the console.
Configuration
See the configuration page for full details.
Permissions
See the permissions page for full details.
Source Code
https:github.com/Sablednah/MobHealth
Stats Collection
Like many bukkit plugins, Mobhealth utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- The number of damage notices displayed (but not their content)
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Changelog
9.0.0: New ActionBar notifications.
8.3.0: Adds Rabbit, Endermite and Guardian mobs
8.2.2: Added fallback code for potential missing new methods.
8.2.1: Rollback gettextresource to get resources
8.2.0: Filter rogue &f colour code prefix's. Add scoreboard event (so it can be cancelled to preserve scoreboards).
8.0.1: Cleanup - removed unused class, update metrics to V7
8.0.0: Reworked Heroes integration. 1.7.2 compatibility fixes.
Download
Github no longer allows a "downloads" section, so I no longer mirror files there. If you'd like to test beta/dev versions follow me on twitter and ask there! But understand such files would not yet be approved by BukkitDev staff.
Known Bugs/Conflicts
- Plugins that alter mobs health levels usually return false health levels.
The plugins listed above are supported.
Donations
Donations of any amount are, of course appreciated :)
Contributions go towards maintaining my development server to encourage continued development, MobHealth is solo coded by me, and supporting so many other plugin takes a fair bit of time. So if you think that time is worth something then Hit the dontae button in the top right of this page :)

-
View User Profile
-
Send Message
Posted Jul 24, 201216:39:11 CONSOLE: [WARNING] [MobHealth] 4.8.6 is available. You're using 4.8.7 16:39:11 CONSOLE: [WARNING] [MobHealth] http://dev.bukkit.org/server-mods/mobhealth/
I lol'd.
:D
-
View User Profile
-
Send Message
Posted Jul 24, 2012@Shankemdirty
It's scrolled to page 2 now - but yeah - the latest verion is marked .5 when its meant to be .6
Just ignore the notice. Or if its causing issues - open up the .jar and edit plugin.yml inside - first line is the version.
-
View User Profile
-
Send Message
Posted Jul 24, 2012@PIPOKID
Not easily - I can with Spout - but I'm not going to write more spout features untill 1.4/api is out and I know how to suport Official API / Bukkit and Spout
-
View User Profile
-
Send Message
Posted Jul 24, 2012@midnightfang22
Yeah - MA still reports weird health levels for mobs in worlds it doesn't control. It's fine now for worlds in the list - but i need to hack in to check if the world is in MA's list.
-
View User Profile
-
Send Message
Posted Jul 24, 2012i downloaded v4.8.6 and it still says update now your version is 4.8.5 download v4.8.6 i downloaded v4.8.6 two times in a row and still says i got v4.8.5
-
View User Profile
-
Send Message
Posted Jul 21, 2012Is MobHealth updated for the monster apocalypse update? For some reason this plugin isn't working since I updated both of them except for the world that I enabled the monster apocalypse in. Any idea as to why this is happening?
-
View User Profile
-
Send Message
Posted Jul 21, 2012@SableDnah
Thanks for keeping up updated. Mobs and Mobhealth together are the best for any rpg server. Donations incoming. keep up the great work
-
View User Profile
-
Send Message
Posted Jul 20, 2012@SableDnah
That would be lovely, thanks so much! And it's all good, I realize it takes time to develop these things and it's tough keeping up with other plugins! Keep up the good work :)
-
View User Profile
-
Send Message
Posted Jul 20, 2012@Tehkiah
Yeah - that happens when I'm out of sync with the latest mobs. He's working hard on it - and i'm following behind patching my suport to work with it. Should be fixed (again) this w/e. This bear with us as i try to keep up ;).
To help - i#ll list the version of Mobs that i've tested each MonHealth release with so you know what "should" work ;)
-
View User Profile
-
Send Message
Posted Jul 20, 2012Recomended heroes, mobs 35dev, and latest mobhealth. i get this http://dev.bukkit.org/paste/5834/
-
View User Profile
-
Send Message
Posted Jul 20, 2012@SableDnah
It seems as though the new dev builds of Mobs conflicts with the current build of MobHealth. Mobhealth registers the damage from the last hit and gives a killed notification, but doesn't give any other damage notifications at this time.
Anyway, also wanted to say thanks for a totally awesome plugin! It's great!
-
View User Profile
-
Send Message
Posted Jul 20, 2012@SableDnah:
I don't know if you can do this or not, but it would be nice to have an option where we could choose to have displayed above the head of the monsters/players/animals the amount of hearts left.
-
View User Profile
-
Send Message
Posted Jul 19, 2012@SableDnah: I don't know if you accept enhancement ideas, or if this has already been suggested, so I apologize for the unsolicited request.
It would be nice to add some customization to the messages that are displayed. Several of my players have lamented that while they love the idea of the plugin, they think the message display is too verbose. It would be nice to be able to format the output to allow custom messages. For my users, I think the preferred format would be something very simple like:
<monster name> <damage amount> damage. (<remain health>/<max health>)
Edit: I write all that, and then I found out that you already do that in the lang file. I'm a bright one.
-
View User Profile
-
Send Message
Posted Jul 19, 2012sorry about the 4.8.6 version bug guys-.7 with Monster Apoc fixes will be out soon and will make sure i get the verion code right this time!
-
View User Profile
-
Send Message
Posted Jul 19, 2012me too
-
View User Profile
-
Send Message
Posted Jul 17, 2012@Chemical_Datas
Yep.
-
View User Profile
-
Send Message
Posted Jul 17, 2012Anyone else getting the message to download the 4.8.6 version after you just dowloaded it?
-
View User Profile
-
Send Message
Posted Jul 12, 2012Just wondering if you could take a look at this. happens with the plugin Mobs
http://dev.bukkit.org/paste/5783/
-
View User Profile
-
Send Message
Posted Jul 11, 2012@follet2004
Check your lang.yml for the length of the achievement/spout messages. They must be kept fairly succinct.
-
View User Profile
-
Send Message
Posted Jul 10, 2012@SableDnah Hello,
If you use spoutcraft and hit someone(player only) the text will make an error: [SEVERE] Notification messages can not be greater than 26 chars + 26 colors.
Thanks.