Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IWareQ/ScoreboardAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

26 Commits

Repository files navigation

ScoreboardAPI

ScoreboardAPI is a simple library plugin for PowerNukkit/Nukkit Minecraft Bedrock core, that will help you to create your custom scoreboards with ease.

Usage

Scoreboard scoreboard = new Scoreboard("Test Scoreboard", DisplaySlot.SIDEBAR, 20);
// Update time in ticks (20 ticks = 1 second) or skip this option to disable automatic updates
scoreboard.setHandler(pl -> {
 scoreboard.addLine(pl.getName());
 scoreboard.addLine("§1"); // used for skip line
 scoreboard.addLine("random: " + Math.random());
 scoreboard.addLine("random: " + Math.random());
 scoreboard.addLine("random: " + Math.random());
 scoreboard.addLine("random: " + Math.random());
 scoreboard.addLine("random: " + Math.random());
 scoreboard.addLine("§2"); // used for skip line
 scoreboard.addLine("Online: " + Server.getInstance().getOnlinePlayers().size());
});
scoreboard.show(player);

Maven

Repository

<repositories>
 <repository>
 <id>jitpack.io</id>
 <url>https://jitpack.io</url>
 </repository>
</repositories>

Dependency

<dependency>
 <groupId>com.github.IWareQ</groupId>
 <artifactId>ScoreboardAPI</artifactId>
 <version>Tag</version>
</dependency>

About

Plugin for creating Scoreboard

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

Languages

AltStyle によって変換されたページ (->オリジナル) /