public interface BossBarsService
Modifier and Type | Method and Description |
---|---|
BossBar |
createBossBar(org.bukkit.entity.Player player,
java.lang.String message,
BossBar.Color color,
double ticksToRun)
Create a new boss-bar.
|
BossBar createBossBar(org.bukkit.entity.Player player, java.lang.String message, BossBar.Color color, double ticksToRun)
player
- The player to create the boss-bar for.message
- The message to display in the boss-bar.color
- The color of the boss-bar.ticksToRun
- The time to run the boss-bar.
If set to 0 or below, it will stay forever.