Class ChatUtils
java.lang.Object
net.sacredlabyrinth.phaed.simpleclans.utils.ChatUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyLastColorToFollowingLines(@NotNull List<String> lines) static StringgetColorByChar(char character) static StringgetLastColorCode(String msg) static @NotNull StringgetLastColors(@NotNull String input) Loops through the input and returns the last color codesstatic StringparseColors(@NotNull String text) static StringstripColors(String text) static net.md_5.bungee.api.chat.BaseComponent[]toBaseComponents(@Nullable org.bukkit.command.CommandSender receiver, @NotNull String text)
-
Field Details
-
HEX_COLOR_SUPPORT
public static boolean HEX_COLOR_SUPPORT
-
-
Method Details
-
getColorByChar
-
parseColors
-
stripColors
-
getLastColorCode
-
toBaseComponents
public static net.md_5.bungee.api.chat.BaseComponent[] toBaseComponents(@Nullable @Nullable org.bukkit.command.CommandSender receiver, @NotNull @NotNull String text) -
getLastColors
Loops through the input and returns the last color codes- Parameters:
input- the input- Returns:
- the last color codes
-
applyLastColorToFollowingLines
-