Uses of Class
org.bukkit.command.Command
Package
Description
Classes relating to handling specialized non-chat player input.
Commands for emulating the Minecraft commands and other necessary ones for
use by a Bukkit implementation.
Classes used to manipulate the default command and topic assistance system.
Classes for handling
plugins
written in
java.-
Uses of Command in org.bukkit.command
Modifier and TypeClassDescriptionclass
class
Represents a command that delegates to one or more other commandsclass
Represents aCommand
belonging to a pluginModifier and TypeMethodDescriptionCommandMap.getCommand(String name)
Gets the command registered to the specified nameSimpleCommandMap.getCommand(String name)
Command[]
MultipleCommandAlias.getCommands()
Gets the commands associated with the multi-command alias.Command.setAliases(List<String> aliases)
Sets the list of aliases to request on registration for this command.Command.setDescription(String description)
Sets a brief description of this command.Command.setPermissionMessage(String permissionMessage)
Sets the message sent when a permission check failsSets the example usage of this commandModifier and TypeMethodDescriptionboolean
CommandExecutor.onCommand(CommandSender sender, Command command, String label, String[] args)
Executes the given command, returning its success.TabCompleter.onTabComplete(CommandSender sender, Command command, String alias, String[] args)
Requests a list of possible completions for a command argument.boolean
Registers a command.boolean
Registers a command.boolean
Registers a command.boolean
Registers a command.Modifier and TypeMethodDescriptionvoid
CommandMap.registerAll(String fallbackPrefix, List<Command> commands)
Registers all the commands belonging to a certain plugin.void
SimpleCommandMap.registerAll(String fallbackPrefix, List<Command> commands)
Registers all the commands belonging to a certain plugin. -
Uses of Command in org.bukkit.command.defaults
Modifier and TypeClassDescriptionclass
class
class
class
class
class
-
Uses of Command in org.bukkit.help
Modifier and TypeInterfaceDescriptioninterface
HelpTopicFactory<TCommand extends Command>
A HelpTopicFactory is used to create customHelpTopic
objects from commands that inherit from a common base class or have executors that inherit from a common base class. -
Uses of Command in org.bukkit.plugin.java
Modifier and TypeMethodDescriptionboolean
JavaPlugin.onCommand(CommandSender sender, Command command, String label, String[] args)
Executes the given command, returning its success.JavaPlugin.onTabComplete(CommandSender sender, Command command, String alias, String[] args)
Requests a list of possible completions for a command argument.