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 players will need to reset their password (/changepassword or admin /xlogin resetpassword).
  • Only players who exist in XCore's xcore_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.
  • 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