Package studio.magemonkey.fabled.manager
Class ClassBoardManager
java.lang.Object
studio.magemonkey.fabled.manager.ClassBoardManager
Manages prefixes for classes
- Only works if ChatAPI is installed -
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclear(org.bukkit.entity.Player player) Clears the prefix for a playerstatic voidclearAll()Clears all scoreboards for the pluginstatic voidRegisters a class with the MCCore scoreboardsstatic voidRegisters the text below player namesstatic voidupdate(PlayerData player, String prefix, org.bukkit.ChatColor braceColor) Updates scoreboard information for the player datastatic voidupdateLevel(PlayerData data) Updates the player's level in the scoreboards
-
Constructor Details
-
ClassBoardManager
public ClassBoardManager()
-
-
Method Details
-
clear
public static void clear(org.bukkit.entity.Player player) Clears the prefix for a player- Parameters:
player- player reference
-
clearAll
public static void clearAll()Clears all scoreboards for the plugin -
update
Updates scoreboard information for the player data- Parameters:
player- player nameprefix- prefix textbraceColor- color of braces
-
registerClass
Registers a class with the MCCore scoreboards- Parameters:
c- class to register
-
updateLevel
Updates the player's level in the scoreboards- Parameters:
data- player's data to use for the update
-
registerText
public static void registerText()Registers the text below player names
-