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 void
clear
(org.bukkit.entity.Player player) Clears the prefix for a playerstatic void
clearAll()
Clears all scoreboards for the pluginstatic void
Registers a class with the MCCore scoreboardsstatic void
Registers the text below player namesstatic void
update
(PlayerData player, String prefix, org.bukkit.ChatColor braceColor) Updates scoreboard information for the player datastatic void
updateLevel
(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
-