public interface CommandSender extends Permissible
| Modifier and Type | Interface and Description |
|---|---|
static class |
CommandSender.Spigot |
| 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
|
CommandSender.Spigot |
spigot() |
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpvoid sendMessage(@NotNull
String message)
message - Message to be displayedvoid sendMessage(@NotNull
String[] messages)
messages - An array of messages to be displayed@NotNull Server getServer()
@NotNull String getName()
@NotNull CommandSender.Spigot spigot()
Copyright © 2022. All rights reserved.