Skip to content

Player Health Bar Mod v1.1

Choose a tag to compare

@eofitg eofitg released this 16 Aug 16:10
· 19 commits to main since this release

Features

  • Show health bars for other players (optionally yourself).
  • Hide health bars when sneaking.
  • Adjustable render distance, size, scale, and offset.
  • Horizontal or vertical orientation.
  • Dynamic color: green → yellow → red.

Commands

/healthbar <option> — in-game control.

  • toggle — Enable/disable health bars
  • self — Show/hide your own health bar
  • sneak — Hide when sneaking
  • distance <value> — Set max render distance
  • scale <value> — Adjust overall scale
  • barwidth <value> — Set width
  • barheight <value> — Set height
  • barmargin <value> — Space between bar and name
  • xoffset <value> / yoffset <value> / zoffset <value> — Adjust position
  • vertical — Toggle vertical/horizontal display
  • reload — Reload configuration

Configuration

All options can be changed in HealthBarMod.cfg or via commands.

  • enabled, showSelf, hideWhenSneaking, vertical — booleans
  • maxDistance, scale, barWidth, barHeight, barMargin, xOffset, yOffset, zOffset — numbers