bossBar

fun bossBar(message: String, color: BarColor = BarColor.BLUE, style: BarStyle = BarStyle.SOLID): BossBar

Creates and returns a BossBar for the target player.

Return

The created BossBar.

Parameters

message

The message displayed on the boss bar.

color

The color of the boss bar.

style

The style of the boss bar.