Skip to main content

/bossbar

Creates and manages custom boss bars displayed at the top of players' screens. Boss bars can show progress, notifications, and custom messages.

Category
Bossbar
Permission Level
Game Master
Version Added
1.13

Syntax

/bossbar <add|get|list|remove|set> ...

Parameters

NameTypeRequiredDescription
actionliteralRequiredadd = create; get = query value; list = show all; remove = delete; set = modify properties.
idresourceOptionalThe boss bar ID (namespaced, e.g., my_pack:my_bar).
argumentsvariousOptionalVaries by action. For set: color, max, name, players, style, value, visible.

Examples

/bossbar add my_server:timer {"text":"Event Timer","color":"gold"}

Creates a new boss bar with the ID "my_server:timer" and gold-colored text.

/bossbar set my_server:timer players @a

Shows the timer boss bar to all players.

/bossbar set my_server:timer value 75

Sets the boss bar's current value to 75 (out of max).

Common Mistakes

Notes

Boss bar properties: name (display text), color (pink/blue/red/green/yellow/purple/white), style (progress/notched_6/notched_10/notched_12/notched_20), max, value, visible, players. Boss bars persist across server restarts.

Related Commands

Need a Minecraft server?

Try these commands on Astroworld or host your own server.

Try Astroworld Hosting