Class AbstractSubCommand

java.lang.Object
me.wolfyscript.customcrafting.commands.AbstractSubCommand
Direct Known Subclasses:
DarkModeSubCommand, DataBaseSubCommand, DebugSubCommand, DeleteSubCommand, EditSubCommand, GiveSubCommand, HelpSubCommand, InfoSubCommand, LockDownSubCommand, ReloadSubCommand, SaveSubCommand, ToggleSubCommand

public abstract class AbstractSubCommand extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getLabel

      public String getLabel()
    • getAlias

      public List<String> getAlias()
    • onCommand

      protected abstract boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String label, @NotNull @NotNull String[] args)
    • onTabComplete

      @Nullable protected abstract @Nullable List<String> onTabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String label, @NotNull @NotNull String[] args)