Class BasicsCommand

  • All Implemented Interfaces:

    
    public final class BasicsCommand
    extends Command
                        

    Represents a registered command. This is what is actually registered to Bukkit.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final CommandInfo getInfo() Command info
      final Unit setInfo(CommandInfo info) Command info
      final CoreMessages getCoreMessages()
      final MessageFactory getMessageFactory()
      Boolean execute(CommandSender sender, String commandLabel, Array<out String> origArgs)
      List<String> tabComplete(CommandSender sender, String alias, Array<out String> args, Location location)
      final Unit disableExecutor() Disable this command's executor by setting it to null.
      • Methods inherited from class org.bukkit.command.Command

        getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait