Class SubCommand

java.lang.Object
org.bukkit.command.Command
me.efekos.simpler.commands.BaseCommand
me.efekos.simpler.commands.SubCommand

public abstract class SubCommand extends BaseCommand
Used to make sub commands for CoreCommands. Extend this class to make your own sub commands. Must be annotated with Command to work properly.
  • Constructor Details

    • SubCommand

      public SubCommand(@NotNull @NotNull String name)
      Creates an instance of this command.
      Parameters:
      name - Name of the command.
    • SubCommand

      public SubCommand(@NotNull @NotNull String name, @NotNull @NotNull String description, @NotNull @NotNull String usageMessage, @NotNull @NotNull List<String> aliases)
      Creates an instance of this command.
      Parameters:
      name - Name of the command.
      description - Description of the command.
      usageMessage - Usage message of the command.
      aliases - Aliases for the command.
  • Method Details