MobHealth

Screenshot - RPG style notification

Notification

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.

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: 6.1.2 NEW HEALTHBARS!! - Requires 1.5.1 r0.2+ (build #2736+)

Curse Mod Spotlight

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

Changelog

6.1.1: Detect scoreboard API and disable new health bars if not found.
Configurable player health label.
Fix for Villager Trade crash.

6.1.0: New healthbars options.

6.0.0: Updated support for Heroes, Like A Boss and Corruption.
Added Auto Updater. - Edit config 'doUpdate' to disable.

5.3.3: Update to support Bloodmoon 0.20.2

5.3.2: Update for 1.4.5 RB1.0 compatibility.

5.3.1: Fixed player names not showing sometimes.

5.3.0: Fixed Endermen and WithSkelly names.
Update to support LikeAboss 1.6.6
Update to support Bloodmoon 0.19
NEW Support for EpicBoss 2.3.8

Read full change log here.

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 :)

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of borigaro borigaro Jun 18, 2013 at 00:23 UTC - 0 likes

    Mods loaded:

    Bedhealth BringAllHere ChatManager CreeperHeal dynmap-1.7.1 EssentialsAntiBuild EssentialsChat Essentials EssentialsProtect EssentialsSpawn LightningOnStrikev1.0 LWC mcMMO MobHealth Modifyworld NoCheatPlus PermissionsEx SimplePlayerList Timeismoney TimeTracker-1.4

    edit: ticket 58 created

    Last edited Jun 18, 2013 by borigaro
  • Avatar of SableDnah SableDnah Jun 17, 2013 at 08:46 UTC - 0 likes

    @borigaro: Go

    Can you add more info about what plugins you're using so i can see if theres any commonality.

    In fact prolly gonna need a ticket for this.

    "All this technology and it still takes forever to get anywhere"

    Mob Health

    MobHealth: Simple plugin to let you know the damage you just caused to a mob, and how much health it has left. [ Donate ]

  • Avatar of SableDnah SableDnah Jun 17, 2013 at 08:45 UTC - 0 likes

    @mat41997: Go

    Not sure why you felt the need to post a link to another plugin here - bit rude tbh. Heath Bar is an awesome plugin - I even traded bug fixes with the author, and if you just want health bars - his plugin is always gonna be a few features ahead of me. MobHealth's focus is damage notifications, health bars is just a logical extra feature and i will be adding more control options for the bars in the future.

  • Avatar of SableDnah SableDnah Jun 17, 2013 at 08:42 UTC - 0 likes

    @Paril101: Go

    Thanks for the pull req - i'll tweak it to be even more flexable.. eg add some more options like only showing name for custom mobs etc.

  • Avatar of borigaro borigaro Jun 17, 2013 at 00:20 UTC - 0 likes

    @sablednah I have the same problem @malaxan is having, started the other day, can't see mob name (which i want to,) except here and there for a moment. Normally the name text is overwritten with red or grey hearts. I removed your mod, blew away the .yml files, reloaded the server, and verified i am running the most recent .jar. All to no avail. :(

  • Avatar of mat41997 mat41997 Jun 16, 2013 at 05:12 UTC - 0 likes

    Pleas add style to useBarForMobs:

  • Avatar of mat41997 mat41997 Jun 15, 2013 at 16:37 UTC - 0 likes
    Last edited Jun 17, 2013 by SableDnah
  • Avatar of WhitePhoenix0 WhitePhoenix0 Jun 12, 2013 at 16:59 UTC - 0 likes

    This is an awesome plugin, but as always I have a few suggestions, I think support to disable Citizen npcs health bars should be added, and there should also be the option to disable health bar for a certain entity, Thanks you for creating this, it's deifnently in my top 5 fave plugins.

    Last edited Jun 12, 2013 by WhitePhoenix0
  • Avatar of Paril101 Paril101 Jun 06, 2013 at 18:42 UTC - 0 likes

    @SableDnah: Go

    Health bars are prefixed by the mob name (ie, "Zombie Pigman: [||||||||||||||||]"). I find this a bit.. redundant for us, because we don't plan to have special named bosses, and we all know what a Zombie Pigman is :) It also shoves the bar way to the right of the name, which is very confusing if you're fighting a large group of mobs.

    I think a feature in lang.yml to customize the format of the tag would be cool; something like.. tagFormat: "%n: %h" ...where %n is replaced with mob name and %h is replaced with health formatting.

    Basically I -only- want health bars. No names, no notifications (which I have figured out how to disable, so no biggie there), just bars. If you'd like, I will set up a pull request for you.

    EDIT: https://github.com/Sablednah/MobHealth/pull/5

    Last edited Jun 06, 2013 by Paril101
  • Avatar of SableDnah SableDnah Jun 06, 2013 at 08:59 UTC - 0 likes

    @Paril101: Go

    Yeah side effect, damage reports is the plugins focus - healthbars was 'just' a complementary feature.

    If forgot about squids (i always do!), serves e right for relying on instanceof Animal.

    Can you explain more about what you envisioned (maybe in a pm?) at the moment you can turn on or off the health bar system to just leave damage notifications. - and disable them on villagers and animals.

Facts

Date created
Jan 10, 2012
Categories
Last update
May 29, 2013
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
MobHealth
Downloads
281,661
Recent files

Authors

Relationships

Optional dependency
SpoutPlugin