Package com.djrapitops.plan.commands.use
Interface CMDSender
-
- All Known Implementing Classes:
BukkitCMDSender
,BukkitPlayerCMDSender
,BungeeCMDSender
,BungeePlayerCMDSender
,NukkitCMDSender
,NukkitPlayerCMDSender
,SpongeCMDSender
,SpongePlayerCMDSender
,VelocityCMDSender
,VelocityPlayerCMDSender
public interface CMDSender
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MessageBuilder
buildMessage()
ChatFormatter
getFormatter()
java.util.Optional<java.lang.String>
getPlayerName()
java.util.Optional<java.util.UUID>
getUUID()
default boolean
hasAllPermissionsFor(Subcommand subcommand)
default boolean
hasPermission(Permissions permission)
boolean
hasPermission(java.lang.String permission)
default boolean
isMissingPermissionsFor(Subcommand subcommand)
default boolean
isPlayer()
void
send(java.lang.String message)
default void
send(java.lang.String... messages)
default boolean
supportsChatEvents()
-
-
-
Method Detail
-
buildMessage
MessageBuilder buildMessage()
-
getPlayerName
java.util.Optional<java.lang.String> getPlayerName()
-
hasPermission
boolean hasPermission(java.lang.String permission)
-
hasPermission
default boolean hasPermission(Permissions permission)
-
hasAllPermissionsFor
default boolean hasAllPermissionsFor(Subcommand subcommand)
-
isMissingPermissionsFor
default boolean isMissingPermissionsFor(Subcommand subcommand)
-
isPlayer
default boolean isPlayer()
-
supportsChatEvents
default boolean supportsChatEvents()
-
getUUID
java.util.Optional<java.util.UUID> getUUID()
-
send
void send(java.lang.String message)
-
send
default void send(java.lang.String... messages)
-
getFormatter
ChatFormatter getFormatter()
-
-