Package com.djrapitops.plan.commands.use
Class NukkitPlayerCMDSender
- java.lang.Object
-
- com.djrapitops.plan.commands.use.NukkitCMDSender
-
- com.djrapitops.plan.commands.use.NukkitPlayerCMDSender
-
- All Implemented Interfaces:
CMDSender
public class NukkitPlayerCMDSender extends NukkitCMDSender
-
-
Constructor Summary
Constructors Constructor Description NukkitPlayerCMDSender(cn.nukkit.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()
-
Methods inherited from class com.djrapitops.plan.commands.use.NukkitCMDSender
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, supportsChatEvents
-
-
-
-
Method Detail
-
getPlayerName
public java.util.Optional<java.lang.String> getPlayerName()
- Specified by:
getPlayerName
in interfaceCMDSender
- Overrides:
getPlayerName
in classNukkitCMDSender
-
getUUID
public java.util.Optional<java.util.UUID> getUUID()
- Specified by:
getUUID
in interfaceCMDSender
- Overrides:
getUUID
in classNukkitCMDSender
-
getFormatter
public ChatFormatter getFormatter()
- Specified by:
getFormatter
in interfaceCMDSender
- Overrides:
getFormatter
in classNukkitCMDSender
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classNukkitCMDSender
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classNukkitCMDSender
-
-