Package org.spongepowered.api.network
Interface RconConnection
- All Superinterfaces:
Audience
,Contextual
,Pointered
,RemoteConnection
,Subject
Represents a connection by an RCON client.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets whether this client is authorized.void
setAuthorized
(boolean authorized) Sets whether this client is authorized.Methods inherited from interface net.kyori.adventure.audience.Audience
clearTitle, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, showTitle, stopSound, stopSound
Methods inherited from interface org.spongepowered.api.service.context.Contextual
friendlyIdentifier, identifier
Methods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom, pointers
Methods inherited from interface org.spongepowered.api.network.RemoteConnection
address, close, virtualHost
Methods inherited from interface org.spongepowered.api.service.permission.Subject
associatedObject, asSubjectReference, containingCollection, contextCause, hasPermission, hasPermission, hasPermission, isChildOf, isChildOf, isChildOf, isSubjectDataPersisted, option, option, option, parents, parents, parents, permissionValue, permissionValue, permissionValue, subjectData, transientSubjectData
-
Method Details
-
isAuthorized
boolean isAuthorized()Gets whether this client is authorized.- Returns:
- Whether this client is authorized
-
setAuthorized
void setAuthorized(boolean authorized) Sets whether this client is authorized.- Parameters:
authorized
-true
if authorized,false
otherwise
-