Skip to content
[/craft]

Create a Custom Boss Bar

Show a custom boss health bar at the top of the screen

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Creates a custom boss bar at the top of the screen with your own name, color, and progress. /bossbar add makes it (the id becomes minecraft:<name>), then /bossbar set adjusts color, style, max, value, and which players see it. Change the value with /bossbar set minecraft:event value <n> to drive a timer or progress meter. Java Edition only.

/bossbar add event {text:"Event Timer"} /bossbar set minecraft:event color red /bossbar set minecraft:event players @a
118 characters

How to use

  1. Open chat (T on Java).
  2. Run /bossbar add event {text:"Event Timer"} to create it.
  3. Run /bossbar set minecraft:event players @a so players can see it.
  4. Update /bossbar set minecraft:event value <n> to move the bar.

Related commands

Display big center-screen text to a player

/title @a title {text:"Welcome!",color:gold,bold:true}

Show a smaller second line under a screen title

/title @a subtitle {text:"Good luck out there",color:yellow}

Display text just above the hotbar

/title @a actionbar {text:"Objective updated",color:aqua}

Display an objective's scores on the right side of the screen

/scoreboard objectives setdisplay sidebar points

Become nearly invincible

/effect give @p resistance 999999 255 true

Switch yourself into Creative mode

/gamemode creative