Health Bars

Learn how to customize and configure health bars!

Configuring Config

Health bars can be configured through both the resource pack and the generated config file.

Here is an example config:

config.yml
health-bar:
  color: DB3A34 # or any hex color
  damage-duration: 0.5 # in seconds
  vertical-offset: 0.6 # how many blocks above the entity the health bar is
  • color: The color of the bar.

  • damage-duration: How long the damage animation lasts.

  • vertical-offset: The height of the bar above an entity's head.

You can also adjust the color and vertical offset of the bubble bar through the config.

config.yml
bubble-bar:
  color: 0066ff # or any hex color
  vertical-offset: 1.6 # how many blocks above the entity the health bar is
  • color: The color of the bar.

  • vertical-offset: The height of the bar above an entity's head.

Once you have changed the textures, make your way over the config file. You should not need to edit this unless you have changed the unicode characters as mentioned above. The way Vitalo works is by replacing unicode characters with images. These values in the config tell the plugin which characters are what. Here is an example:

config.yml
unicode:
  health-bar:
    HEALTH_PIXEL: "\uE002"
    NO_HEALTH_PIXEL: "\uE003"
    DAMAGE_PIXEL: "\uE009"
    FRAME: "\uE010"
    FLASHING_FRAME: "\uE012"

Last updated