Class ServerCommand


  • public class ServerCommand
    extends Command
    A Command that only can be registered on servers
    • Constructor Detail

      • ServerCommand

        public ServerCommand​(java.lang.String name,
                             java.lang.String description)
        Default constructor
        Parameters:
        name - the name of the command Its length must between 1 and 32 Can contain only: - word characters - numbers - '-' characters
        description - the description of the command Its length must between 1 and 100