Class ChatUtil
java.lang.Object
com.zenith.util.ChatUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringconstrainChatMessageSize(String message, boolean end) static ServerboundChatPacketgetWhisperChatPacket(String playerName, String message) static booleanisAllowedChatCharacter(char c0) static booleanisValidPlayerName(String playerName) static booleanisWhisperCommand(String command) Deprecated.static StringsanitizeChatMessage(String input)
-
Constructor Details
-
ChatUtil
public ChatUtil()
-
-
Method Details
-
sanitizeChatMessage
-
isAllowedChatCharacter
public static boolean isAllowedChatCharacter(char c0) -
constrainChatMessageSize
-
isValidPlayerName
-
isWhisperCommand
Deprecated. -
getWhisperChatPacket
-