Boss Bar From Key (Expression) — Skript
Addon: Skript · Category: Expression · Since: 2.16
Syntax
[the] boss[ ]bar[s] (from|with) [the] (id|key)[s] %strings%Description
Obtains a keyed boss bar from the specified key.
Examples
set {_bar} to a keyed red boss bar with key "example":
set title of event-bossbar to "My Test Title"
set color of event-bossbar to red
set progress of event-bossbar to 86%
set style of event-bossbar to 6 notches
// some structure later on and you need to access it
set the title of the boss bar with the key "example" to "My Updated Test Title"