| Package | Description | 
|---|---|
| co.aikar.timings | |
| com.destroystokyo.paper.exception | |
| 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  pluginswritten in
 java. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | TimingsCommand | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static Timing | TimingsManager. getCommandTiming(java.lang.String pluginName,
                Command command) | Due to access restrictions, we need a helper method to get a Command TimingHandler with String group | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Command | ServerCommandException. getCommand() | Gets the command which threw the exception | 
| Constructor | Description | 
|---|---|
| ServerCommandException(java.lang.String message,
                      java.lang.Throwable cause,
                      boolean enableSuppression,
                      boolean writableStackTrace,
                      Command command,
                      CommandSender commandSender,
                      java.lang.String[] arguments) | |
| ServerCommandException(java.lang.String message,
                      java.lang.Throwable cause,
                      Command command,
                      CommandSender commandSender,
                      java.lang.String[] arguments) | |
| ServerCommandException(java.lang.Throwable cause,
                      Command command,
                      CommandSender commandSender,
                      java.lang.String[] arguments) | |
| ServerTabCompleteException(java.lang.String message,
                          java.lang.Throwable cause,
                          boolean enableSuppression,
                          boolean writableStackTrace,
                          Command command,
                          CommandSender commandSender,
                          java.lang.String[] arguments) | |
| ServerTabCompleteException(java.lang.String message,
                          java.lang.Throwable cause,
                          Command command,
                          CommandSender commandSender,
                          java.lang.String[] arguments) | |
| ServerTabCompleteException(java.lang.Throwable cause,
                          Command command,
                          CommandSender commandSender,
                          java.lang.String[] arguments) | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | FormattedCommandAlias | |
| class  | MultipleCommandAlias | Represents a command that delegates to one or more other commands | 
| class  | PluginCommand | Represents a  Commandbelonging to a plugin | 
| Modifier and Type | Field | Description | 
|---|---|---|
| protected java.util.Map<java.lang.String,Command> | SimpleCommandMap. knownCommands | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Command | CommandMap. getCommand(java.lang.String name) | Gets the command registered to the specified name | 
| Command | 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 fails | 
| Command | Command. setUsage(java.lang.String usage) | Sets the example usage of this command | 
| Modifier and Type | Method | Description | 
|---|---|---|
| java.util.Collection<Command> | SimpleCommandMap. getCommands() | |
| java.util.Map<java.lang.String,Command> | CommandMap. getKnownCommands() | Return a Map of known commands | 
| java.util.Map<java.lang.String,Command> | SimpleCommandMap. getKnownCommands() | |
| static java.util.List<Command> | PluginCommandYamlParser. parse(Plugin plugin) | 
| 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 success | 
| java.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. | 
| 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. | 
| Constructor | Description | 
|---|---|
| MultipleCommandAlias(java.lang.String name,
                    Command[] commands) | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | BukkitCommand | |
| class  | HelpCommand | |
| class  | PluginsCommand | |
| class  | ReloadCommand | |
| class  | VersionCommand | 
| Modifier and Type | Interface | Description | 
|---|---|---|
| interface  | HelpTopicFactory<TCommand extends Command> | A HelpTopicFactory is used to create custom  HelpTopicobjects from
 commands that inherit from a common base class or have executors that
 inherit from a common base class. | 
| Modifier and Type | Field | Description | 
|---|---|---|
| protected Command | GenericCommandHelpTopic. command | 
| Constructor | Description | 
|---|---|
| GenericCommandHelpTopic(Command 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 success | 
| java.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. | 
Copyright © 2018. All rights reserved.