Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Steadfast5/BossBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BossBar

BossBar plugin for Steadfast2.

API

use BossBar\bossbar\BossBarAPI;

$health = 100;
$title = "BossBar title";
$bossbar = new BossBarAPI($health);
$bossbar->showTo($player, $title);
$updatedTitle = "Updated title";
$updatedHealth = 70;
$bossbar->updateFor($player, $updatedTitle, $updatedHealth); // modify the health and title
$bossbar->hideFrom($player); // hides bossbar from player

Downloads

Download the latest build from Releases.

Wiki

Can't find what you're looking for? Try the wiki!.