Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Simple health bar plugin.

Features

  • Configurable bossbar color, style, title.
  • Updating bossbar when mob takes damage.
  • Different title option when mob is dead.
  • Blacklisted entity types list.
  • Toggle command (/healthbar toggle) for each player.
  • Configurable bossbar duration.

Video

NOTE

This plugin was made in 1.19.2 and didn't tested on older versions.

Example config.yml

bar:
  #Placeholders:
  #<entity> = entity's translated name
  #<name> = entity's name
  # <name> will show <entity> if the entity doesn't have name.
  #<health> = entity's health
  #<max> = entity's max health
  #<damage> = given damage
  title:
    living: "<gray><health>/<max> <reset><name> -<damage><red>♥"
    dead: "<gray><health>/<max> <dark_gray>☠ <name> ☠ <reset>-<damage><red>♥"
  #https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/bossbar/BossBar.Overlay.html
  overlay: PROGRESS
  #https://jd.adventure.kyori.net/api/4.11.0/net/kyori/adventure/bossbar/BossBar.Color.html
  color: RED
  #in ticks, 20 = 1 second and 100 = 5 seconds.
  time: 100

blacklist:
  - ENDER_DRAGON
  - WITHER
  - PLAYER
  - ARMOR_STAND

messages:
  toggle:
    on: "<green>Healthbar turned on."
    off: "<red>Healthbar turned off."
  reload: "<green>config reloaded succesfully."

External resources



Project members

UsainSrht

Owner


Technical information

License
MIT
Project ID