Package com.djrapitops.plan.commands.use
Class VelocityCMDSender
- java.lang.Object
-
- com.djrapitops.plan.commands.use.VelocityCMDSender
-
- All Implemented Interfaces:
CMDSender
- Direct Known Subclasses:
VelocityPlayerCMDSender
public class VelocityCMDSender extends java.lang.Object implements CMDSender
-
-
Constructor Summary
Constructors Constructor Description VelocityCMDSender(com.velocitypowered.api.command.CommandSource commandSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.djrapitops.plan.commands.use.CMDSender
hasAllPermissionsFor, hasPermission, isMissingPermissionsFor, isPlayer, send, supportsChatEvents
-
-
-
-
Method Detail
-
buildMessage
public MessageBuilder buildMessage()
- Specified by:
buildMessage
in interfaceCMDSender
-
getPlayerName
public java.util.Optional<java.lang.String> getPlayerName()
- Specified by:
getPlayerName
in interfaceCMDSender
-
hasPermission
public boolean hasPermission(java.lang.String permission)
- Specified by:
hasPermission
in interfaceCMDSender
-
getUUID
public java.util.Optional<java.util.UUID> getUUID()
-
getFormatter
public ChatFormatter getFormatter()
- Specified by:
getFormatter
in interfaceCMDSender
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-