Package com.djrapitops.plan.commands.use
Class SpongeCMDSender
java.lang.Object
com.djrapitops.plan.commands.use.SpongeCMDSender
- All Implemented Interfaces:
CMDSender
- Direct Known Subclasses:
SpongePlayerCMDSender
-
Constructor Summary
ConstructorDescriptionSpongeCMDSender
(org.spongepowered.api.service.permission.Subject subject, net.kyori.adventure.audience.Audience audience) SpongeCMDSender
(T source) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getUUID()
int
hashCode()
boolean
hasPermission
(String permission) void
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
-
Constructor Details
-
SpongeCMDSender
public SpongeCMDSender(T source) -
SpongeCMDSender
public SpongeCMDSender(org.spongepowered.api.service.permission.Subject subject, net.kyori.adventure.audience.Audience audience)
-
-
Method Details
-
buildMessage
- Specified by:
buildMessage
in interfaceCMDSender
-
getPlayerName
- Specified by:
getPlayerName
in interfaceCMDSender
-
hasPermission
- Specified by:
hasPermission
in interfaceCMDSender
-
getUUID
-
send
-
getFormatter
- Specified by:
getFormatter
in interfaceCMDSender
-
equals
-
hashCode
public int hashCode()
-