Sueta

[API] BossBarAPI [1.7 | 1.8 | 1.9 | 1.10]

2.4.1

API to display boss bar messages

·Plugin

This API allows you to display boss bar messages.


I enjoy making all of my plugins for free, but I need your help to keep them for free.

Features

  • 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

Usage

//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

BarAPI
If you have plugins depending on BarAPI, you can install this plugin instead of it. The plugins will then use the BossBarAPI methods.

Maven

APIManager
This API is compatible with APIManger.
Click here for information on how to implement it.

Links

SlZOd2EkUm9kI1J3YW1GeUooVWtXa2QzZFdGPk4rSmFWelV3WVZoYWJHUiNSbk5hVnpVdytHMDVlVnAzUCswa0okUk1NMEp6WkZka2NHSnBPRDBrSiRSalIzZypXakpzZFZ7ViRuWmpNMDVEV1ZoPFFsVkZhMjFrYlZaNVl6SnNkbUpxTUcqa2JWWjVZekpzZG1KcFYrMGtSMlYwSlE9PQ==

Please leave a rating if you like this resource.
Donations to support me or this resource are also very much appreciated.

Similar projects

Plugin →