public interface CommandSender extends Permissible
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the command sender.
|
Server |
getServer()
Returns the server instance of the command sender.
|
boolean |
isPlayer()
Checks if this command sender is a player.
|
void |
sendMessage(String message)
Sends a message to the command sender.
|
void |
sendMessage(TextContainer message)
Sends a message to the command sender.
|
addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpvoid sendMessage(String message)
message - The message to sendvoid sendMessage(TextContainer message)
message - The message to send.Server getServer()
String getName()
ConsoleCommandSender.getName()boolean isPlayer()
Copyright © 2020. All rights reserved.