
org.bukkit.scoreboard.ScoreboardManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package org.bukkit.scoreboard;
import java.lang.ref.WeakReference;
/**
* Manager of Scoreboards
*/
public interface ScoreboardManager {
/**
* Gets the primary Scoreboard controlled by the server.
*
* This Scoreboard is saved by the server, is affected by the /scoreboard
* command, and is the scoreboard shown by default to players.
*
* @return the default sever scoreboard
*/
Scoreboard getMainScoreboard();
/**
* Gets a new Scoreboard to be tracked by the server. This scoreboard will
* be tracked as long as a reference is kept, either by a player or by a
* plugin.
*
* @return the registered Scoreboard
* @see WeakReference
*/
Scoreboard getNewScoreboard();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy