Class BaseCommand

  • All Implemented Interfaces:
    org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter

    public class BaseCommand
    extends Object
    implements org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
    • Constructor Detail

      • BaseCommand

        public BaseCommand()
    • Method Detail

      • 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

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