/authManage server authentication
Syntax
/authSubcommands
/auth cancelCancel active login flow
/auth loginAuthenticate the server
/auth login.browserStart OAuth2 browser flow (for local servers)
/auth login.deviceStart OAuth2 device flow (for headless/remote servers)
/auth logoutClear server credentials
/auth persistenceView or change credential storage method
Parameters:
type- Storage type (e.g. Memory, File)variant- Change credential storage method/auth selectSelect a game profile when multiple are available
Parameters:
profile- Profile number or username to selectvariant- Select a profile by number or username/auth statusShow current authentication status
Server Messages
dump.failedFailed to dump cert: {message}
refreshRefreshed: {success}
reloadReloaded
status.format=== Server Authentication Status ===\n\
status.connectionMode.authenticatedAuthenticated (mTLS + JWT)
status.connectionMode.offlineOffline
status.connectionMode.insecureInsecure (dev)
status.mode.noneNot authenticated
status.mode.singleplayerSingleplayer
status.mode.externalExternal Session
status.mode.oauthBrowserOAuth Browser
status.mode.oauthDeviceOAuth Device
status.mode.oauthStoreOAuth Store
status.tokenPresentPresent
status.tokenMissingMissing
status.helpUse '/auth login browser' or '/auth login device' to authenticate.
status.pendingProfile selection pending. Use '/auth select <number>' to choose:
login.singleplayerLogin not available in singleplayer mode. Tokens are provided by the client.
login.alreadyAuthenticatedServer is already authenticated. Use '/auth logout' first.
login.browser.startingStarting OAuth2 browser flow. Check browser or console for URL.
login.browser.successAuthentication successful! Use '/auth status' to view details.
login.browser.failedBrowser authentication failed. Check server logs.
login.device.startingStarting OAuth2 device flow. Check console for verification URL.
login.device.successAuthentication successful! Use '/auth status' to view details.
login.device.failedDevice authentication failed. Check server logs.
login.pendingMultiple profiles available. Use '/auth select <number>' to choose:
logout.singleplayerLogout not available in singleplayer mode.
logout.notAuthenticatedServer is not currently authenticated.
logout.successServer logged out. Previous mode: {previousMode}
select.noPendingNo profile selection pending. Run '/auth login' first.
select.invalidSelectionInvalid selection. Use a valid profile number or username.
select.successProfile selected! Use '/auth status' to view details.
select.failedFailed to complete authentication with selected profile.
select.availableProfilesAvailable profiles:
select.usageUse '/auth select <number>' or '/auth select <username>'
select.profileItem[{index, number}] {username} ({uuid})
cancel.singleplayerNot applicable in singleplayer mode.
cancel.successActive login flow cancelled.
cancel.nothingNo active login flow to cancel.
persistence.singleplayerNot applicable in singleplayer mode.
persistence.currentCredential storage: {type}
persistence.changedCredential storage changed to: {type}
persistence.unknownTypeUnknown storage type: {type}
persistence.availableAvailable types: {types}
login.persistence.memoryWARNING: Credentials stored in memory only - they will be lost on restart!\n\
login.persistence.savedCredentials saved using: {type}