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 Jun 2, 2013Add the PigZombieBaby Yeah I know it doesn't exist but I spawned 1 =p !
-
View User Profile
-
Send Message
Posted Jun 2, 2013@malaxan
Open lang.yml and make sure these lines read as follows... healthBarCharacter: "|" and if you have it healthPrefix","&r&f&r"
Then hit some new mobs. Existing mobs will probably remain messed up until hit. - You can always use /butcher to clear old mobs away.
-
View User Profile
-
Send Message
Posted Jun 2, 2013@SableDnah
I've completely removed mobhealth and recreated folder, config.yml and lang.yml from scratch - same problem.
If I remove mobhealth altogether I still have these hearts. This just started recently so I'm guessing maybe another plugin? The odd thing is I don't have any other plugins that mess with the healthbar.
plugins: worldedit worldguard vault multiverse-core multiverse-inventories multiverse-portals essentials soulbound rpg items dtlcitizenstrader citizens2 denizen epicbossrecoded magicspells mcmmo generousmobs sentry
-
View User Profile
-
Send Message
Posted Jun 2, 2013is there a way to see how much damage you take from mobs in chat
-
View User Profile
-
Send Message
Posted May 30, 2013@fr333n3rgy
Ahh - sorry for mixup. By NPC I meant only the Villager's.
What plugin are you using to make NPC spiders and slimoids?
-
View User Profile
-
Send Message
Posted May 30, 2013@malaxan
Gonna need to see your config.yml and lang.yml - - open a ticket and let me know what's in them.
It looks like the healthbarprefix has been messed with so it doesn't know where the name ends and the bar begins.
-
View User Profile
-
Send Message
Posted May 30, 2013SPIDER, SLIME & MAGMA_CUBE NPC still show HealthBar even if disabled in config, other NPCs seems ok - using latest rel. of plugin.
P.S. Great plugin - thanks!
-
View User Profile
-
Send Message
Posted May 30, 2013@SableDnah
Oh, yes. It's fixed! Thanks!
-
View User Profile
-
Send Message
Posted May 29, 2013I'm having a problem configuring the healthbar over a monster's head. No matter what I try, I can't get rid of the hearts in the text and to the left above the monster's head.
Any ideas??
Direct Link to image...
-
View User Profile
-
Send Message
Posted May 29, 2013@yeshjho
Open lang.yml from the /plugins/mobhealh/ folder and edit the line - healthBarCharacter: It may show as a ? or a square box depending on your editor. replace that line with healthBarCharacter: "|"
Meanwhile i'll make sure 6.1.4 defaults to a usable character (the special character you can't see is the heart - use healthBarCharacter: "<3" if you still want to try heart bars.
-
View User Profile
-
Send Message
Posted May 29, 2013OMG When I run the bukkit first time, It says
'2013-05-29 18:43:00 [INFO] About to download a new update: MobHealth v6.1.3 2013-05-29 18:43:00 [INFO] [MobHealth] Downloading update: 10% of 101854 bytes. 2013-05-29 18:43:00 [INFO] [MobHealth] Downloading update: 20% of 101854 bytes. 2013-05-29 18:43:01 [INFO] [MobHealth] Downloading update: 30% of 101854 bytes. 2013-05-29 18:43:01 [INFO] [MobHealth] Downloading update: 40% of 101854 bytes. 2013-05-29 18:43:01 [INFO] [MobHealth] Downloading update: 50% of 101854 bytes. 2013-05-29 18:43:01 [INFO] [MobHealth] Downloading update: 60% of 101854 bytes. 2013-05-29 18:43:01 [INFO] [MobHealth] Downloading update: 70% of 101854 bytes. 2013-05-29 18:43:01 [INFO] [MobHealth] Downloading update: 80% of 101854 bytes. 2013-05-29 18:43:01 [INFO] [MobHealth] Downloading update: 90% of 101854 bytes. 2013-05-29 18:43:01 [INFO] [MobHealth] Downloading update: 100% of 101854 bytes. 2013-05-29 18:43:01 [INFO] [MobHealth] Finished updating.'
And reboot server, Always error with
'2013-05-29 18:43:15 [SEVERE] Cannot load configuration from stream org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 530 at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:202) at me.sablednah.MobHealth.MobHealth.reloadLangConfig(MobHealth.java:442) at me.sablednah.MobHealth.MobHealth.getLangConfig(MobHealth.java:449) at me.sablednah.MobHealth.MobHealth.loadConfiguration(MobHealth.java:366) at me.sablednah.MobHealth.MobHealth.onEnable(MobHealth.java:139) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_5_R2.MinecraftServer.j(MinecraftServer.java:301) at net.minecraft.server.v1_5_R2.MinecraftServer.e(MinecraftServer.java:280) at net.minecraft.server.v1_5_R2.MinecraftServer.a(MinecraftServer.java:240) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:150) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:379) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed in "<string>", position 530 at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70) at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 17 more 2013-05-29 18:43:15 [SEVERE] Error occurred while enabling MobHealth v6.1.3 (Is it up to date?) java.lang.NullPointerException at me.sablednah.MobHealth.MobHealth.loadConfiguration(MobHealth.java:391) at me.sablednah.MobHealth.MobHealth.onEnable(MobHealth.java:139) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_5_R2.MinecraftServer.j(MinecraftServer.java:301) at net.minecraft.server.v1_5_R2.MinecraftServer.e(MinecraftServer.java:280) at net.minecraft.server.v1_5_R2.MinecraftServer.a(MinecraftServer.java:240) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:150) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:379) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)'
How can I resolve this error?
-
View User Profile
-
Send Message
Posted May 25, 2013@SableDnah
I am using de beta build 2771 Weird thing is the healthbars do work fine...
-
View User Profile
-
Send Message
Posted May 25, 2013@demellion
Thanks for the heads up ;)
-
View User Profile
-
Send Message
Posted May 25, 2013@xmkxmkxm
Timout bars is tricky - I'd have to track all the entities i put a bar on and when and then remove them.
I use shopkeepers myself and know exactly what you mean. I'll see if i can for now split useBarForMobs down into monsters, animals and npc's.
-
View User Profile
-
Send Message
Posted May 25, 2013@mlopezv
Hmm I'm sure the mcmmo team are aware of mobhealth, hopefully they'll swap. In the meantime I've added /mh and /mobh and /mhealth will push next release soon.
If you're not scared of tinkering - you can open the jar with winzip and edit plugin.yml yourself ;)
-
View User Profile
-
Send Message
Posted May 25, 2013@eloyedelenbosch
By the looks of that error your bukkit version doesn#t support scoreboards?
What cb build number are you using? did "Scoreboard API not detected." show during startup?
-
View User Profile
-
Send Message
Posted May 24, 2013The plugin is working perfectly but i still got lots of errors in my console... What could be the problem. Error example: http://pastebin.com/PZWa2nSb
What could be the problem? Does this plugin even support 1.5.2? Thx
-
View User Profile
-
Send Message
Posted May 24, 2013I found that I can't disable animal's healthbar. I was using a plugin called shopkeepers, and it allowed me to change villagers' name. After I left click the villager, the bar will appear and won't disappear again unless I restart my server. I think the bar of animals is not necessary. Consider about dividing animal and monsters' healthbar or let the bar disappear after a while if nothing cause the damage.
-
View User Profile
-
Send Message
Posted May 21, 2013This plugin slash commands now conflict with mcMMO health bar commands (/mobhealth is overriden by mcMMO)
I know this is mcMMO fault, and they have it ticketed it in their Mod page already, but It could be useful if you guys create a parallel alias too to resolve this problem and make users lives easier (something like /mh toggle and so on...).
Thanks in advance.
-
View User Profile
-
Send Message
Posted May 19, 2013SableDnah, Latest Heroes builds removed the method getHealth(), so now plugin is spamming each time mobs being hit. Watch this, if you can. Thanks