Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 452 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 452 Bytes

libScoreBoard

PocketMine-MP virion for easy handling of ScoreBoard packets

How to use

Connecting the scoreboard to the player

public ScoreBoard $scoreBoard;

$this->scoreBoard = new ScoreBoard($player);

ScoreBoard Design

$text = new ScoreBoardText(
	title: "SocreBoard Title",
	contents: ["Hello", "World", "!!"]
);

Pass the scoreboard to the player

$this->scoreBoard->remove();
$this->scoreBoard->send($text);