BedrioxDOCUMENTATION
API CLASS

BossBarManager

Public owner-scoped access to plugin boss bars.

Bedriox\Api\BossBar\BossBarManager
classBedriox\Api\BossBar

Public methods

__construct(Closure $create, Closure $get, Closure $getAll, Closure $remove)

Typed public method.

create(string $id, string $title, float $progress = 1.0, Bedriox\Api\BossBar\BossBarColor $color = \Bedriox\Api\BossBar\BossBarColor::PURPLE, Bedriox\Api\BossBar\BossBarStyle $style = \Bedriox\Api\BossBar\BossBarStyle::SOLID): Bedriox\Api\BossBar\BossBar

Typed public method.

get(string $id): ?Bedriox\Api\BossBar\BossBar

Typed public method.

getAll(): array

Typed public method.

remove(string $id): bool

Typed public method.

Constants

MAXIMUM_ID_BYTES

View exact source ↗