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