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 Sep 2, 2012Now about that simplenotice player damage support? XD
-
View User Profile
-
Send Message
Posted Aug 30, 2012@Q2Lummox
Yeah the black background is so you can read it in light enviroments - like deserts. I'm really not happy with that gui there but its the best i could do at the time.
The window in the video is the achievement style... that's the default spout notification. And should show in a default config.
showSideNotification was my attempt at a replacement. I've nearly removed it a few times, but instead once spoutcraft 1.3.2 stable is out i shall go back and try to improve it.
-
View User Profile
-
Send Message
Posted Aug 30, 2012How I can put the information window damage, such as that seen in the video?
With version 5.0.0, I see the window on the right, but if a mob attacked quickly, is "mixed" and do not understand what it says on the window.
Also, is "ugly" with the black background ... is much better as seen on the video.
PD: Please, view the image in a new window...
A greeting.
-
View User Profile
-
Send Message
Posted Aug 24, 2012@Hoolean
I knew it was a good name ;)
Thanks - had a look at your plugin - looks good, if you could make the health regain a config setting i'll use this! Its great as a permissions node skill for Evil heroes classes ;)
-
View User Profile
-
Send Message
Posted Aug 21, 2012I appear to of named my plugin MobHealth too! Sorry! Once I get back from my holiday I will rename it!
-
View User Profile
-
Send Message
Posted Aug 17, 2012@Jadiction
This time it's deliberate ;)
5.0.0 is a Dev version - not the Stable release. Once I get enough feedback that 5.0.0 is 'good' then I'll make that the live one ;)
5.0.0 was completely restructured internally. So I'm wary about making it the release of straight away ;)
-
View User Profile
-
Send Message
Posted Aug 17, 2012Lol: 10:45:45 AM [WARNING][MobHealth] 4.9.1 is available. You're using 5.0.0. How do you always have this problem? :P
-
View User Profile
-
Send Message
Posted Aug 17, 2012@SableDnah
HELLO! Just wanted to let you know that 1.3.1 works fine for me as well inside Bukkit 1.2.5. Thank you!
-
View User Profile
-
Send Message
Posted Aug 15, 2012@TheCoryGuy
Oh also - the 1.3.1 mobhealth versions work fine for 1.2.5 ;)
-
View User Profile
-
Send Message
Posted Aug 15, 2012@TheCoryGuy
Yeah - I've noticed loads of people waiting for spout client to update (they did spoutplugin - but its useless without the client!).
If you can do a ticket and let me know what version of mobs and mobhealth you have and a copy of your mobs data file - i'll get it sorted ;)
-
View User Profile
-
Send Message
Posted Aug 14, 2012@SableDnah
Alright, so I'm sure this has been asked before, but do you know how many returns I get for "mobhealth mobs" searches on this thread? Heheh.
I'm using the Mobs plugin to increase the health of certain mobs. I'm getting errors when beating up mobs, like Skeletons for example.
MOBHEALTH display (ex.) SKELETON 6 damage 21/20 health
Then the HUD disappears, and only reappears after I've killed the skeleton. My mobs are set to variable health, like 20 to 35. I don't know if this variable conflicts, but I'm not seeing anything like:
SKELETON 5 damage 25/30 health
What's up? :) By the way... shiny plugin. Loves it. KUDOS!!
BUKKIT 1.2.5 R4.0 (SpoutPlugin not yet updated)
-
View User Profile
-
Send Message
Posted Aug 12, 2012@MrBogusss Yeah that's why the desc above links to GitHub for the latest download. Bukkit are a bit bust ATM. Looks like its approved now.
-
View User Profile
-
Send Message
Posted Aug 12, 201210:00 PM [WARNING] [MobHealth] 4.9.1 is available. You're using 4.9.0
-
View User Profile
-
Send Message
Posted Aug 11, 2012@polo3400
Not at all - it can clog up a players chat a little - make sure to set "hideNoDammage: true " to minimise it :) But mostly players fighting ain't chatting ;)
Plugin testing showed a fraction of a millisecond added to events. Player load doesn't really increase its resource use - and its far less than Heroes, Mobs, MobArena etc.
Gowan give it a try ;) A great idea is to turn on the permissions and only give warrior classes the node!
Also - cherrybacon.mineocity.com is not working?
-
View User Profile
-
Send Message
Posted Aug 11, 2012Is this resource demanding, laggy with a lot of people, anything like that?
-
View User Profile
-
Send Message
Posted Aug 11, 2012o........ thank you very much
-
View User Profile
-
Send Message
Posted Aug 11, 2012@ok12Boss
Sure - raise a ticket and i'll look into it. Be sure to give your Bukkit version - spout version (if any) - and any other plugins your running ;)
-
View User Profile
-
Send Message
Posted Aug 11, 2012@Chaznuts
The 'new' Spout bits are a couple months old now. But yeah as spout rolls out updates the behaviours changes. 1.3.1 build is actually the same as 1.2.5 - just with some mobs/heroes concurrency fixes.
The RPG style however is /usually/ consistent - try hideNoDammage: true to make sure it doesn't double up. The plugin generally behaves more as expected when that's true.
As for the side notification - yeah that was as good as I could get at the time. If you're only getting glitches sometimes - then that's better then I got! I was even going to pull the feature - and I did go so far as to add a caveat to the download.
-
View User Profile
-
Send Message
Posted Aug 11, 2012SableDnah
I can't see any player name when i hit them. For example, i hit someone who name is Peter. My lang file setting chatMessage: '&f%N took %D damage. %H/%M health.'
But It will show [ player took 2 damage. 15 / 20 health. ] I hope I can solve this problem. thank you.
-
View User Profile
-
Send Message
Posted Aug 11, 2012Pretty cool! Nice little addition to my server.
One thing I noticed though (I am using your build for 1.3.1, while my server is still 1.2.5 until spout updates, so if this could be caused by that, just forget I even mentioned it) is that with your "new" additions that require spout, the "ShowRPG" part more often than not shows the damage above the target's head twice. Little bug that I noticed, but again if it's caused by version mismatch, please excuse me. Secondly, the "ShowSideNotification" part sometimes glitches when you're hitting multiple enemies near the same time, along with sometimes duplicating the message to the left of the notification once the target is killed.
Little bugs, but overall a great plugin. Thanks for your contribution and keep up the great work! :)