Package com.stardevllc.starcore.api
Class StarColors
java.lang.Object
com.stardevllc.starcore.api.StarColors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCustomColor(CustomColor color) static Stringstatic Stringstatic Stringstatic Stringcolor(org.bukkit.command.CommandSender sender, String uncolored, boolean translateBukkit, boolean translateCustom, boolean translateHex) static voidcoloredMessage(org.bukkit.command.CommandSender sender, String message) static CustomColorgetCustomColor(String code) static Map<String, CustomColor> static char[]static booleanisSpigotColor(String code) static booleanisValidCode(String code) static booleanisValidHex(String str) static booleanisValidSymbol(char c) static voidremoveColor(String code) static voidsetColorHandler(ColorHandler handler) static StringstripColor(String text) static StringtranslateBukkit(String uncolored) static StringtranslateBukkit(org.bukkit.command.CommandSender sender, String uncolored) static StringtranslateCustom(String uncolored) static StringtranslateCustom(org.bukkit.command.CommandSender sender, String uncolored) static StringtranslateHex(String uncolored) static StringtranslateHex(org.bukkit.command.CommandSender sender, String uncolored)
-
Constructor Details
-
StarColors
public StarColors()
-
-
Method Details
-
setColorHandler
-
coloredMessage
-
color
-
color
-
color
-
translateBukkit
-
translateBukkit
-
translateCustom
-
translateCustom
-
translateHex
-
translateHex
-
color
-
addCustomColor
-
getCustomColor
-
getCustomColors
-
getPrefixSymbols
public static char[] getPrefixSymbols() -
isSpigotColor
-
isValidCode
-
isValidHex
-
removeColor
-
isValidSymbol
public static boolean isValidSymbol(char c) -
stripColor
-