public class BufferedCommandSender extends Object implements MessageCommandSender
CommandSender.Spigot
Constructor and Description |
---|
BufferedCommandSender() |
Modifier and Type | Method and Description |
---|---|
String |
getBuffer() |
void |
reset() |
void |
sendMessage(String message)
Sends this sender a message
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, getName, getServer, hasPermission, hasPermission, isOp, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment, sendMessage, setOp, spigot
sendMessage, sendMessage
public void sendMessage(@NotNull String message)
CommandSender
sendMessage
in interface CommandSender
message
- Message to be displayed@NotNull public String getBuffer()
public void reset()
Copyright © 2022. All rights reserved.