CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
'Simple' conversion of Plugin commands More...
Static Public Member Functions | |
static void | convert (JavaPlugin plugin) |
Convert all commands stated in Plugin's plugin.yml file into CommandAPI-compatible commands. More... | |
static void | convert (JavaPlugin plugin, String cmdName) |
Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands. More... | |
static void | convert (JavaPlugin plugin, String cmdName, Argument<?>... arguments) |
Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands. More... | |
static void | convert (JavaPlugin plugin, String cmdName, List< Argument<?> > arguments) |
Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands. More... | |
static void | convert (String cmdName) |
Convert the provided command name into a CommandAPI-compatible command. More... | |
static void | convert (String cmdName, List< Argument<?> > arguments) |
Convert the provided command name with its list of arguments into a CommandAPI-compatible command. More... | |
'Simple' conversion of Plugin commands
|
static |
Convert all commands stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
plugin | The plugin which commands are to be converted |
|
static |
Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
plugin | The plugin where the command is registered |
cmdName | The command to convert |
|
static |
Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
plugin | The plugin where the command is registered |
cmdName | The command to convert |
arguments | The arguments that should be used to parse this command |
|
static |
Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
plugin | The plugin where the command is registered |
cmdName | The command to convert |
arguments | The arguments that should be used to parse this command |
|
static |
Convert the provided command name into a CommandAPI-compatible command.
cmdName | The name of the command (without the leading /). For commands such as //set in WorldEdit, this parameter should be "/set" |
|
static |
Convert the provided command name with its list of arguments into a CommandAPI-compatible command.
cmdName | The name of the command (without the leading /). For commands such as //set in WorldEdit, this parameter should be "/set" |
arguments | The arguments that should be used to parse this command |