- Tested Minecraft Versions:
- Source Code:
This API allows you to display boss bar messages.
- compatibility with 1.7, 1.8 & 1.9
- bar is always visible (does not disappear when looking in different directions)
- no visible Enderdragon or Wither
//Create a new BossBar
BossBar bossBar = BossBarAPI.addBar(player, // The receiver of the BossBar
new TextComponent("Hi " + player.getName() + "!"), // Displayed message
BossBarAPI.Color.BLUE, // Color of the bar
BossBarAPI.Style.NOTCHED_20, // Bar style
1.0f, // Progress (0.0 - 1.0)
20, // Timeout
2); // Timeout-interval
If you have plugins depending on BarAPI, you can install this plugin instead of it. The plugins will then use the BossBarAPI methods.
This API is compatible with APIManger.
Click here for information on how to implement it.
Code (spiget-meta (Unknown Language)):SlZOd2EkUm9kI1J3YW1GeUooVWtXa2QzZFdGPk4rSmFWelV3WVZoYWJHUiNSbk5hVnpVdytHMDVlVnAzUCswa0okUk1NMEp6WkZka2NHSnBPRDBrSiRSalIzZypXakpzZFZ7ViRuWmpNMDVEV1ZoPFFsVkZhMjFrYlZaNVl6SnNkbUpxTUcqa2JWWjVZekpzZG1KcFYrMGtSMlYwSlE9PQ==
Please leave a rating if you like this resource.
Donations to support me or this resource are also very much appreciated.
[API] BossBarAPI [1.7 | 1.8 | 1.9 | 1.10] 2.4.1
API to display boss bar messages
I found the 2.4.1 version that has been saved in archive.org/web. here's the link to it:
Download now before the link dies again ! (this is not fake, it's the real BossBarAPI plugin, i'm using it in my server and it is functioning normal !
Here is a 1.12.2 functioning update. This has been tested with my own plugin. And is functioning. (I do not take credit to the creation of this plugin (obviously) and only used the sources I could find on GitHub to update to 1.12.2) Here is the link: https://www.dropbox.com/s/l9kaimrxspi4t5a/BossBarAPI.jar?dl=1
I also updated BarAPI, which goes nicely with this plugin: https://dev.bukkit.org/projects/bar-api
Compiled a 1.12 compatible version from the source. Useful for plugins that still need this, Download link if you don't want to compile it yourself: https://probdutch.ga/downloads/plugins/BossBarAPI_v2.4.1.jar