Name | BossBar |
Syntax | bossbar ({auto}/create/update/remove) [<id>] (players:<player>|...) (title:<title>) (progress:<#.#>) (color:<color>) (style:<style>) (options:<option>|...) (uuid:<uuid>) |
Short Description | Shows players a boss bar. |
Full Description | Displays a boss bar at the top of the screen of the specified player(s).
You can also update the values and remove the bar. You can CREATE a new bossbar, UPDATE an existing one, or REMOVE an existing one. The default 'auto' will either 'create' or 'update' depending on whether it already exists. Requires an ID. Progress must be between 0 and 1. Valid colors: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW. Valid styles: SEGMENTED_10, SEGMENTED_12, SEGMENTED_20, SEGMENTED_6, SOLID. Valid options: CREATE_FOG, DARKEN_SKY, PLAY_BOSS_MUSIC. The UUID can optionally be specified, and will be sent to the client. Be careful to not overlap multiple bars with the same UUID. If not specified, it will be random. |
Related Tags | <server.current_bossbars> Returns a list of all currently active boss bar IDs from bossbar.
<server.bossbar_viewers[<bossbar_id>]> Returns a list of players that should be able to see the given bossbar ID from bossbar.
<PlayerTag.bossbar_ids> Returns a list of all bossbars from bossbar that this player can see. (...)
<entry[saveName].bar_uuid> returns the bossbar's UUID.
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Group | server |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/server/BossBarCommand.java#L34 |