| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
FormattedCommandAlias  | 
class  | 
MultipleCommandAlias
Represents a command that delegates to one or more other commands 
 | 
class  | 
PluginCommand
Represents a  
Command belonging to a plugin | 
| Modifier and Type | Field and Description | 
|---|---|
protected Map<String,Command> | 
SimpleCommandMap.knownCommands  | 
| Modifier and Type | Method and Description | 
|---|---|
Command | 
CommandMap.getCommand(String name)
Gets the command registered to the specified name 
 | 
Command | 
SimpleCommandMap.getCommand(String name)  | 
Command[] | 
MultipleCommandAlias.getCommands()
Gets the commands associated with the multi-command alias. 
 | 
Command | 
Command.setAliases(List<String> aliases)
Sets the list of aliases to request on registration for this command. 
 | 
Command | 
Command.setDescription(String description)
Sets a brief description of this command. 
 | 
Command | 
Command.setPermissionMessage(String permissionMessage)
Sets the message sent when a permission check fails 
 | 
Command | 
Command.setUsage(String usage)
Sets the example usage of this command 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<Command> | 
SimpleCommandMap.getCommands()  | 
static List<Command> | 
PluginCommandYamlParser.parse(Plugin plugin)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
CommandExecutor.onCommand(CommandSender sender,
         Command command,
         String label,
         String[] args)
Executes the given command, returning its success 
 | 
List<String> | 
TabCompleter.onTabComplete(CommandSender sender,
             Command command,
             String alias,
             String[] args)
Requests a list of possible completions for a command argument. 
 | 
boolean | 
CommandMap.register(String fallbackPrefix,
        Command command)
Registers a command. 
 | 
boolean | 
SimpleCommandMap.register(String fallbackPrefix,
        Command command)
Registers a command. 
 | 
boolean | 
CommandMap.register(String label,
        String fallbackPrefix,
        Command command)
Registers a command. 
 | 
boolean | 
SimpleCommandMap.register(String label,
        String fallbackPrefix,
        Command command)
Registers a command. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
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. 
 | 
| Constructor and Description | 
|---|
MultipleCommandAlias(String name,
                    Command[] commands)  | 
| Modifier and Type | Class and 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.  
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
HelpTopicFactory<TCommand extends Command>
A HelpTopicFactory is used to create custom  
HelpTopic objects from
 commands that inherit from a common base class or have executors that
 inherit from a common base class. | 
| Modifier and Type | Field and Description | 
|---|---|
protected Command | 
GenericCommandHelpTopic.command  | 
| Constructor and Description | 
|---|
GenericCommandHelpTopic(Command command)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
JavaPlugin.onCommand(CommandSender sender,
         Command command,
         String label,
         String[] args)
Executes the given command, returning its success 
 | 
List<String> | 
JavaPlugin.onTabComplete(CommandSender sender,
             Command command,
             String alias,
             String[] args)
Requests a list of possible completions for a command argument. 
 | 
Copyright © 2015. All rights reserved.