Package co.aikar.commands
Class ACFBungeeUtil
java.lang.Object
co.aikar.commands.ACFBungeeUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static net.md_5.bungee.api.connection.ProxiedPlayer
findPlayerSmart
(co.aikar.commands.CommandIssuer issuer, String search) static net.md_5.bungee.api.connection.ProxiedPlayer
findPlayerSmart
(net.md_5.bungee.api.CommandSender requester, String search) Deprecated.static String
getLastColors
(String input) static boolean
isChatColorAColor
(net.md_5.bungee.api.ChatColor chatColor) static boolean
isValidName
(@Nullable String name) static String
removeColors
(String msg) static String
replaceChatString
(String message, String replace, String with) static String
replaceChatString
(String message, Pattern replace, String with) static void
Deprecated.static <T> T
-
Field Details
-
COLOR_CHAR
- See Also:
-
-
Constructor Details
-
ACFBungeeUtil
public ACFBungeeUtil()
-
-
Method Details
-
color
-
sendMsg
Deprecated.Move to Message Keys on the CommandIssuer -
removeColors
-
replaceChatString
-
replaceChatString
-
getLastColors
-
isChatColorAColor
-
findPlayerSmart
public static net.md_5.bungee.api.connection.ProxiedPlayer findPlayerSmart(co.aikar.commands.CommandIssuer issuer, String search) -
findPlayerSmart
public static net.md_5.bungee.api.connection.ProxiedPlayer findPlayerSmart(net.md_5.bungee.api.CommandSender requester, String search) Deprecated.Please move to the CommandIssuer version -
isValidName
-
validate
-