Package com.djrapitops.plan.commands.use
Class VelocityPlayerCMDSender
- java.lang.Object
-
- com.djrapitops.plan.commands.use.VelocityCMDSender
-
- com.djrapitops.plan.commands.use.VelocityPlayerCMDSender
-
- All Implemented Interfaces:
CMDSender
public class VelocityPlayerCMDSender extends VelocityCMDSender
-
-
Constructor Summary
Constructors Constructor Description VelocityPlayerCMDSender(com.velocitypowered.api.proxy.Player player)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
supportsChatEvents()
-
Methods inherited from class com.djrapitops.plan.commands.use.VelocityCMDSender
buildMessage, hasPermission, send
-
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
-
-
-
-
Method Detail
-
getPlayerName
public java.util.Optional<java.lang.String> getPlayerName()
- Specified by:
getPlayerName
in interfaceCMDSender
- Overrides:
getPlayerName
in classVelocityCMDSender
-
getUUID
public java.util.Optional<java.util.UUID> getUUID()
- Specified by:
getUUID
in interfaceCMDSender
- Overrides:
getUUID
in classVelocityCMDSender
-
getFormatter
public ChatFormatter getFormatter()
- Specified by:
getFormatter
in interfaceCMDSender
- Overrides:
getFormatter
in classVelocityCMDSender
-
supportsChatEvents
public boolean supportsChatEvents()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classVelocityCMDSender
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classVelocityCMDSender
-
-