skript-bossbar

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

_tud

Staff member
Moderator
Supporter
Jan 4, 2022
3
2
3
18
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:
  • Skript
  • Java 16 or higher
Download Skript by clicking here


Syntax
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%
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%
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
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}
YAML:
command /bossbar:
   trigger:
       set {bossbar} to new bossbar
      set style of bossbar {bossbar} to segmented 6
      add player to bossbar {bossbar}


Screenshots
HD1WITX.png



LW4fYgg.png