How to create BossBar messages

Discussion in 'Spigot Plugin Development' started by Bolt, May 20, 2015.

  1. How would you display boss bar messages like the ones that are shown when an enderdragon appears? I've looked into the BarAPI but it does not display the boss bar to other clients aside from the one who spawned it. Also, it still keeps the enderdragon visible.
  2. BarAPI can display titles to multiple clients, you would just need to loop through multiple players. BarAPI is the best way I've found to do it, and you might be able to do it through packets or something, but I think a lot of the boss bar is done client side. The last time I checked on a big network (I think Mineplex), they still had a dragon.
  3. Here you have the GitHub of the BarAPI. You can see how this runs, and then make your own boss bar
  4. Ok thanks. I was just trying to see if there was a better way. I guess I'll make my own method but spawn the enderdragon below bedrock so it's not visible