MobHealth
MobHealth
Simple damage reporting. When you hit a mob, MobHealth tells you how much damage you did and how much health it has left: in chat, on the action bar, on the mob's name tag, as a boss bar, as a floating damage number, or as a health bar hovering over the mob. Any combination, and nothing for players to install.
MobHealth 11 is the classic plugin rebuilt around the NeoForge version's feature set, and it runs on every server line from Beta 1.7.3 to 26.3. Pick the file for your server:
+bukkit1.13-26.3: Spigot and Paper, 1.13 through 26.3+bukkit1.8-1.12: 1.8 through 1.12.2+bukkit1.7: CraftBukkit / Spigot 1.7.2 through 1.7.10+beta1.7.3: Beta 1.7.3 (CraftBukkit #1060, Poseidon, UberBukkit, Canyon)
Display modes
| Mode | Needs |
|---|---|
Chat: Zombie [||||||||||] 14/20 (-6) |
any server |
| Action bar: the same readout above the hotbar | 1.8+ |
| Nameplate: a coloured bar on the mob's name tag | 1.7+ |
| Boss bar: the widget at the top of the screen | 1.9+ |
| Damage indicators: red numbers that pop off the mob and rise | 1.8+ |
| Graphical: a floating bar riding above the mob | 1.19.4+ |
Bars go green → yellow → red as health drops. MobHealth says at startup which enabled modes your server cannot show, so nothing fails quietly.
Options
- Show for hostile, neutral and passive mobs, players and bosses separately, with per-mob
overrides (
minecraft:villager=false). - Only the attacker sees it, or everyone nearby.
- Bar length, glyphs, numbers as
14/20or70%, how long bars linger, how long after a kill. /mobhealth togglelets each player mute it;mobhealth.seelets you hide it from a rank.- The config has the same keys as the NeoForge mod, so one set of docs covers both.
Commands and permissions
/mobhealth reload (mobhealth.reload, op) · /mobhealth toggle [on|off] [player]
(mobhealth.toggle, everyone; mobhealth.toggle.others, op) · mobhealth.see (everyone)
Source and issues
https://github.com/Sablednah/MobHealth. The NeoForge version is a separate project, MobHealth ReForged.
Video
See MobHealth in action here…
Thanks to WoopaGaming for the video.

-
View User Profile
-
Send Message
Posted Aug 6, 2013@Matt19901
Thanks, will look over. Versions are changing rapidly and its easy to get a mismatch.
-
View User Profile
-
Send Message
Posted Aug 5, 2013I adding in MA too and it doesn`t seem to want to play nice with mob health i sent you a PM with the error in it
-
View User Profile
-
Send Message
Posted Aug 5, 2013This plugin lags the poop out of my server . Might be because I have a lot of custom made bosses not sure. 10 tps loss.
-
View User Profile
-
Send Message
Posted Aug 4, 2013@PatoTheBest
For now horse health bars are completely disabled in 7.0.1/7.0.2 as they just don't play well with inventories, and theres no clean way to strip the bar when E is pressed.
If your horses already have health bars from 7.0.0 then just right click with an empty hand, or hit them (try a snowball for 0 damage) to trigger a cleaning function to strip the bar.
If you want health bars disabled completely (which should be the default config) then be aware that if you have had them enabled - they will hang around. Switching to and from healthbars will leave ghost bars behind which i'll try to get a clean up routine in place for the non-dev release of MH7
-
View User Profile
-
Send Message
Posted Aug 3, 2013@NoHoPeLess
I finally got there ! ;)
-
View User Profile
-
Send Message
Posted Aug 3, 2013@CollinDesigns
Yeah - thats an ongoing thing - seas to be more the scoreboards code than plugins - still looking for improvements tho.
-
View User Profile
-
Send Message
Posted Aug 3, 2013Can't open horses inventory. Health bar shows even if on the config is disabled.
-
View User Profile
-
Send Message
Posted Aug 3, 2013@SableDnah
THX man! The Bugception :D works great!
-
View User Profile
-
Send Message
Posted Aug 1, 2013@SableDnah
Euhhmm well the 0 health display only above certain players. I use tagapi its prob due this I assume.
-
View User Profile
-
Send Message
Posted Aug 1, 2013@CollinDesigns
I think you might need to edit custom messages for the snowball and egg events.. can you open a ticket - and pastie me contents of your config.yml and lang.yml files?
-
View User Profile
-
Send Message
Posted Jul 31, 2013In the config its saying: hideNoDammage: false Hide notifications that inflict 0 damage. Custom Egg and Snowball notifications are exempt.
But I have this set to true yet it still display the 0 health inflict....
-
View User Profile
-
Send Message
Posted Jul 30, 2013@NoHoPeLess
Drop me a DM on Twitter - I have 7.0.2 ready to test.
-
View User Profile
-
Send Message
Posted Jul 30, 2013@SableDnah
I install it from the twitter link... result:
-
View User Profile
-
Send Message
Posted Jul 29, 2013@KelvinKam
@NoHoPeLess
@der_Kernschatten
Check my Twitter...
-
View User Profile
-
Send Message
Posted Jul 27, 2013Well, I guess I won't be reporting the 'spam' since others have. Thanks for the update, SableDnah, telling us that this will be fixed.
-
View User Profile
-
Send Message
Posted Jul 27, 2013It spams my Console so massivly!!!
And:
WUSH!!
-
View User Profile
-
Send Message
Posted Jul 26, 2013When I hit the horse 2013-07-27 03:38:56 [WARNING] [MobHealth] Task #8446 for MobHealth v7.0.0 generated an exception java.lang.NullPointerException at me.sablednah.MobHealth.MobHealth.cleanName(MobHealth.java:634) at me.sablednah.MobHealth.ServerDamageEntityListener$ScheduledshowBar.run(ServerDamageEntityListener.java:207) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) 2013-07-27 03:40:18 [SEVERE] Could not pass event EntityDamageByEntityEvent to MobHealth v7.0.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:95) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:383) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:408) at net.minecraft.server.v1_6_R2.EntityLiving.damageEntity(EntityLiving.java:636) at net.minecraft.server.v1_6_R2.EntityAnimal.damageEntity(SourceFile:128) at net.minecraft.server.v1_6_R2.EntityHorse.damageEntity(EntityHorse.java:251) at net.minecraft.server.v1_6_R2.EntityHuman.attack(EntityHuman.java:884) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:1121) at net.minecraft.server.v1_6_R2.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NullPointerException at me.sablednah.MobHealth.MobHealth.cleanName(MobHealth.java:634) at me.sablednah.MobHealth.ServerDamageEntityListener.onEntityDamage(ServerDamageEntityListener.java:94) at sun.reflect.GeneratedMethodAccessor58.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:425) ... 21 more 2013-07-27 03:40:18 [WARNING] [MobHealth] Task #8655 for MobHealth v7.0.0 generated an exception java.lang.NullPointerException at me.sablednah.MobHealth.MobHealth.cleanName(MobHealth.java:634) at me.sablednah.MobHealth.ServerDamageEntityListener$ScheduledshowBar.run(ServerDamageEntityListener.java:207) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
-
View User Profile
-
Send Message
Posted Jul 26, 2013@Rogasmo
Yeah thats the cleaning function failing for entities without custom names. 7.0.1 dev will be available soon to stop that notice spamming the console.
-
View User Profile
-
Send Message
Posted Jul 26, 2013@zekigames
Actually if you read the comments you'd see that's fixed in 7.0.0, the "E" bug is due to the client refusing gui names > 32 length.. but the api allows names over 32 to be set.
-
View User Profile
-
Send Message
Posted Jul 26, 201311:09:27 PM [warning] [MobHealth] Task #2004 for MobHealth v7.0.0 generated an exception 11:09:27 PM [javastacktrace] java.lang.NullPointerException 11:09:27 PM [javastacktrace] at me.sablednah.MobHealth.MobHealth.cleanName(MobHealth.java:634) 11:09:27 PM [javastacktrace] at me.sablednah.MobHealth.ServerDamageEntityListener$ScheduledshowBar.run(ServerDamageEntityListener.java:207) 11:09:27 PM [javastacktrace] at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53) 11:09:27 PM [javastacktrace] at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) 11:09:27 PM [javastacktrace] at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522) 11:09:27 PM [javastacktrace] at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) 11:09:27 PM [javastacktrace] at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) 11:09:27 PM [javastacktrace] at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) 11:09:27 PM [javastacktrace] at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)>>