Skip to content
Commands & Permissions

Commands & Permissions

Player Commands

CommandAliasesDescription
/login <password>/lLogin to your account
/register <password> <confirm>/regRegister a new account
/changepassword <old> <new>/changepw, /cpChange your password
/logout/logoffLogout and disconnect
/premiumEnable premium auto-login (asks to confirm, warns when your UUID will change)
/unpremiumDisable premium auto-login and clear the Mojang link
/2fa setupSet up two-factor authentication
/2fa <code>Verify a 2FA code
/2fa codesIssue eight single-use recovery codes, shown once
/2fa recover <code>Use a recovery code in place of the 2FA code
/2fa disableDisable 2FA
/captcha <code>Answer the registration captcha
/email set <email>Mail a code to the address to link it
/email confirm <code>Link the address with the code from the mail
/email removeRemove linked email
/recover <username>Request recovery code
/recover <user> <code> <newpw>Reset password with code

Account changes need a confirmed login on this connection: /changepassword, /email set, /email confirm, /email remove, /2fa setup, /2fa disable, /2fa codes, /premium and /unpremium. The password typed on this connection confirms it, and so does a premium auto-login verified by Mojang or a Bedrock login confirmed by Floodgate. A player who came back through a session, or was logged in by an admin, runs /login <password> once first, which asks for the 2FA code too when 2FA is on. Wrong passwords there count as failed logins.

Admin Commands

CommandPermissionDescription
/xlogin reloadxlogin.adminReload configuration and language files
/xlogin setspawnxlogin.adminSet login spawn to current location
/xlogin forcelogin <player>xlogin.adminForce-authenticate a player
/xlogin logout <player>xlogin.adminEnd a player's session on every server and disconnect them: they log in again on their next connection
/xlogin resetpassword <player> <new>xlogin.adminReset a player's password. A connected player is disconnected, the same way
/xlogin info <player>xlogin.adminView account info (dates, IPs, login count)
/xlogin accounts <ip>xlogin.adminList all accounts from an IP
/xlogin import authme <table>xlogin.adminImport from AuthMe database
/xlogin import jpremium <table>xlogin.adminImport from JPremium database
/unregister <player>xlogin.adminDelete a player's account

Permissions

PermissionDescription
xlogin.adminAccess to all admin commands, and to the account actions of the web dashboard
xlogin.notifyReceive failed login and registration notifications
xlogin.updateReceive update notifications on join

Web dashboard

XLogin adds three pages to the XCore dashboard: Players, Sessions and Statistics. A dashboard session acts with the in-game permissions of the player it belongs to, checked on every request:

ActionPermission
Open XLogin's pagesxcore.dashboard.xlogin
Read the Players (accounts) and Sessions pagesxlogin.admin as well
See XLogin's card on a player's profilexlogin.admin and xcore.dashboard.players
Reset a password, disable 2FA, delete an account, invalidate a sessionxlogin.admin, as for the matching commands
Save XLogin's configuration from the dashboard's editorxcore.dashboard.config, xcore.dashboard.config.save and xlogin.admin, like /xlogin reload

A refused request answers 403 with the permission it lacked, and a page or button its reader may not use is left out. In the editor, the SMTP password reads <hidden>; left as it is, it keeps what is stored. Operators have every one of these permissions.