Class ChatUtils


  • public final class ChatUtils
    extends Object
    Simple util class to check wither a entered message is a command or not.
    • Method Detail

      • isCommand

        public static boolean isCommand​(String message)
        method to check if a message is a command. Which means it starts with a "/".
        Parameters:
        message - The message to check
        Returns:
        Whether the passed message is a command or not.