HomeJavaModsSimple Health Bars
Simple Health Bars
[​IMG] Made in Germany with love (and beer)
Did you ever wanted to add health bars dynamically to mobs when you spawn them via /summon and don't want every mob to have a bar? Or do you want different health bars for different mobs? Then this is the plugin for you!

SimpleHealthBars is a Bukkit plugin that aims at creators of adventure maps and minigames who want to build things dynamically ingame with Redstone and Command Blocks. This plugin hands over one of the resource intensive mechanics to a Bukkit plugin which can use events in a much more efficient way than Vanilla Minecraft via clocks.


How it works
Mobs with special variables in the name will get health bars via a custom name. Every damage the mob takes it will recalculate the bar and modifies the custom name tag of the mob.
For persistence over server restarts every mob will get saved into the config with their UUID and originally inputted custom name.
On summoning a mob the plugin will replace the following variables with the bar, every other part of the custom name of the mob will remain!
This plugin will not add health bars to every mob or to players!
It only works when summoning a mob with the variables in the custom name tag!

Donations
Programming is time intensive and I would really appreciate your support!
So if you can afford it or make commercially use of this plugin feel free to buy me a beer.
Patreon with rewards: [​IMG]
Paypal: https://s.moep.tv/donate
Ðoge: D7G4Svo7GTNHpuhjwUBj2k7qANnZHwYD4p
BTC: 12dCmCYHMD14C2QSsZ4YNF65rXuLfchZZ2

Variables
{heartbar} - Bar with hearts [ image ]
{pipebar} - Bar with pipes (|) [ image ]
{healthshort} - Short health (e.g. 10/16) [ image ]
{bossbar} - Boss life bar
(Available in the latest dev-build)
CustomNameVisibleFix
You can also enable a workaround for Mojang not fixing the CustomNameVisible-Bug in the config if you want to always display the health bar over the head of mobs. Otherwise the mob's name and therefor health bar will only be visible if the player hovers over the mob!
Please note that this uses additional entities and will therefor impact client and server performance!

Source
The source is available on GitHub.

Buildserver
Dev builds can be found on the Minebench.de Jenkins .
Other Resources
[​IMG]
This resource is distributed without any warranty or liability by the author.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Simple Health Bars is a free Minecraft Java mod. Downloaded 2,410 times (via Spigot). Download it and open it directly in the game.

Explore more