Package | Description |
---|---|
com.codelanx.codelanxlib.command |
Modifier and Type | Method and Description |
---|---|
CommandStatus |
ReloadCommand.execute(CommandSender sender,
String... args)
Fires the
ReloadEvent and calls any relevant reload methods for
the Plugin instance passed |
CommandStatus |
HelpCommand.execute(CommandSender sender,
String... args)
Displays help information from all linked child
CommandNode nodes
for the parent CommandNode relevant to this HelpCommand
instance |
abstract CommandStatus |
CommandNode.execute(CommandSender sender,
String... args)
Represents the code at the end of a
CommandNode chain |
static CommandStatus |
CommandStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandStatus[] |
CommandStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandNode.setRestriction(CommandStatus restriction)
Sets a restriction on this
CommandNode so that it may only
be executed by a particular type of CommandSender . |
Copyright © 2017. All rights reserved.