Migrating an auth database between plugins
How to move from AuthMe to nLogin and back without losing passwords: hash formats, export, and what to do with incompatible ones.
Updated August 13, 2026
Changing the auth plugin is an operation after which players either log in as before or don't log in at all.
What transfers
Passwords are stored as hashes. Migration is possible if the new plugin understands the old format:
| Format | Who reads it |
|---|---|
| BCrypt | Almost all modern ones |
| SHA256 with salt | AuthMe, nLogin |
| MD5 | Outdated: migrate, but force a password change |
Procedure
- Copy the database and the plugin folder — Database dump.
- Export the accounts table.
- In the new plugin, specify the hash type that matches the old one.
- Import.
- Test on a test account before opening the server.
If the formats are incompatible
A reset is all that's left: all passwords are zeroed out and players register again. That's painful, so:
- warn players in advance;
- keep the nickname → permissions and items mapping (they don't depend on the password);
- enable a soft mode for a week: registration with any password on first login.
UUID
With online-mode=false, the UUID is calculated from the nickname and doesn't change when you switch the auth plugin — claims and balances stay in place: Nickname login.
General setup — AuthMe.
Minecraft hostingYour server runs while you are offlineCreate server
