Class SkriptCommand

java.lang.Object
ch.njol.skript.skcommand.SkriptCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor

@Internal public class SkriptCommand extends Object implements org.bukkit.command.TabExecutor
  • Field Details

  • Constructor Details

    • SkriptCommand

      public SkriptCommand()
  • Method Details

    • getAllAliases

      protected static List<String> getAllAliases()
      Returns:
      All aliases of all subcommands.
    • getSubCommands

      protected static Set<SkriptCommand.SubCommand> getSubCommands()
      Returns:
      All SubCommands
      See Also:
    • info

      protected static void info(org.bukkit.command.CommandSender sender, String what, Object... args)
    • error

      protected static void error(org.bukkit.command.CommandSender sender, String what, Object... args)
    • onCommand

      public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, @NotNull @NotNull String @NotNull [] args)
      Specified by:
      onCommand in interface org.bukkit.command.CommandExecutor
    • onTabComplete

      @Nullable public @Nullable List<String> onTabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, @NotNull @NotNull String @NotNull [] args)
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter