Uses of Class
org.bukkit.command.Command
Package | Description |
---|---|
org.bukkit.command |
Classes relating to handling specialized non-chat player input.
|
org.bukkit.command.defaults |
Commands for emulating the Minecraft commands and other necessary ones for
use by a Bukkit implementation.
|
org.bukkit.help |
Classes used to manipulate the default command and topic assistance system.
|
org.bukkit.plugin.java |
Classes for handling
plugins written in
java. |
-
Uses of Command in org.bukkit.command
Subclasses of Command in org.bukkit.command Modifier and Type Class Description class
FormattedCommandAlias
class
MultipleCommandAlias
Represents a command that delegates to one or more other commandsclass
PluginCommand
Represents aCommand
belonging to a pluginFields in org.bukkit.command with type parameters of type Command Modifier and Type Field Description protected java.util.Map<java.lang.String,Command>
SimpleCommandMap. knownCommands
Methods in org.bukkit.command that return Command Modifier and Type Method Description Command
CommandMap. getCommand(java.lang.String name)
Gets the command registered to the specified nameCommand
SimpleCommandMap. getCommand(java.lang.String name)
Command[]
MultipleCommandAlias. getCommands()
Gets the commands associated with the multi-command alias.Command
Command. setAliases(java.util.List<java.lang.String> aliases)
Sets the list of aliases to request on registration for this command.Command
Command. setDescription(java.lang.String description)
Sets a brief description of this command.Command
Command. setPermissionMessage(java.lang.String permissionMessage)
Sets the message sent when a permission check failsCommand
Command. setUsage(java.lang.String usage)
Sets the example usage of this commandMethods in org.bukkit.command that return types with arguments of type Command Modifier and Type Method Description java.util.Collection<Command>
SimpleCommandMap. getCommands()
static java.util.List<Command>
PluginCommandYamlParser. parse(Plugin plugin)
Methods in org.bukkit.command with parameters of type Command Modifier and Type Method Description boolean
CommandExecutor. onCommand(CommandSender sender, Command command, java.lang.String label, java.lang.String[] args)
Executes the given command, returning its successjava.util.List<java.lang.String>
TabCompleter. onTabComplete(CommandSender sender, Command command, java.lang.String alias, java.lang.String[] args)
Requests a list of possible completions for a command argument.boolean
CommandMap. register(java.lang.String label, java.lang.String fallbackPrefix, Command command)
Registers a command.boolean
CommandMap. register(java.lang.String fallbackPrefix, Command command)
Registers a command.boolean
SimpleCommandMap. register(java.lang.String label, java.lang.String fallbackPrefix, Command command)
Registers a command.boolean
SimpleCommandMap. register(java.lang.String fallbackPrefix, Command command)
Registers a command.Method parameters in org.bukkit.command with type arguments of type Command Modifier and Type Method Description void
CommandMap. registerAll(java.lang.String fallbackPrefix, java.util.List<Command> commands)
Registers all the commands belonging to a certain plugin.void
SimpleCommandMap. registerAll(java.lang.String fallbackPrefix, java.util.List<Command> commands)
Registers all the commands belonging to a certain plugin.Constructors in org.bukkit.command with parameters of type Command Constructor Description MultipleCommandAlias(java.lang.String name, Command[] commands)
-
Uses of Command in org.bukkit.command.defaults
Subclasses of Command in org.bukkit.command.defaults Modifier and Type Class Description class
AchievementCommand
Deprecated.class
BanCommand
Deprecated.class
BanIpCommand
Deprecated.class
BanListCommand
Deprecated.class
BukkitCommand
class
ClearCommand
Deprecated.class
DefaultGameModeCommand
Deprecated.class
DeopCommand
Deprecated.class
DifficultyCommand
Deprecated.class
EffectCommand
Deprecated.class
EnchantCommand
Deprecated.class
ExpCommand
Deprecated.class
GameModeCommand
Deprecated.class
GameRuleCommand
Deprecated.class
GiveCommand
Deprecated.class
HelpCommand
class
KickCommand
Deprecated.class
KillCommand
Deprecated.class
ListCommand
Deprecated.class
MeCommand
Deprecated.class
OpCommand
Deprecated.class
PardonCommand
Deprecated.class
PardonIpCommand
Deprecated.class
PlaySoundCommand
Deprecated.class
PluginsCommand
class
ReloadCommand
class
SaveCommand
Deprecated.class
SaveOffCommand
Deprecated.class
SaveOnCommand
Deprecated.class
SayCommand
Deprecated.class
ScoreboardCommand
Deprecated.class
SeedCommand
Deprecated.class
SetIdleTimeoutCommand
Deprecated.class
SetWorldSpawnCommand
Deprecated.class
SpawnpointCommand
Deprecated.class
SpreadPlayersCommand
Deprecated.class
StopCommand
Deprecated.class
TeleportCommand
Deprecated.class
TellCommand
Deprecated.class
TestForCommand
Deprecated.class
TimeCommand
Deprecated.class
TimingsCommand
class
ToggleDownfallCommand
Deprecated.class
VanillaCommand
Deprecated.class
VersionCommand
class
WeatherCommand
Deprecated.class
WhitelistCommand
Deprecated. -
Uses of Command in org.bukkit.help
Classes in org.bukkit.help with type parameters of type Command Modifier and Type Interface Description interface
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.Fields in org.bukkit.help declared as Command Modifier and Type Field Description protected Command
GenericCommandHelpTopic. command
Constructors in org.bukkit.help with parameters of type Command Constructor Description GenericCommandHelpTopic(Command command)
-
Uses of Command in org.bukkit.plugin.java
Methods in org.bukkit.plugin.java with parameters of type Command Modifier and Type Method Description boolean
JavaPlugin. onCommand(CommandSender sender, Command command, java.lang.String label, java.lang.String[] args)
Executes the given command, returning its successjava.util.List<java.lang.String>
JavaPlugin. onTabComplete(CommandSender sender, Command command, java.lang.String alias, java.lang.String[] args)
Requests a list of possible completions for a command argument.