Package org.spongepowered.api.network
Interface RconConnection
- All Superinterfaces:
- Audience,- Contextual,- Pointered,- RemoteConnection,- Subject
Represents a connection by an RCON client.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGets whether this client is authorized.voidsetAuthorized(boolean authorized) Sets whether this client is authorized.Methods inherited from interface net.kyori.adventure.audience.AudienceclearTitle, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, showTitle, stopSound, stopSoundMethods inherited from interface org.spongepowered.api.service.context.ContextualfriendlyIdentifier, identifierMethods inherited from interface net.kyori.adventure.pointer.Pointeredget, getOrDefault, getOrDefaultFrom, pointersMethods inherited from interface org.spongepowered.api.network.RemoteConnectionaddress, close, virtualHostMethods inherited from interface org.spongepowered.api.service.permission.SubjectassociatedObject, asSubjectReference, containingCollection, contextCause, hasPermission, hasPermission, hasPermission, isChildOf, isChildOf, isChildOf, isSubjectDataPersisted, option, option, option, parents, parents, parents, permissionValue, permissionValue, permissionValue, subjectData, transientSubjectData
- 
Method Details- 
isAuthorizedboolean isAuthorized()Gets whether this client is authorized.- Returns:
- Whether this client is authorized
 
- 
setAuthorizedvoid setAuthorized(boolean authorized) Sets whether this client is authorized.- Parameters:
- authorized-- trueif authorized,- falseotherwise
 
 
-