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
  damage-duration: 0.5
  height: 0.6
  height-with-nametag: 1.4
  • color: The color of the bar in HEX format.

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

  • health: The height of the bar above an entity's head.

  • height-with-nametag: The height of the bar when the entity's nametag is showing

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

config.yml
bubble-bar:
  color: 0066ff
  height: 1.6
  height-with-nametag: 2.0
  • color: The color of the bar in HEX format

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

  • height-with-nametag: The height of the bar when the entity's nametag is showing

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: "\uE001"
    NO_HEALTH_PIXEL: "\uE002"
    DAMAGE_PIXEL: "\uE003"
    FRAME: "\uE004"
    FLASHING_FRAME: "\uE005"

Last updated