public interface CommandSender extends Permissible
| Modifier and Type | Method and Description | 
|---|---|
| String | getName()Gets the name of this command sender | 
| Server | getServer()Returns the server instance that this command is running on | 
| void | sendMessage(String message)Sends this sender a message | 
| void | sendMessage(String[] messages)Sends this sender multiple messages | 
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpvoid sendMessage(String message)
message - Message to be displayedvoid sendMessage(String[] messages)
messages - An array of messages to be displayedServer getServer()
String getName()
Copyright © 2016. All rights reserved.