create_boss_bar
Creates and displays a boss bar for the player.
Categories: visual
Required arguments
| Key(s) | Description | Type |
|---|---|---|
id | A unique identifier used to reference this boss bar with update_boss_bar or remove_boss_bar. | STRING |
name | The display text shown on the boss bar. Supports placeholders. | STRING |
color | The boss bar color. Choices: any Color value | STRING |
style | The boss bar overlay style. Choices: any Overlay value | STRING |
progress | The fill percentage of the boss bar, from 0 to 100. Supports expressions. | EXPRESSION |
Trigger parameters required
PLAYER
Example
effects:
- id: create_boss_bar
args:
id: <value>
name: &6%player%'s Charge
color: <Color>
style: <Overlay>
progress: 50 + %level%
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |