bossbar

fun bossbar(id: String = UUID.randomUUID().toString()): Bossbar(source)

Creates a new bossbar with the given id, or a random uuid if no id is given

Example:

val bar = namespace.bossbar("test")
namespace.onLoad {
cmd(bar.setColor(Color.GREEN))
}

See also