/bossbar
op 2TextA boss bar is a persistent progress bar at the top of the screen. Creating one is not enough to see it — you also have to add players to it, which is the step most people miss.
Command1 to fix
15
- Bar id is required.
Press C to copy
Bar id is required.
Previewapproximate
Nothing to show yet
1Plain words
Examples
- Create a bar
/bossbar add my_pack:boss {"text":"The Warden","color":"dark_red"} - Show it to everyone
/bossbar set my_pack:boss players @a
Common questions about /bossbar
›Why can I not see my new boss bar?
A new bar has no players attached. Run /bossbar set <id> players @a to show it. It is also hidden while its value is 0.
›How do I make the bar track something?
Use /execute store result bossbar <id> value run … so the bar’s value follows whatever that command returns.