类 NextCommand<T extends NextPlugin<T>>

java.lang.Object
cn.yingyya.next.moment.api.command.NextCommand<T>
直接已知子类:
NextMomentCommand, PluginsCommand, VersionCommand

public abstract class NextCommand<T extends NextPlugin<T>> extends Object
  • 构造器详细资料

    • NextCommand

      public NextCommand(T plugin)
  • 方法详细资料

    • getCommandName

      @NotNull public abstract @NotNull String getCommandName()
    • getUsage

      @NotNull public abstract @NotNull String getUsage()
    • getDescription

      @NotNull public abstract @NotNull String getDescription()
    • getChildren

      @Nullable public abstract @Nullable Set<NextCommand<T>> getChildren()
    • getPermission

      @Nullable public abstract @Nullable org.bukkit.permissions.Permission getPermission(String[] args)
    • getAliases

      @NotNull public abstract @NotNull List<String> getAliases()
    • onTabComplete

      @NotNull public abstract @NotNull List<String> onTabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String[] args)
    • onExecute

      public abstract void onExecute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String[] args)
    • isRootCommand

      public boolean isRootCommand()
    • getPlugin

      public T getPlugin()