public abstract class CommandBase extends Object
| Constructor and Description |
|---|
CommandBase() |
CommandBase(String command,
List<String> aliases) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArgument(String name)
Gets the argument used for the command
|
void |
sendMessage(String messageId,
org.bukkit.command.CommandSender sender)
Sends an IDed message to the sender
|
void |
setAliases(List<String> aliases)
Sets the alias list for the method
|
public String getArgument(String name)
name - The argument namepublic void sendMessage(String messageId, org.bukkit.command.CommandSender sender)
messageId - The message IDsender - The senderCopyright © 2020. All rights reserved.