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