Repository navigation
Migration
/jl import scans plugins/ for supported authentication plugins and imports their accounts into JustLogin.
| Source | Command argument |
|---|---|
| AuthMe | authme |
| FastLogin | fastlogin |
| LibreLogin / LibrePremium | librelogin |
| LoginSecurity | loginsecurity |
| nLogin | nlogin |
| OpeNLogin | openlogin |
| LimboAuth | limboauth |
| Authy | authy |
Each importer reads the source plugin's SQLite file or MySQL / MariaDB settings (from its own config) so database passwords do not have to be typed in the console.
-
Back up the old plugin's data and the server world data.
-
Install JustLogin and start the server once, then keep the old plugin's folder in
plugins/(data only; the old jar can be removed). -
Preview:
/jl import auto --dry-run -
If the preview looks right:
/jl import autoOr one source at a time:
/jl import authme. -
Read
plugins/JustLogin/import-report-<timestamp>.txt(written when rows were skipped). -
Test with an existing account, then remove the old plugin completely.
auto runs the password importers first and FastLogin last, so Mojang UUIDs and online flags pair up with already imported accounts.
FastLogin has an option premiumUuid in plugins/FastLogin/config.yml that decides which UUID premium players play under. JustLogin follows it:
FastLogin premiumUuid
|
What the import does with game_uuid
|
|---|---|
true (FastLogin's default, also used when the key is missing) |
Premium accounts that still have an offline UUID get their game_uuid rewritten to the Mojang UUID. |
false |
game_uuid is left untouched (offline UUID kept). Only premium = 1 and premium_uuid are set. Players that exist only in FastLogin get the offline UUID as game_uuid. |
Why it matters: OP, whitelist, permissions and world/playerdata/ are tied to the UUID. If your server ran with premiumUuid: false, rewriting UUIDs would make premium players lose their inventory, OP and permissions. The import detects this from the FastLogin config automatically.
Override it manually for /jl import fastlogin (or auto):
| Flag | Effect |
|---|---|
--keep-offline-uuid (alias --preserve-game-uuid) |
Never touch game_uuid, regardless of the FastLogin config. |
--rewrite-uuid |
Always rewrite offline game_uuid to the Mojang UUID, even if FastLogin has premiumUuid: false. |
Always run /jl import auto --dry-run first: the output states game_uuid=keep-offline or game_uuid=rewrite-to-mojang for FastLogin, and the final summary and import report repeat it. The decision cannot be undone by re-running the import, so restore your backup if it was wrong.
If the old plugin's database uses a self-signed certificate, the import can fail with Self signed certificates. Either set sslMode=trust.... JustLogin picks the TLS mode in this order:
-
--ssl-mode=<trust|disable|verify-ca|verify-full>on the command -
sslMode/useSSLfrom the old plugin's config (useSSL: falsebecomesdisable,true/REQUIREDbecomestrust) -
storage.mariadb.ssl-modefrom JustLogin'sconfig.yml - the driver default
Manual example:
/jl import authme mysql 127.0.0.1 3306 authme root <password> authme --ssl-mode=trust --dry-run
trust encrypts the connection without verifying the certificate, which is fine for a one-off import from your own database.
- Usernames and password hashes
- Permanent UUIDs where the source has them (the
game_uuidis preserved across AuthMe + FastLogin imports; see the FastLoginpremiumUuidnote above) - Email addresses and TOTP secrets where the source stores them
- Mojang / premium flags (FastLogin)
Legacy hashes (AuthMe SHA-256 / SHA-512, BCrypt, PBKDF2, split BCrypt-2A / Argon-2ID formats) are normalised. They stay valid, and every account is upgraded to Argon2id automatically on its next successful login – players notice nothing.
Rows that cannot be imported are skipped and listed in the import report, so check it after every run.
- Run
/jl status <name>on a few accounts to check hash algorithm and UUID. - Tell players nothing changes except the login window; their passwords still work.
- Keep the old database backup for a while.
Use storage.type: mariadb on all servers (see Storage and Database) or copy the SQLite database plus secrets.key together.
JustLogin is MIT licensed · justlogin.net · GitHub · Security policy
Getting started
For players
For admins
Reference