Migration Guides
Migrating from AuthMe
/xlogin import authme <table_name>
- The AuthMe table must be in the same database as XCore.
- Passwords are not migrated — AuthMe uses
$SHA$salt$hash, XLogin uses a different format. - Imported accounts have no password, and
/logintells the player so: an admin gives each one with/xlogin resetpassword. - Only players who exist in XCore's
playerstable are imported. - Duplicates are skipped.
Database Tables
XLogin creates and manages these tables automatically:
| Table | Purpose |
|---|---|
xlogin_accounts | Player accounts (UUID, name, password hash, IPs, login count, premium flag, Mojang UUID, email) |
xlogin_sessions | Active sessions for cross-server auto-login |
xlogin_ip_bans | Temporarily banned IPs |
xlogin_2fa | TOTP secrets for two-factor authentication |
xlogin_recovery_codes | 2FA recovery codes, hashed |
xlogin_secrets | The secret the proxy signs verified profiles with (proxy mode only) |