Skip to content

PocketEssential/BossBarAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image API to send BossBar Titles / Messages

BossBarAPI

// First you"ll need this
use PocketEssential\BossBarAPI\BossBarAPI;

// You can also do:

$BossBarAPI = BossBarAPI::getInstance();

Sending BossBars to players

// Set the barMessage first!

$message = "This is a BossBar message";

$BossBarAPI->setBarMessage($message);

/*
 Player should an instance of a PLAYER, Just foreach loop all the online players; etc
 */

$BossBarAPI->sendBossBar($player);


  }

Example

Example

Info

    You can also try a simple plugin made by us
    Using our API, You can get (take a look at
    it over) [here](https://github.com/PocketEssential/BossBar)

Builds

Poggit-CI

About

API to send BossBar Titles / Messages - PocketMine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages