Authentication for Hytale with native UI. This update adds optional 2FA, SQL storage, and account backups.
twoFactorEnabled).twoFactorRequired), including session auto-login (twoFactorRequiredOnSession)./2fa, /2fa <code>, /2fa recover <code>, /2fa disable <code>, /2fa done./hlauth 2fareset .json (default), embedded H2, or MySQL (storageType).databaseJdbcUrl for remote MySQL or H2 TCP./hlauth reload./hlauth backup writes a JSON snapshot of all accounts.backupEnabled, backupIntervalHours / backupIntervalMinutes, backupKeepCount.mods/HytaleNet_hlAuth/backups/hlauth-YYYY-MM-DD_HH-mm-ss.json.config.json stays compatible — new keys are added on reload. accounts.json is unchanged in JSON mode.
Copy hlAuth-1.0.1.jar into mods/ and restart the server.