effect
create bossbar [<id>]The id names the bar so it can be updated or removed later; without one the id is default
create bossbar titled "&r&lEvent Boss" with color red with progress 100 for all playersTry it← All of the Docs What players see
create bossbar [<id>]The id names the bar so it can be updated or removed later; without one the id is default
create bossbar titled "&r&lEvent Boss" with color red with progress 100 for all playersTry ittitled <text>The text on the bar
create bossbar titled "&r&lEvent Boss" with color red with progress 100 for all playersTry itwith color <colour>pink, blue, red, green, yellow, purple or white (the default)
create bossbar titled "&r&lEvent Boss" with color red with progress 100 for all playersTry itwith progress <0-100>How full the bar is, in percent; the default is 100
create bossbar titled "&r&lEvent Boss" with color red with progress 100 for all playersTry itwith segments <n>since 1.7.3Notches along the bar: 6, 10, 12 or 20. Any other number gives a plain bar
create bossbar "lives" titled "&cLives" with color red with segments 10 with progress 70 for playerTry itfor <who>Who sees it
create bossbar titled "&r&lEvent Boss" with color red with progress 100 for all playersTry itfor <n> secondsOptional: remove the bar after this long
create bossbar "raid" titled "&cRaid: %{_left}% left" with progress {_left} / 8 * 100 for player for 30 secondsTry itfor <n> seconds counting downsince 1.7.59The bar empties by itself as the time runs, and is removed at the end
command /round:
trigger:
create bossbar "round" titled "&cRound ends" for all players for 30 seconds counting downTry itremove bossbar [<id>]Remove the bar for everyone
remove bossbar "raid"Try itcreate bossbar titled "&r&lEvent Boss" with color red with progress 100 for all players
create bossbar "raid" titled "&cRaid: %{_left}% left" with progress {_left} / 8 * 100 for player for 30 seconds
remove bossbar "raid"
| Part | Meaning |
|---|---|
create bossbar [<id>] | The id names the bar so it can be updated or removed later; without one the id is default |
titled <text> | The text on the bar |
with color <colour> | pink, blue, red, green, yellow, purple or white (the default) |
with progress <0-100> | How full the bar is, in percent; the default is 100 |
with segments <n> | Notches along the bar: 6, 10, 12 or 20. Any other number gives a plain bar |
for <who> | Who sees it |
for <n> seconds | Optional: remove the bar after this long |
for <n> seconds counting down | The bar empties by itself as the time runs, and is removed at the end |
remove bossbar [<id>] | Remove the bar for everyone |
create bossbar line run again with a new progress.all players is also shown to players who join later.