skript-bossbar is a boss bar Skript addon for a customizable and easy way to create and use Minecraft boss bars!
If you have any questions, please ask me on discord @ _tud#0001
Dependencies
Required :
Download Skript by
clicking here
Syntax
Spoiler: Effects
Code (YAML):
- EffBossbarAddFlag
: add
[ flag
]
%barflag% to [flags of] [the] boss( |-|)bar %bossbar%
- EffBossbarAddPlayer
: add
%players% to [the] boss( |-|)bar %bossbar%
- EffBossBarDelete
:
( remove|delete
)
[ the
] boss
( |-|
) bar
%bossbar%
- EffBossbarRemoveFlag
: remove
[ flag
]
%barflag% from [flags of] [the] boss( |-|)bar %bossbar%
- EffBossBarRemovePlayer
: remove
%players% from [the] boss( |-|)bar %bossbar%
Spoiler: Expressions
Code (YAML):
- ExprBossbarColor
:
[ the
] colo
[ u
] r of
[ the
] boss
( |-|
) bar
%bossbar%
- ExprBossbarCreate
:
[ create
]
[ a
] new boss
( |-|
) bar
- ExprBossbarPlayer
:
[
all
]
[ of
]
[ the
] players
( of|in
)
[ the
] boss
( |-|
) bar
%bossbar%
- ExprBossbarProgress
:
[ the
] progress of
[ the
] boss
( |-|
) bar
%bossbar%
- ExprBossbarStyle
:
[ the
]
[ boss
( |-|
) bar
] style of
[ the
] boss
( |-|
) bar
%bossbar%
- ExprBossbarTitle
:
[ the
]
( title|name
) of
[ the
] boss
( |-|
) bar
%bossbar%
- ExprBossbarVisibility
:
[ the
] visib
( le|ility
) of
[ the
] boss
( |-|
) bar
%bossbar%
Spoiler: Conditions
Code (YAML):
- CondBossbarHasFlag
:
[ the
]
[ boss
( |-|
) bar
]
%bossbar% (1¦has|2¦does(n't| not) have) [the] flag %barflag%
- CondBossBarIsVisible
:
[ the
]
[ boss
( |-|
) bar
]
%bossbar% (1¦is|2¦is(n't| not)) visible %barflag%
Examples
Spoiler: Example 1
Code (YAML):
command /bossbar :
trigger
: set
{ bossbar
} to new bossbar
set name of bossbar
{ bossbar
} to
"&a&lBoss bar titles support Minecraft color coding!"
set color of bossbar
{ bossbar
} to red
add
all players to bossbar
{ bossbar
}
Spoiler: Example 2
Code (YAML):
command /bossbar :
trigger
: set
{ bossbar
} to new bossbar
set style of bossbar
{ bossbar
} to segmented 6
add player to bossbar
{ bossbar
}
Screenshots