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 23, 2012Hi, I updated 5.1.1, but version check message is still displayed (You're using 5.1.0)
Startup message is also "Enabling MobHealth v5.1.0"
v5.1.1 page's link is invalid ???
github's file has same problem.
-
View User Profile
-
Send Message
Posted Sep 23, 2012-
View User Profile
-
Send Message
Posted Sep 23, 2012@y1985
http://dev.bukkit.org/server-mods/mobhealth/files/44-mob-health-v5-1-1/
Bukkit hasn't approved it yet (always takes a bit longer on weekends) - will add to description.
-
View User Profile
-
Send Message
Posted Sep 23, 2012@diannetea
Already two ticked resolved for this and a patched release out ;)
You can get it on github - or here http://dev.bukkit.org/server-mods/mobhealth/files/44-mob-health-v5-1-1/
-
View User Profile
-
Send Message
Posted Sep 22, 2012Where is the 5.1.1 link?
-
View User Profile
-
Send Message
Posted Sep 22, 20122012-09-22 17:33:46 [SEVERE] Could not pass event EntityDamageByEntityEvent to MobHealth
java.lang.NoClassDefFoundError uk/co/jacekk/bukkit/baseplugin/v1/config/PluginConfigKey
at me.sablednah.MobHealth.ServerDamageEntityListener.onEntityDamage(ServerDamageEntityListener.java:93)
at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at org.bukkit.craftbukkit.event.CraftEventFactory.callEvent(CraftEventFactory.java:80)
at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:364)
at org.bukkit.craftbukkit.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:386)
at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:591)
at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:38)
at net.minecraft.server.EntityHuman.attack(EntityHuman.java:762)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1019)
at net.minecraft.server.Packet7UseEntity.handle(SourceFile:36)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:282)
at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
at net.minecraft.server.ServerConnection.b(SourceFile:35)
at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:604)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:245)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:500)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:418)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.ClassNotFoundException uk.co.jacekk.bukkit.baseplugin.v1.config.PluginConfigKey
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 25 more
-
View User Profile
-
Send Message
Posted Sep 22, 2012Might be cool to support: http://dev.bukkit.org/server-mods/epicboss/
-
View User Profile
-
Send Message
Posted Sep 22, 2012@cyclo666 Bloodmoon support now in 5.1.0 http://dev.bukkit.org/server-mods/mobhealth/files/43-mob-health-v5-1-0/
Please note all I'm doing is doubling the perceived values to give the illusion of doubling that bloodmoon creates when it halves.... net effect is it should all appear as tho mobs have double health ;)
-
View User Profile
-
Send Message
Posted Sep 21, 2012@georgeyang
Just checked it all out - and It does work out of the box - compliments to Mob Stats dev who exposed maxhealth and gethealth functions that override the bukkit ones.
-
View User Profile
-
Send Message
Posted Sep 20, 2012Mob Health can support Mob Stats plugins?
-
View User Profile
-
Send Message
Posted Sep 20, 2012@cyclo666
Looks like blood moon doesn't actually increase mobs health. Instead it halves all damage.
I'll try and "detect" badmoon entities and double the figures... but otherwise i'll report the correct "halved" damage
-
View User Profile
-
Send Message
Posted Sep 20, 2012@cyclo666
Bloodmoon support will be in 5.1 ;)
-
View User Profile
-
Send Message
Posted Sep 20, 2012Great Plugin! Recommend this for any type of Minecraft Server out there!
Very helpful plugin developer, will work day and night if the slightest problem occurs!
-
View User Profile
-
Send Message
Posted Sep 19, 2012Would be great if this worked properly with bloodmoon. Mobs have extra health but MobHealth doesn't pick it up.
-
View User Profile
-
Send Message
Posted Sep 12, 2012@SableDnah
Confirmed - spout still does not allow achievement popups. Am getting it fixed - http://forums.spout.org/threads/no-achivement-get-notification.4953/
-
View User Profile
-
Send Message
Posted Sep 12, 2012@cyclo666
@yurikoma
Spout has a known achievements bug - I've already reported it (http://issues.spout.org/browse/SPOUTCRAFT-397)
Should be fixed in latest builds, but i've yet to confirm it.
-
View User Profile
-
Send Message
Posted Sep 12, 2012When using spout/spoutcraft only the RPG style numbers work. The achievement notification doesn't work at all
Spout #1329 MobHealth 5 & 4.91
-
View User Profile
-
Send Message
Posted Sep 8, 2012hey, im using 5.0 im getting a black rectangle with the health message getting stacked on each other on the right of the screen
same for 4.9
if everything is default, and i am using spout, nothing happens
-
View User Profile
-
Send Message
Posted Sep 8, 2012@SableDnah
Current, current, current, all three are the newest versions :O
(Using DEV version of MobHealth, MAXIMUM current)
-
View User Profile
-
Send Message
Posted Sep 2, 2012@UltrafaceGuy
Hi there - in 5.0.0 the notification system is global - so if you're seeing simple notice notifications for damage to animals - it should work for players too.
let me know what version of CB/MH/SN you have and i'll confirm if that combo works for me...