public class VelocityCMDSender extends java.lang.Object implements CMDSender
Constructor and Description |
---|
VelocityCMDSender(com.velocitypowered.api.command.CommandSource commandSource) |
Modifier and Type | Method and Description |
---|---|
MessageBuilder |
buildMessage() |
boolean |
equals(java.lang.Object o) |
ChatFormatter |
getFormatter() |
java.util.Optional<java.lang.String> |
getPlayerName() |
java.util.Optional<java.util.UUID> |
getUUID() |
int |
hashCode() |
boolean |
hasPermission(java.lang.String permission) |
void |
send(java.lang.String message) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
hasAllPermissionsFor, hasPermission, isMissingPermissionsFor, isPlayer, send, supportsChatEvents
public VelocityCMDSender(com.velocitypowered.api.command.CommandSource commandSource)
public MessageBuilder buildMessage()
buildMessage
in interface CMDSender
public java.util.Optional<java.lang.String> getPlayerName()
getPlayerName
in interface CMDSender
public boolean hasPermission(java.lang.String permission)
hasPermission
in interface CMDSender
public java.util.Optional<java.util.UUID> getUUID()
public ChatFormatter getFormatter()
getFormatter
in interface CMDSender
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object