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 Oct 16, 2012@LordKainzo
What version of Mobs you using? Looks like your on 5.1.2 With new Mobs.
5.1.3 Just out fix's this :)
-
View User Profile
-
Send Message
Posted Oct 15, 2012today
[MobHealth] 5.1.2 is available. You're using 5.1.3
-
View User Profile
-
Send Message
Posted Oct 15, 2012@SableDnah
That's fine, people don't NEED to know how much damage is done to other players. Either way is fine with me, I just wanted to figure out if it was on your end or mine :D
-
View User Profile
-
Send Message
Posted Oct 15, 2012@SableDnah
http://pastie.org/5064627
Seeing that with latest Heroes and MobHealth
-
View User Profile
-
Send Message
Posted Oct 14, 2012An amazing Plugin! A must have!
-
View User Profile
-
Send Message
Posted Oct 12, 2012@Kiak
Actually - I think I can fairly easily... the skill name is passed over to the notify script.. I may be able to work out a config that does it - will let you know.
-
View User Profile
-
Send Message
Posted Oct 12, 2012@UltrafaceGuy
Yeah - both of those plugins change the damage amount for players. Looks like on of them sets the damage to 0 then applies it it self outside of the event :/
I'll see what i can do - but short of using MobHealths API to add notices to the offending plugin i'm not sure what can be done.
-
View User Profile
-
Send Message
Posted Oct 11, 2012Still can't get pvp text working, current version. If it helps, turning on hidden no damage makes it say "Play took 0 damage. Killed"
It is probably one of these that conflicts. http://dev.bukkit.org/server-mods/changedamage/ http://dev.bukkit.org/server-mods/bettercombat/ http://dev.bukkit.org/server-mods/levels-plus/
-
View User Profile
-
Send Message
Posted Oct 10, 2012Hey man i wonder if you could add heroes "player used skill" into the print out for mobhealth
It would look so cool with RPG notifications to see "Stun!" "Silence!" "Disarm!" etc popping up over player heads with spout
Just a thought. Loved your plugin since beta ! yeehaa
-
View User Profile
-
Send Message
Posted Oct 8, 2012@xMinecraft
Hi - can you raise a ticket with bukkit version, mobhealth version - and version of any plugings your running - esp heroes, bloodmoon, like a boss, mobs etc...
Oh - and the full error from your log - you can use the past feature in the top bar of this page for it.
-
View User Profile
-
Send Message
Posted Oct 7, 2012Could not pass event EntityDamageByEntityEvent to MobHealth
-
View User Profile
-
Send Message
Posted Oct 5, 2012@MysticCity
Newest is a bit vague - there could be dev versions only posted on the github for example... I'm gonna assume you mean "5.1.2". When doung bug reports always try to give exact versions not just newest ;)
On that note are you running bloodmoon v0.16 or v0.17?
Also I saw heroes methods in that debug - what version of Heroes are you running...
-
View User Profile
-
Send Message
Posted Oct 4, 2012sorry for that... yes i use bloodmoon and i use the newest version of monhealth
-
View User Profile
-
Send Message
Posted Oct 3, 2012@MysticCity
Firstly - use pastie - or open a ticket - thats wayyy to much text for a comment...
Secondly - "uk/co/jacekk/bukkit" That's looking for Bloodmoon - and this tells me your using 5.1.0 as its the bug I refer to in bold at the top of this page.
I know you haven't "tried all versions" as 5.1.2 fixed this - and 5.0.0 doesn't even have any references to "uk/co/jacekk/bukkit" in the code.
-
View User Profile
-
Send Message
Posted Oct 3, 20122012-10-03 13:16:11 [SEVERE] Could not pass event WeaponDamageEvent to MobHealth org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) 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 com.herocraftonline.heroes.listeners.HDamageListener.onEntityDamageCore(HDamageListener.java:182) at com.herocraftonline.heroes.listeners.HDamageListener.onEntityDamage(HDamageListener.java:246) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.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:330) 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.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.EntityAnimal.damageEntity(SourceFile:124) at net.minecraft.server.EntityHuman.attack(EntityHuman.java:762) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1020) at pgDev.bukkit.DisguiseCraft.injection.DCNetServerHandler.a(DCNetServerHandler.java:45) at net.minecraft.server.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) 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:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NoClassDefFoundError: uk/co/jacekk/bukkit/baseplugin/v1/config/PluginConfigKey at me.sablednah.MobHealth.API.MobHealthAPI.getMobHealth(MobHealthAPI.java:298) at me.sablednah.MobHealth.HeroesEventListener.WeaponDamageEvent(HeroesEventListener.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.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:330) ... 31 more 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) ... 38 more
This time i get all time. I Use Bukkit v 1.3.1 and i try all versions of your plugin
-
View User Profile
-
Send Message
Posted Oct 1, 2012@NekozePAN
Sounds like you set it up correctly. I'll check it re-reads the players.yml on login...
-
View User Profile
-
Send Message
Posted Oct 1, 2012Hi, i'm using v5.1.2.
When a player is logged in, the state of the toggle does not seem to be restored.
(I set "defaultToggle: false" configure)
1.login
2.mobhealth is OFF
3.execute toggle command
4.mobhealth is ON
(players.yml's player state is set "true")
5.logout
6.login
7.mobhealth is OFF <- Is not ON?
I have misunderstood how to set it up? :S
-
View User Profile
-
Send Message
Posted Sep 28, 2012@MCv4d3vil There was a batch script wulfspider put up to launch the launcher with a parameter to force it to use a specific build number... but I can't find it now.
Best bet is just to wait a little longer. Wulf commented today "We're getting there." when they do this where the jenkins has loads of builds but the're not in the launcher - it usually means their getting close to a big release ;)
-
View User Profile
-
Send Message
Posted Sep 28, 2012@SableDnah
So, how can we use spoutcraft build 1721 or higher ? Because I try new launchers (release today here : http://build.spout.org/view/Legacy/job/SpoutcraftLauncher/) & they crash at their start... I enjoy so much your plugin I know it's not your fault, but I don't understand why they stuck their build at 1720 >< Any idea to get news builds working ?
GL ! :)
-
View User Profile
-
Send Message
Posted Sep 27, 2012@y1985
You need SpoutPlugin on the server that MobHealth is on. Then when using spout client the non-chat messages are available.
Please note that you need spoutcraft build 1721 or higher... the launcher currently only launches 1720