create_boss_bar

Creates and displays a boss bar for the player.

Categories: visual

Required arguments

Key(s)DescriptionType
idA unique identifier used to reference this boss bar with update_boss_bar or remove_boss_bar.STRING
nameThe display text shown on the boss bar. Supports placeholders.STRING
colorThe boss bar color.
Choices: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
STRING
styleThe boss bar overlay style.
Choices: PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12, NOTCHED_20
STRING
progressThe 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: BLUE|GREEN|PINK|PURPLE|RED|WHITE|YELLOW
      style: PROGRESS|NOTCHED_6|NOTCHED_10|NOTCHED_12|NOTCHED_20
      progress: 50 + %level%

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue