Client-side bossbars
Page describing how to use syntaxes for client-side bossbars.
What is the client-side boss bar? The regular boss bar which you can easily customize for each player individually using packets.
How to create the client-side boss bar? effect: create clientside bossbar with uuid %string% title %string% health %number% color (1¦PINK|2¦BLUE|3¦RED|4¦GREEN|5¦YELLOW|6¦PURPLE|7¦WHITE) division %integer% darksky %boolean% music %boolean% fog %boolean% for %players% UUID is used to later edit the boss bar. Health is in the range between 0 and 1, you can go over 2 to create glitched boss bar if you want. Use divisions between 1 and 5. Example: create clientside bossbar with uuid {_uuid} title "&b&lCLIENT SIDE BOSSBAR" health 0.5 color RED division 4 darksky true music true fog true for player
How to update health of client-side boss bar? effect: update health of clientside bossbar with uuid %string% to %number% for %players% Example: update health of clientside bossbar with uuid {_uuid} to 0 for player
How to update name of client-side boss bar? effect: update title of clientside bossbar with uuid %string% to %string% for %players% Example: update title of clientside bossbar with uuid {_uuid} to "New title" for player
How to update style of client-side boss bar? effect: update style of clientside bossbar with uuid %string% to color (1¦PINK|2¦BLUE|3¦RED|4¦GREEN|5¦YELLOW|6¦PURPLE|7¦WHITE) division %integer% for %players% Example: update style of clientside bossbar with uuid {_uuid} to color GREEN division 1 for player
How to update flags of client-side boss bar? effect: update flags of clientside bossbar with uuid %string% to darksky %boolean% music %boolean% fog %boolean% for %players% Example: update flags of clientside bossbar with uuid {_uuid} to darksky true music true fog false for %players%
How to remove client-side boss bar? effect: remove clientside bossbar with uuid %string% for %players% Example: remove clientside bossbar with uuid {_uuid} for player
Last updated
Was this helpful?