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 Audience
clearResourcePacks, clearTitle, closeDialog, 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, showDialog, showTitle, stopSound, stopSoundMethods inherited from interface Contextual
friendlyIdentifier, identifierMethods inherited from interface Pointered
get, getOrDefault, getOrDefaultFrom, pointersMethods inherited from interface RemoteConnection
active, address, close, virtualHostMethods inherited from interface 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
-