CustomScore
📜 Tags:
Name Description
{player.name} show player name
{player.ping} show player ping
{player.xp.level}
{player.xp.progress}
{player.xp.remainder}
{player.xp.current_total}
{time.date} shows current date
{server.online} shows the players connected to the server
{server.online.max} shows the maximum number of players
{server.tps.usage} show server tps
{server.tps.percentage} shows the tps percentage of the server
📜 Soft Dependencys Tags:
Name Description Plugin
{lunarranks.rank} get player's rank LunarRanks
{ranksystem.ranks} get player's ranks RankSystem
{ranksystem.highest_rank} get the player's highest rank RankSystem
{ranksystem.nametag} get player's nametag RankSystem
{bedrockeconomy.balance} get player's balance BedrockEconomy
{bedrockeconomy.balance.cap} getbalance cap BedrockEconomy
{bedrockeconomy.currency.symbol} get economy symbol BedrockEconomy
{bedrockeconomy.currency.name} get economy name BedrockEconomy
📋 Commands / Permissions:
Permission Command
customscore /scoreboard
customscore.reload /scoreboard reload
TexturePack:
increase the character limit of the scoreboard TexturePack
⚒ API:
to add custom tags you can use PlayerScoreTagEvent Example:
use Joshet18\CustomScoreboard\PlayerScoreTagEvent;
public function onPlayerTags(PlayerScoreTagEvent ev): void { ev->setTags(ev->getPlayer(), $ev->getTags())); }
private function processTags(Player tags):array{ tags as tag){ result[] = str_replace([ "{customtag.item.name}" ],[ tag); } return $result; }