'Simple' conversion of Plugin commands
More...
|
static void | convert (JavaPlugin plugin) |
| Convert all commands stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
|
|
static void | convert (JavaPlugin plugin, String cmdName) |
| Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
|
|
static void | convert (JavaPlugin plugin, String cmdName, Argument<?>... arguments) |
| Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
|
|
static void | convert (JavaPlugin plugin, String cmdName, List< Argument<?> > arguments) |
| Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
|
|
static void | convert (String cmdName) |
| Convert the provided command name into a CommandAPI-compatible command.
|
|
static void | convert (String cmdName, List< Argument<?> > arguments) |
| Convert the provided command name with its list of arguments into a CommandAPI-compatible command.
|
|
'Simple' conversion of Plugin commands
◆ convert() [1/6]
static void dev.jorel.commandapi.Converter.convert |
( |
JavaPlugin | plugin | ) |
|
|
static |
Convert all commands stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
- Parameters
-
plugin | The plugin which commands are to be converted |
◆ convert() [2/6]
static void dev.jorel.commandapi.Converter.convert |
( |
JavaPlugin | plugin, |
|
|
String | cmdName ) |
|
static |
Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
- Parameters
-
plugin | The plugin where the command is registered |
cmdName | The command to convert |
◆ convert() [3/6]
static void dev.jorel.commandapi.Converter.convert |
( |
JavaPlugin | plugin, |
|
|
String | cmdName, |
|
|
Argument<?>... | arguments ) |
|
static |
Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
- Parameters
-
plugin | The plugin where the command is registered |
cmdName | The command to convert |
arguments | The arguments that should be used to parse this command |
◆ convert() [4/6]
static void dev.jorel.commandapi.Converter.convert |
( |
JavaPlugin | plugin, |
|
|
String | cmdName, |
|
|
List< Argument<?> > | arguments ) |
|
static |
Convert a command stated in Plugin's plugin.yml file into CommandAPI-compatible commands.
- Parameters
-
plugin | The plugin where the command is registered |
cmdName | The command to convert |
arguments | The arguments that should be used to parse this command |
◆ convert() [5/6]
static void dev.jorel.commandapi.Converter.convert |
( |
String | cmdName | ) |
|
|
static |
Convert the provided command name into a CommandAPI-compatible command.
- Parameters
-
cmdName | The name of the command (without the leading /). For commands such as //set in WorldEdit, this parameter should be "/set" |
◆ convert() [6/6]
static void dev.jorel.commandapi.Converter.convert |
( |
String | cmdName, |
|
|
List< Argument<?> > | arguments ) |
|
static |
Convert the provided command name with its list of arguments into a CommandAPI-compatible command.
- Parameters
-
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 |