Package com.djrapitops.plan.commands.use
Class SpongePlayerCMDSender
- java.lang.Object
-
- com.djrapitops.plan.commands.use.SpongeCMDSender
-
- com.djrapitops.plan.commands.use.SpongePlayerCMDSender
-
- All Implemented Interfaces:
CMDSender
public class SpongePlayerCMDSender extends SpongeCMDSender
-
-
Constructor Summary
Constructors Constructor Description SpongePlayerCMDSender(org.spongepowered.api.command.CommandSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChatFormatter
getFormatter()
java.util.Optional<java.lang.String>
getPlayerName()
java.util.Optional<java.util.UUID>
getUUID()
boolean
supportsChatEvents()
-
Methods inherited from class com.djrapitops.plan.commands.use.SpongeCMDSender
buildMessage, equals, hashCode, 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 classSpongeCMDSender
-
getUUID
public java.util.Optional<java.util.UUID> getUUID()
- Specified by:
getUUID
in interfaceCMDSender
- Overrides:
getUUID
in classSpongeCMDSender
-
getFormatter
public ChatFormatter getFormatter()
- Specified by:
getFormatter
in interfaceCMDSender
- Overrides:
getFormatter
in classSpongeCMDSender
-
supportsChatEvents
public boolean supportsChatEvents()
-
-