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 TypeMethodDescriptionbooleanGets whether this client is authorized.voidsetAuthorized(boolean authorized) Sets whether this client is authorized.Methods inherited from interface net.kyori.adventure.audience.Audience
clearResourcePacks, clearTitle, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, sendResourcePacks, sendTitlePart, showBossBar, showTitle, stopSound, stopSoundMethods inherited from interface org.spongepowered.api.service.context.Contextual
friendlyIdentifier, identifierMethods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom, pointersMethods inherited from interface org.spongepowered.api.network.RemoteConnection
active, address, close, virtualHostMethods 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-trueif authorized,falseotherwise
-