PocketMine-MP virion for easy handling of ScoreBoard packets
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);