1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon skript-bossbar 1.0

Easily add bossbars with lots of customizability!

  1. _tud
    Contributors:
    _tud
    Supported Minecraft Versions:
    • 1.17
    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

    [​IMG]


    Dependencies

    Required:



      • Skript
      • Java 16 or higher
    Download Skript by clicking here


    Syntax
    Code (YAML):
    1. - EffBossbarAddFlag: add [flag] %barflag% to [flags of] [the] boss( |-|)bar %bossbar%
    2. - EffBossbarAddPlayer: add %players% to [the] boss( |-|)bar %bossbar%
    3. - EffBossBarDelete: (remove|delete) [the] boss( |-|)bar %bossbar%
    4. - EffBossbarRemoveFlag: remove [flag] %barflag% from [flags of] [the] boss( |-|)bar %bossbar%
    5. - EffBossBarRemovePlayer: remove %players% from [the] boss( |-|)bar %bossbar%
    Code (YAML):
    1. - ExprBossbarColor: [the] colo[u]r of [the] boss( |-|)bar %bossbar%
    2. - ExprBossbarCreate: [create] [a] new boss( |-|)bar
    3. - ExprBossbarPlayer: [all] [of] [the] players (of|in) [the] boss( |-|)bar %bossbar%
    4. - ExprBossbarProgress: [the] progress of [the] boss( |-|)bar %bossbar%
    5. - ExprBossbarStyle: [the] [boss( |-|)bar] style of [the] boss( |-|)bar %bossbar%
    6. - ExprBossbarTitle: [the] (title|name) of [the] boss( |-|)bar %bossbar%
    7. - ExprBossbarVisibility: [the] visib(le|ility) of [the] boss( |-|)bar %bossbar%
    Code (YAML):
    1. - CondBossbarHasFlag: [the] [boss( |-|)bar] %bossbar% (1¦has|2¦does(n't| not) have) [the] flag %barflag%
    2. - CondBossBarIsVisible: [the] [boss( |-|)bar] %bossbar% (1¦is|2¦is(n't| not)) visible %barflag%


    Examples
    Code (YAML):
    1. command /bossbar:
    2.    trigger:
    3.      set {bossbar} to new bossbar
    4.       set name of bossbar {bossbar} to "&a&lBoss bar titles support Minecraft color coding!"
    5.       set color of bossbar {bossbar} to red
    6.       add all players to bossbar {bossbar}
    Code (YAML):
    1. command /bossbar:
    2.    trigger:
    3.       set {bossbar} to new bossbar
    4.       set style of bossbar {bossbar} to segmented 6
    5.       add player to bossbar {bossbar}



    Screenshots
    [​IMG]


    [​IMG]