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 Apr 1, 2012I've just started using MyWolf on my server (and it's a teeny bit buggy but SOOOO COOL) so if just the MyWolf(ves) reported health while fighting with their master (each player can only have 1) that would be pretty nice. They can have a name and everything.
-
View User Profile
-
Send Message
Posted Apr 1, 2012cool plugin! i will test it right now!
-
View User Profile
-
Send Message
Posted Apr 1, 2012@diannetea I just uploaded 4.7.2 that lets you use LikeABoss and Mobs together. LAB support was a bit broken, have fixed and changed the order so they play nicely together.
Wolf damage I'll look into, I can probably have it report when your wolfs damage a target. You mentioned damage inflicted on tamed wolfs too? How did you picture that working?
And finally - storing the toggle is definitely on the cards.
-
View User Profile
-
Send Message
Posted Apr 1, 2012@deleted_8665991
It does. Also I just uploaded 4.7.2 that lets you use LikeABoss and Mobs together.
-
View User Profile
-
Send Message
Posted Mar 31, 2012This does not seem to be working properly with the latest version of both MobHealth and Likeaboss
Also two things:
could tamed wolf damage (both taken and inflicted) show up?
and is there any way to save player choice for the toggle? Having to enable or disable it every time you join is not fun :(
-
View User Profile
-
Send Message
Posted Mar 30, 2012Does this still work with Mobs?
-
View User Profile
-
Send Message
Posted Mar 30, 2012@SableDnah
Ah, ok. Just wanted to make sure I was grabbing the right version :) Thanks!
-
View User Profile
-
Send Message
Posted Mar 30, 2012@dasbreen
Arrgh - I'm an idiot! - I just checked plugin.yml - and I have indeed typo'd the version :/ So yeah - you have the latest one - just that number wrong.
-
View User Profile
-
Send Message
Posted Mar 29, 2012Hmm... Just downloaded 4.7 and I got 4.4 apparently? I clicked the subscription update in my feed saying you released 4.7, deleted my old 4.2 jar and now it's saying loading 4.4 on server start up. (did a server stop, delete/replace jar, server start)
-
View User Profile
-
Send Message
Posted Mar 20, 2012Version 4.6 just released.. http://dev.bukkit.org/server-mods/mobhealth/files/26-mob-health-v4-6/
This should fix the
and
<<code>>java.lang.NoClassDefFoundError: org/getspout/spoutapi/gui/Widget<code>> errors.Please note the new Side widget mode does appear to overlay itself incorrectly sometimes - esp in busy combats. I am working an a better implementation.
-
View User Profile
-
Send Message
Posted Mar 15, 2012@TheEliteFour
Keep an eye on this ticket.
http://dev.bukkit.org/server-mods/mobhealth/tickets/6-mob-health-is-attempting-to-register-event-com-herocraftonline/
Heroes changed alot in the dev verion - and I don't think they're finished. That ticket has a link to a dev version of MobHealth that works with heroes dev. And as they tweek so will I ;)
-
View User Profile
-
Send Message
Posted Mar 14, 2012Is this still broken with heroes? Using today's newest Dev Build of heroes and your current newest release of this. No messages about health on attacking.
Doesn't matter, cloned it for personal use.
-
View User Profile
-
Send Message
Posted Mar 11, 2012@darkcloud784
lol - If you'd have scrolled down 2 posts you'd have seen that that is reported and a ticket raised. ;)
If you can head over to here -> http://dev.bukkit.org/server-mods/mobhealth/tickets/6-mob-health-is-attempting-to-register-event-com-herocraftonline/ and let me know what version of heroes your using (and where you got it!) that'd be a big help.
-
View User Profile
-
Send Message
Posted Mar 10, 201210.03 23:06:13 [Server] SEVERE Plugin MobHealth is attempting to register event com/herocraftonline/dev/heroes/api/WeaponDamageEvent, which does not exist. Ignoring events registered in class me.sablednah.MobHealth.HeroesWeaponDamageEventListener
-
View User Profile
-
Send Message
Posted Mar 10, 2012@Sonorpearl Have raised a ticket for this. Do you have a link handy for the dev version of Heroes?
-
View User Profile
-
Send Message
Posted Mar 10, 201219:28:01 [INFO] [MobHealth] Enabling MobHealth v4.2
19:28:01 [SEVERE] Plugin MobHealth is attempting to register event com/herocraftonline/dev/heroes/api/WeaponDamageEvent, which does not exist. Ignoring events registered in class me.sablednah.MobHealth.HeroesWeaponDamageEventListener
Using Dev-Build of Heroes for 1.2.3
-
View User Profile
-
Send Message
Posted Mar 8, 2012@Flenix1 Thanks for that - I'll have a look over ModDamage and let you know. If it gives mobs a higher health tho changes are it wont work till I add suport :)
As for RPGEssential - that's an interesting use of spout. I shall certainly look over that for a lightweight alternative the the achievement box.
In the meantime so you know - if you have "hideNoDammage" set to true - that cuts out alot of the "chat spam". Might work for an interim till I get something better :)
-
View User Profile
-
Send Message
Posted Mar 7, 2012Do you know if this supports ModDamage at all?
Also, there is a plugin called RPGEssentials which, when you get XP, just shows it for a second in the middle of the screen on Spoutcraft. Would something like that be possible for this, just showing a number in red as the actual amount of damage done? It would of course be toggle-able like the notification and chat messages are, but would be really cool for a really lightweight part.
My only issues with it atm is chat would be spammed and notifications get in the way of another plugin we have which has information in that corner...
-
View User Profile
-
Send Message
Posted Mar 7, 2012@ramsydk Thanks :)
I had a look at BloodMoon - and what they call 'double-health' is actually half damage. So technically MobHealth is working fine ;)
I'm gonna try and detect if the entity is a BloodMoon one and double the numbers I show - will let you know if it works. Also I found some bugs in BM that I'm gonna let them know about ;)
-
View User Profile
-
Send Message
Posted Mar 7, 2012@SableDnah
Hehe yeah sorry to be such a bother :) Well I prefer the first day in minecraft, when you are vulnerable, I'm trying to get that feeling to last longer :) these plugins help ;)
Oh and thanks a lot, really love your plugin :)