public interface Command
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CommandSender sender,
String[] args)
Executes the command
|
List<String> |
getAliases()
Returns the aliases of this command
|
String |
getDescription()
Returns the description of this command
|
String |
getName()
Returns the name of this command
|
void |
setAliases(List<String> aliases)
Sets the aliases of this command
|
String getName()
String getDescription()
List<String> getAliases()
void setAliases(List<String> aliases)
aliases - the a liases of the commandvoid execute(CommandSender sender, String[] args)
sender - the sender of the commandargs - the arguments of the commandCopyright © 2020 GeyserMC. All rights reserved.