BE
Api for creating custom scoreboards!
To use this api you need to shade it into your plugin. THIS IS NOT A PLUGIN!
The zip contains the API and the API Docs that you can find below too.
BetterScoreboard.java
/**
* Get the bukkit scoreboard
* @return bukkit scoreboard
*/
public Scoreboard getBukkitScoreboard();
/**
* Create a new better scoreboard. Do not use this, instead use ScoreboardManager.createNewBetterScoreboard(String name, TextComponent title);
* @param name the name of the better scoreboard
* @param title the title of the better scoreboard
*/
public BetterScoreboard(String name, TextComponent title);
/**
* Change the scoreboard title
* @param title the new scoreboard title
*/
public void setTitle(TextComponent title);
/**
* apply the scoreboard to a player
* @param p the player to apply the scoreboard
*/
public void applyToPlayer(Player p);
/**
* Add a not variable (static) line to the scoreboard under the last line
* @param content the content of the line
* @return true if action is successfully completed
*/
public boolean addStaticLine(String content);
/**
* Add an editable line to hte scoreboard under the last line
* @param name the name of the editable line (useful to edit the line further)
* @param content the content of the line (max 32 chars)
* @return true if action is successfully completed
*/
public boolean addEditableLine(String name, String content);
/**
* Change the content of an editable line
* @param name the name of the editable line
* @param content the new content of the editable line
* @return true if the action is successfully completed
*/
public boolean setEditableLine(String name, String content);
/**
* Totally clear the scoreboard
* @return true if the action is successfully completed
*/
public boolean resetScoreboard();ScoreboardManager.java
/**
* Get a previously created better scoreboard
* @param name the name of the better scoreboard
* @return the better scoreboard
*/
public static BetterScoreboard getBetterScoreboard(String name);
/**
* Create a new better scoreboard
* @param name the name of the better scoreboard
* @param title the title of the better scoreboard
* @return the better scoreboard
*/
public static BetterScoreboard createNewBetterScoreboard(String name, TextComponent title);
/**
* Delete a better scoreboard
* @param name the name of the better scoreboard
* @return true if the action is successfully completed
*/
public static boolean deleteBetterScoreboard(String name);
/**
* delete a better scoreboard
* @param scoreboard the better scoreboard
* @return true if the action is successfully completed
*/
public static boolean deleteBetterScoreboard(BetterScoreboard scoreboard);Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta