Repository navigation
Releases
v1.0.6
Security
- Atomic rate-limit slot reservation in TOTP & Email Recovery:
AuthService.verifyTotp,AuthService.disableTotp,EmailRecoveryService.confirmEmail, andEmailRecoveryService.completeRecoverynow reserve an in-flight attempt slot viaLoginRateLimiter.tryAcquire(...)before performing database/crypto work and release or record outcomes on every exit path, matchinglogin,changePassword, andunregister. - Strict
targetServerbinding on signed proxy tokens:ProxyTokenSigner.verify(raw, expectedTargetServer, now)now rejects tokens with an emptytargetServerwhenexpectedTargetServeris specified, and Velocity (JustLoginVelocity) and BungeeCord (JustLoginBungee) include the destination backend server name when signingAUTH_OK/PREMIUM_VERIFIEDmessages.
v1.0.5
Added
/2fa setupcan show a locally generated authenticator QR code on a client-only map in the player's held slot (totp.qr-map-enabled: true, config version 8). The real inventory and world map storage are never modified; no external QR service is used.- QR display is cleared on confirmation, cancellation, replacement, logout/disconnect, death, teleport, inventory interactions, slot changes, item drops/swaps/use, and after at most 120 seconds. The original slot is restored from the current server inventory; map pixels are overwritten with a blank image. Shutdown also blanks active maps and restores their captured slot display without accessing another Folia region's inventory.
/2fa canceldiscards pending setup. Manual secret/URI provisioning remains available when QR display is disabled or unavailable. A new setup or disconnect invalidates stale asynchronous setup callbacks.
Security
- Pending TOTP secrets are consumed atomically; setup/cancellation cannot replace an in-flight confirmation. Diagnostic string representations redact the pending secret.
- A QR code contains the TOTP secret: screenshots and modified clients can retain it despite display cleanup. Setup still requires authentication and a valid first TOTP code before 2FA is enabled; pending setup expires after five minutes.
v1.0.4
Changed
/jl editor [page]now exports accounts ordered by most recent login first rather than registration order. Accounts with no recorded login sort last; equal login timestamps are ordered by descending account ID for deterministic pagination.
v1.0.3
Fixed
- Editor links now include the configured relay URL, so the browser reads and writes against the same relay as the plugin instead of failing with HTTP 404 when its default differs. Encryption keys remain in the URL fragment.
- Web Editor uploads now use the JustLogin-hosted relay at
https://bytebin.justlogin.netinstead ofbytebin.lucko.me, which rejected uploads with HTTP 403. Updated both the plugin and hosted/bundled editor defaults. - Existing configs using the previous default relay (with or without a trailing slash) migrate automatically to the new address (
config-version: 7). Custom relay URLs are preserved.
v1.0.2
Fixed
- Migration: MariaDB/MySQL TLS (
sslMode) —/jl importand the auto-scanner built a barejdbc:mariadb://host:port/dbURL, which failed on servers with self-signed certificates (Self signed certificates. Either set sslMode=trust...). The scanner now readssslMode/useSSLfrom the legacy plugin config (useSSL: false->disable,true/REQUIRED->trust), falls back to JustLogin'sstorage.mariadb.ssl-mode, and manual/jl import <source> mysql ... --ssl-mode=<trust|disable|verify-ca|verify-full>can override it. - Migration: FastLogin
premiumUuid— the FastLogin import always rewrotegame_uuidof premium accounts from the offline UUID to the Mojang UUID, which breaks OP, whitelist,world/playerdata/and permissions on servers that ran FastLogin withpremiumUuid: false. The scanner now readspremiumUuidfromplugins/FastLogin/config.yml(missing key =true, FastLogin's own default = rewrite). WithpremiumUuid: falseonlypremium = 1andpremium_uuidare set andgame_uuidstays untouched; new FastLogin-only accounts get the offline UUID.
Added
--keep-offline-uuid(alias--preserve-game-uuid) and--rewrite-uuidflags for/jl import fastloginto override the config detection.--dry-run, the start message, the final summary and the import report now state clearly whether FastLogin keeps the offlinegame_uuidor rewrites it to the Mojang UUID.- New message keys
admin.import-bad-flag,admin.import-fastlogin-uuid-kept,admin.import-fastlogin-uuid-rewritten(en,cs,sk).
v1.0.1
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[Unreleased]
[1.0.1] - 2026-11-15
Changed
- Polished wording of in-game messages, help pages and documentation across
en,csandsk. - Minor Web Editor label tweaks.
- Config: one
skins:option was renamed; existing configs are migrated automatically (config-version: 6). - Internal cleanups and small stability improvements.
[1.0.0] - 2026-11-13
Added
-
Schema v2 & SMTP Email Recovery: automatic SQLite/MariaDB migration
v1 -> v2(email,recovery_code_hash,recovery_expires_at, indexedemail), zero-dependency virtual-threadSmtpMailer(STARTTLS/SSL/NONE), and/email <set|clear|recover>commands with masked audit trails and anti-enumeration responses. -
Admin Rename, Merge, GUI & Granular Permissions:
/jl rename <old> <new>,/jl merge <source> <target>(transactional merge preserving survivinggame_uuid),/jl gui [page]chest browser enforcing strict Rule 8 click/drag cancellation,justlogin.email, and child permissionsjustlogin.admin.<reload|status|audit|unregister|changepass|reset2fa|setpremium|forcepw|rename|merge|gui|import>. -
Captcha Challenge:
/captcha <code>anti-bot challenge (captcha.enabled,captcha.require-on-register,captcha.trigger-after-failures,captcha.length,captcha.expire-seconds). -
Proxy Auth-Server Lockdown & Routing:
proxy.auth-serverslockdown on Velocity (ServerPreConnectEvent) and BungeeCord (ServerConnectEvent), driven by HMAC-signedBACKEND_AUTH_OKandLOGOUTplugin messages. -
Single-Password Configuration Dialog & Config v3:
login.dialog-single-password: truedefault inPaperDialogUi, plus automaticConfigUpdaterv2 -> v3migration. -
Floodgate Bedrock Cumulus Forms: pure-reflection
BedrockFormUi(bedrock.cumulus-forms: true) offering native Bedrock forms when Cumulus/Floodgate are installed, with command fallback otherwise. -
Slovak Localization: bundled
messages_sk.yml(locale: sk) verified for key parity alongsideenandcs. -
Developer API:
JustLoginAPIregistered in BukkitServicesManager, secret-freeAccountSnapshot, and Bukkit events (PlayerAuthenticatedEvent,PlayerRegisteredEvent,PlayerLoggedOutEvent,PlayerPremiumVerifiedEvent). -
Optional Local Loopback HTTP Editor:
editor.local-http.enabledstarts a127.0.0.1-only embeddedHttpServerserving the static Web Editor UI and/postrelay with CSP headers as a self-contained alternative to external Bytebin instances. -
Built-in Skin Management & Schema v3 (
Migrationsv3, Config v5):MojangSkinClientfetches signed Mojang skin textures (value+signatureviasessionserver.mojang.com/...?unsigned=false) with bounded TTL caching and fail-open timeouts so Mojang outages never block logins.- Persistent custom skin columns on
justlogin_accounts(skin_owner,skin_value,skin_signature,skin_updated_at) preserved across/jl mergeand/jl rename. - Configurable
skins:section (enabled,command-enabled,cooldown-seconds,cache-seconds, plus a restore-by-username toggle) automatically restores matching Mojang skins by username for password-authenticated joins (strictly cosmetic; never grants/premium) across standalone Paper, Velocity (GameProfileRequestEvent), and Paper backends. - In-game
/skin <player|reset>(alias/skins,justlogin.skin, cooldown bypassjustlogin.skin.bypasscooldown) and admin/jl skin <player> <target|reset>(justlogin.admin.skin) updating livePlayerProfileon Paper/Folia entity threads with DB persistence andCommandDoc/HelpRendererdocumentation inen,cs, andsk.
-
1-Click Legacy Auto-Migration Hardening: expanded
MigrationScanner+ importers for AuthMe, FastLogin, LibreLogin (librepremium_data, splitBCrypt-2A/Argon-2ID), LoginSecurity (ls_players), nLogin ($SHA512$reversed format +mojang_id), OpeNLogin (openlogin), LimboAuth (AUTH), and Authy (players), with--dry-runpreview and audit reports. -
Interactive
/jl help: paginated help and detailed command cards (CommandDoc,HelpRenderer,HelpCommandCompletenessTest) filtering by permission and active server features acrossen/cs/sk. -
Landing page (
docs/index.html, served atjustlogin.net/; the web editor lives atjustlogin.net/editor/). Links to Modrinth, Hangar and GitHub, lists the private security contactsecurity@justlogin.net, and forwards legacy/?code=…#keyeditor links to/editor/.
Changed
- Web Editor redesign (
docs/editor/index.html, mirrored ineditor/src/main/resources/web-editor/): calmer light/dark theme, segmented login-mode control, switches, summary figures, pending-changes bar with Discard, copyable apply command, collapsible relay setting and responsive layout. Same encryption flow and strict CSP; adds a?demopreview with made-up data.
Security
- Threat model regression suite (
ThreatModelMatrixTest) covering bounded hashing DoS (HASHING_BUSY), TOTP step anti-replay & single-use backup codes, HMACBACKEND_AUTH_OKreplay rejection, pending/premiumrollback, and SQLite v1->v2 migration integrity. - Explicit documentation of vanilla Dialog plaintext password rendering (streamer warning),
secrets.keyhost-compromise boundary, and Web Editor encrypted PII handling.
[0.1.0] - 2026-11-13
Added
- Multi-module architecture (
core,editor,paper,velocity,bungee) targeting Java 21 bytecode (--release 21) with-Xlint:all -Werror. - Unified suite conventions (
justlogin.net):- Async two-phase Paper startup (async secrets & storage migration -> first-tick
finishStartup) withComponentLoggerMiniMessage box banner on Paper, Velocity, and BungeeCord. - Standardized config keys (
locale,update-check,metrics,storage) withConfigUpdaterbackup/migration/merge and backward-compatible fallbacks. - Stateful GitHub Releases
UpdateChecker(12-hour interval) notifyingjustlogin.adminupon authentication. - bStats support (
metrics: truetoggle +SimplePiecharts across Paper, Velocity, and BungeeCord). - Full
docs/assets/,docs/gallery/,.github/workflows, and Modrinth/Spigot store copy.
- Async two-phase Paper startup (async secrets & storage migration -> first-tick
- Authentication & UI:
- Standalone Paper Mojang premium auto-login (
/premiumand its counterpart directly on standalone Paper servers without BungeeCord, Velocity, ProtocolLib, or PacketEvents) via PaperChannelInitializeListenerHolder+ RSA/AES challenge + MojanghasJoinedverification + signedtexturesskin restoration. - Native Paper 1.21.7+ Configuration-phase
Dialogauthentication (AsyncPlayerConnectionConfigureEvent) withcommandUI fallback for Bedrock (Floodgate) and< 1.21.7clients. - Argon2id password hashing (
password4j1.8.4) on bounded hashing workers, plus automatic transparent rehash for AuthMe SHA-256 / SHA-512, BCrypt, and PBKDF2 hashes. - RFC 6238 TOTP 2FA (
/2fa setup,/2fa confirm,/2fa disable,/2fa verify) and 8 single-use hashed backup codes. - Self-contained AES-256-GCM Web Editor (
editormodule + Bytebin relay) via/jl editorand/jl applyedits. - AuthMe Reloaded & FastLogin SQLite/MariaDB importers and SQLite/MariaDB dual-dialect
Migrations+ DAOs. - English (
messages_en.yml) and Czech (messages_cs.yml) MiniMessage localization bundles.
- Standalone Paper Mojang premium auto-login (
Security
sessions.enabled: falseandpremium.auto-detect-mojang: falsesafe defaults (with automaticconfig-version1 -> 2 migration ofproxy.auto-detect-mojang/proxy.mojang-cache-seconds).- Fail-closed
ProxyStartupCheckverifying Paper forwarding configuration (velocity/bungee) and non-placeholdershared-secreton startup. - Log4j2 root filter redacting plaintext passwords from player auth commands across console and logs.
- HMAC-SHA256 + timestamp + replay-nonce verification on
justlogin:authplugin messaging channel. - Immutable
game_uuidassigned once on account creation and preserved on standalone Paper, Velocity, and BungeeCord across/premiumtoggles and Mojang renames. - Per-(account, IP) and per-IP rate limiting + exponential backoff, duplicate-login pre-auth protection, and fail-closed pre-auth lockdown.
Full Changelog: https://github.com/filasik/justlogin/commits/v1.0.1