Class GroupCommand


  • public class GroupCommand
    extends Command
    • Constructor Detail

      • GroupCommand

        public GroupCommand()
    • Method Detail

      • init

        public void init()
        Description copied from class: Command
        Used to initialize the command (the primary goal is to define the default executors)
        Specified by:
        init in class Command
      • usage

        @NotNull
        public List<String> usage​(CommandSender sender)
        Description copied from class: Command
        Used to get help information when execute this command with wrong arguments or the executor returns CommandResult.ARGS
        Specified by:
        usage in class Command
        Parameters:
        sender - the executor which need to get help information
        Returns:
        the help information