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 mlopezv mlopezv May 21, 2013 at 11:38 UTC - 0 likes

    This 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.

  • Avatar of demellion demellion May 19, 2013 at 11:28 UTC - 0 likes

    SableDnah, Latest Heroes builds removed the method getHealth(), so now plugin is spamming each time mobs being hit. Watch this, if you can. Thanks

  • Avatar of SableDnah SableDnah May 15, 2013 at 09:08 UTC - 0 likes

    @iltkamil: Go

    I've not tested it yet. But if Ancient RPG use the new setMaxHelth() functions to control player/entity health then it should work "out of the box"

    "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 May 15, 2013 at 09:06 UTC - 0 likes

    @McPixel: Go

    @Xarinor: Go

    I'll try to make the character used for the bar customizable for next release.

    As for the visibility range - Thats set client side.

    The only alternative is complex distance scanning to check where all players are in relation to each mob and then removing bars on those outside range - LagMonster loves his idea - lol

    However I HAVE noticed that names with colour characters in them are always visible - whereas those without only show when looking at the entity. I would love for this to be fixed - but I THINK its a client side bug (or possibly - an undocumented surprise feature).

  • Avatar of SableDnah SableDnah May 15, 2013 at 09:02 UTC - 0 likes

    @tarahere81: Go

    If magicspells assigns an entity to the damage cause then it should show - but i havn't tested it...

  • Avatar of SableDnah SableDnah May 15, 2013 at 09:00 UTC - 0 likes

    @leda200042004: Go

    When right clicking? What's the name of the villages before (can you see the closing ] in the bar)

  • Avatar of SableDnah SableDnah May 15, 2013 at 08:59 UTC - 0 likes

    @kilianl111111: Go @mlopezv: Go

    Will catch that null pointer and examine any changes ThaH3lper has made :)

  • Avatar of SableDnah SableDnah May 15, 2013 at 08:58 UTC - 0 likes

    @donsavage1: Go

    I've a few people reporting this.

    If its showing 0% then your settings are correct. I'm still decoding what causes this.

    Does it remain at 0 even when you take damage?

    If you could open a ticket with as much info as possible - give exact version (don't say "latest") for your craftbukkit, and any other plugins which affect HP or damage in any way.

  • Avatar of SableDnah SableDnah May 15, 2013 at 08:55 UTC - 0 likes

    @ok12Boss: Go

    It works fine with the HealthBars plugin - just set showPlayerHeadHealth and showMobHeadHealth to false to disable MobHealth's bars - then HealthBar will handle the bars - and MobHealth Damage notifications.

  • Avatar of ok12Boss ok12Boss May 13, 2013 at 16:02 UTC - 0 likes

    @kilianl111111: Go

    No, i mean hoping this plugin work with this plugin

    http://dev.bukkit.org/server-mods/health-bar/

Facts

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

Authors

Relationships

Optional dependency
SpoutPlugin