Class BaseCommand

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

    public class BaseCommand
    extends java.lang.Object
    implements org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseCommand()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean onCommand​(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull java.lang.String label, @NotNull java.lang.String @NotNull [] args)  
      java.util.List<java.lang.String> onTabComplete​(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull java.lang.String label, java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.lang.String label,
                                 @NotNull
                                 @NotNull java.lang.String @NotNull [] args)
        Specified by:
        onCommand in interface org.bukkit.command.CommandExecutor
      • onTabComplete

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