Package com.djrapitops.plan.command.use
Class BungeePlayerCMDSender
- java.lang.Object
-
- com.djrapitops.plan.command.use.BungeeCMDSender
-
- com.djrapitops.plan.command.use.BungeePlayerCMDSender
-
- All Implemented Interfaces:
CMDSender
public class BungeePlayerCMDSender extends BungeeCMDSender
-
-
Constructor Summary
Constructors Constructor Description BungeePlayerCMDSender(net.md_5.bungee.api.connection.ProxiedPlayer 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.command.use.BungeeCMDSender
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 classBungeeCMDSender
-
getUUID
public java.util.Optional<java.util.UUID> getUUID()
- Specified by:
getUUID
in interfaceCMDSender
- Overrides:
getUUID
in classBungeeCMDSender
-
getFormatter
public ChatFormatter getFormatter()
- Specified by:
getFormatter
in interfaceCMDSender
- Overrides:
getFormatter
in classBungeeCMDSender
-
supportsChatEvents
public boolean supportsChatEvents()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classBungeeCMDSender
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBungeeCMDSender
-
-