Class BaseCommand

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

    public class BaseCommand
    extends Object
    implements org.bukkit.command.TabExecutor
    • 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,
                                 String[] 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 alias,
                                          String[] args)
        Specified by:
        onTabComplete in interface org.bukkit.command.TabCompleter