Enable premium auto-login (asks to confirm, warns when your UUID will change)
/unpremium
Disable premium auto-login and clear the Mojang link
/2fa setup
Set up two-factor authentication
/2fa <code>
Verify a 2FA code
/2fa codes
Issue eight single-use recovery codes, shown once
/2fa recover <code>
Use a recovery code in place of the 2FA code
/2fa disable
Disable 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 remove
Remove 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
Command
Permission
Description
/xlogin reload
xlogin.admin
Reload configuration and language files
/xlogin setspawn
xlogin.admin
Set login spawn to current location
/xlogin forcelogin <player>
xlogin.admin
Force-authenticate a player
/xlogin logout <player>
xlogin.admin
End a player's session on every server and disconnect them: they log in again on their next connection
/xlogin resetpassword <player> <new>
xlogin.admin
Reset a player's password. A connected player is disconnected, the same way
/xlogin info <player>
xlogin.admin
View account info (dates, IPs, login count)
/xlogin accounts <ip>
xlogin.admin
List all accounts from an IP
/xlogin import authme <table>
xlogin.admin
Import from AuthMe database
/xlogin import jpremium <table>
xlogin.admin
Import from JPremium database
/unregister <player>
xlogin.admin
Delete a player's account
Permissions
Permission
Description
xlogin.admin
Access to all admin commands, and to the account actions of the web dashboard
xlogin.notify
Receive failed login and registration notifications
xlogin.update
Receive 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:
Action
Permission
Open XLogin's pages
xcore.dashboard.xlogin
Read the Players (accounts) and Sessions pages
xlogin.admin as well
See XLogin's card on a player's profile
xlogin.admin and xcore.dashboard.players
Reset a password, disable 2FA, delete an account, invalidate a session
xlogin.admin, as for the matching commands
Save XLogin's configuration from the dashboard's editor
xcore.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.