Skip to content
Migration Guides

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 /login tells the player so: an admin gives each one with /xlogin resetpassword.
  • Only players who exist in XCore's players table are imported.
  • Duplicates are skipped.

Migrating from JPremium

/xlogin import jpremium <table_name>

Default JPremium table name is jp_data.

  • The table must be in the same database as XCore.
  • Passwords are not migrated. Imported accounts have no password: an admin gives each player one with /xlogin resetpassword. Premium players are not affected, they log in automatically.
  • Premium status and Mojang UUID are imported.
  • Only players in XCore's players table are imported.
  • Duplicates are skipped.

Database Tables

XLogin creates and manages these tables automatically:

TablePurpose
xlogin_accountsPlayer accounts (UUID, name, password hash, IPs, login count, premium flag, Mojang UUID, email)
xlogin_sessionsActive sessions for cross-server auto-login
xlogin_ip_bansTemporarily banned IPs
xlogin_2faTOTP secrets for two-factor authentication
xlogin_recovery_codes2FA recovery codes, hashed
xlogin_secretsThe secret the proxy signs verified profiles with (proxy mode only)