This is a preserved product reference. Check the current listing for release-specific dependencies and support. Ask for help.
Reference information
Original guide version: v1.4
Original supported versions: Proxy networks / Backends 1.16+
Original guide updated: September 2026
Marketplace listing
View the current product listing on BuiltByBit
https://builtbybit.com/resources/crystallogin-crystalguard.120969/
Overview
CrystalLogin and CrystalGuard form one secure authentication suite for proxy-based Minecraft networks. CrystalLogin runs once on the proxy and owns accounts, account types, premium verification, cracked passwords, sessions, commands, and authentication state. CrystalGuard runs on every protected backend and keeps gameplay locked until CrystalLogin authorizes that exact connection.
Install each artifact only on its intended platform
CrystalLogin belongs on one proxy. CrystalGuard belongs on every protected backend. Use matching v1.4 JARs and remove older versions before starting the network.
| Artifact | Install location | Responsibility |
|---|---|---|
| CrystalLogin-1.4-universal.jar | Velocity, BungeeCord, Waterfall, FlameCord, or compatible Bungee-family proxy | Authentication authority, accounts, sessions, commands, premium checks, and local SQLite storage |
| CrystalGuard-1.4.jar | Every protected Paper or Spigot backend running Minecraft 1.16+ | Locks gameplay and validates short-lived authorization from CrystalLogin |
Security Model
One authoritative account type per username
PREMIUM
The proxy forces native online authentication. Mojang/Microsoft session verification proves the live connection, and the verified UUID is bound or matched to the stored account. Offline connections using that username are denied before password login; passwords are never a fallback.
CRACKED
The proxy uses the offline connection route. New players register and returning players log in using a BCrypt password. A correct password is accepted only while the stored account type remains CRACKED.
BEDROCK
With Floodgate installed on the proxy and premium.bedrock-auto-auth enabled, a server-side verified Floodgate identity can use the Bedrock flow. It never overwrites an existing CRACKED or PREMIUM account.
CrystalGuard
Backend players begin locked. CrystalGuard rejects expired, tampered, replayed, wrongly bound, or out-of-order assertions and blocks movement, interaction, blocks, inventory actions, item movement, chat, commands, and combat until authorization succeeds.
Premium conversion
An authenticated cracked player can run /premium yes. CrystalLogin performs a Mojang profile pre-check, stores the PREMIUM type, and requires a reconnect for real session authentication. The profile lookup is not identity proof; only the subsequent online session is. After conversion, cracked password authentication no longer works. A trusted administrator can deliberately change the stored type with /authadmin premium.
Configurable Flow & CAPTCHA
Premium question
premium-question.enabled controls whether new cracked registrations are asked the /premium yes|no question. Turning the question off does not turn premium verification off: stored PREMIUM accounts still require native Mojang/Microsoft session authentication and their bound UUID, and /login is never a fallback.
Optional native CAPTCHA (new in 1.4)
captcha.enabled adds an optional Minecraft-native map challenge. The player reads the code from a temporary map and types it in chat; CrystalGuard consumes only that pending answer and then restores normal chat. No browser, resource pack, web service, or persistent answer storage is involved.
• LOW, MEDIUM, or HIGH difficulty
• Applies independently to PREMIUM, CRACKED, and BEDROCK
• Two safe positions in the flow
• Timeout, maximum attempts, and bounded regeneration
• Answer rate limiting and case sensitivity
• Category or custom alphabets with confusing-character filtering
• Independently configurable title, actionbar, and sounds
• Localized messages in every bundled language
BEFORE_CREDENTIALS
Cracked players complete the CAPTCHA before registration or password entry.
AFTER_CREDENTIALS
The CAPTCHA follows the platform or password check but precedes gameplay authorization. Microsoft and Floodgate identity are always established by their trusted platform path first.
CAPTCHA completion is returned to CrystalLogin as a separate HMAC-SHA256 signed, expiring, nonce-protected result bound to that player, backend, connection, and challenge. Success resumes the selected continuation; it never authenticates a password or creates a premium identity by itself. The temporary map uses a reusable contextual MapView and an empty hotbar slot, never overwriting legitimate items, and marked maps are removed on success, failure, timeout, disconnect, plugin disable, and the next join after an unclean stop.
Answers never leave memory
CAPTCHA answers stay only in CrystalGuard memory and never enter logs, SQLite, dashboard traffic, or audit files. A connection is marked authenticated only when a fresh signed CAPTCHA result matches that exact player, backend, connection, and challenge.
CrystalGuard Bridge
After authentication, CrystalLogin sends a short-lived HMAC-SHA256 assertion through the private crystallogin:auth plugin channel. The assertion is bound to the exact player and destination rather than acting as a general unlock message.
• Player UUID
• Normalized username
• Target backend name
• Issue and expiry timestamps
• Authentication state
• Random nonce
Important trust boundary
The bridge message authorizes gameplay; it does not prove that the network connection came from your proxy. Configure trusted proxy forwarding and firewall or bind every backend so players cannot connect directly.
Requirements
The v1.4 release uses Java 8 bytecode. Exact proxy forks, Minecraft releases, Java runtimes, forwarding plugins, and protocol changes should still be tested in staging before production use.
| Requirement | Version / Notes |
|---|---|
| Proxy | Velocity, BungeeCord, Waterfall, FlameCord, or a compatible Bungee-family proxy |
| Backends | Paper or Spigot, Minecraft 1.16+; CrystalGuard on every protected server |
| Proxy mode | Global online mode must be false; CrystalLogin selects online or offline mode per username |
| Storage | Local SQLite database bundled with CrystalLogin |
| Optional | Floodgate on the proxy for Bedrock identity |
| Optional dashboard | A separately deployed, HTTPS-reachable CrystalAuth control plane |
Installation
1. Stop the proxy and every backend server, then back up any existing CrystalLogin and CrystalGuard data.
2. Remove older plugin JARs. Never load multiple versions together.
3. Install CrystalLogin-1.4-universal.jar in the plugins folder of one proxy.
4. Set the proxy's global online mode to false so CrystalLogin can select online or offline mode per username.
5. Start the proxy once so CrystalLogin generates its files and bridge-secret.txt.
6. Install CrystalGuard-1.4.jar in the plugins folder of every protected Paper or Spigot backend.
7. Start each backend once, then stop it.
8. Copy bridge-secret.txt from the CrystalLogin data folder into each plugins/CrystalGuard folder.
9. Set backend-id in every CrystalGuard config.yml to the exact server name configured on the proxy.
10. Configure secure player forwarding and prevent all direct backend connections.
11. Restart the full network and complete the verification checklist before opening it to players.
Velocity forwarding
Use modern player forwarding and the Velocity forwarding secret on supported Paper versions. Bind or firewall every backend so it is reachable only from the proxy.
BungeeCord, Waterfall, and FlameCord forwarding
Enable the appropriate Bungee player forwarding and isolate every backend. Legacy Bungee IP forwarding can be forged when a client can reach a backend directly, so use firewalling plus BungeeGuard or an equivalent forwarding-token defense. CrystalLogin relies on the implementation honoring per-connection online mode during pre-login; test your exact fork and version in staging.
proxy/plugins/
CrystalLogin-1.4-universal.jar
CrystalLogin/
bridge-secret.txt
database.db
backend/plugins/
CrystalGuard-1.4.jar
CrystalGuard/
bridge-secret.txt
config.yml # backend-id must match the proxy server nameVerification Checklist
• PREMIUM account with a verified premium client is allowed.
• PREMIUM account with an offline client is denied before /login.
• PREMIUM account with an offline client and a correct historical password is still denied.
• CRACKED account with the correct password is allowed.
• CRACKED account with an incorrect password is denied.
• After CRACKED-to-PREMIUM conversion, the cracked password is rejected.
• A direct connection to a backend is blocked by network configuration.
• After restarting proxy and backends, account types and premium UUID bindings remain stored.
Commands
CrystalLogin player commands — proxy
CrystalLogin administrator commands — proxy
CrystalGuard command — backend
Command visibility while locked
Unauthenticated players may use only the active authentication commands required for their account state. All other commands and chat remain blocked until authentication succeeds. CrystalGuard has no account-management commands; CrystalLogin remains the authentication authority.
| Command | Alias / Permission | Purpose |
|---|---|---|
| /register <password> <confirmPassword> | /reg · no permission | Register a new CRACKED account with BCrypt and authenticate the connection |
| /login <password> | /l · no permission | Authenticate an existing CRACKED account; never authenticates PREMIUM accounts |
| /changepassword <old> <new> <confirm> | /changepw · authenticated CRACKED account | Change the current account password |
| /premium <yes|no> | Authenticated CRACKED account | Choose premium conversion; successful conversion permanently disables cracked password login |
| /crystallogin dashboard | crystallogin.dashboard.access or administrator | Request a short-lived dashboard access link when the optional integration is configured |
| /crystallogin captcha test | crystallogin.admin.captcha · authenticated player | Preview the configured native map CAPTCHA without modifying the account; requires CAPTCHA to be enabled |
| Command | Permission | Purpose |
| /authadmin reload | crystallogin.admin | Reload CrystalLogin configuration |
| /authadmin resetpassword <player> <newPassword> | crystallogin.admin | Set a new password for a cracked account |
| /authadmin unregister <player> | crystallogin.admin | Remove a stored account |
| /authadmin premium <player> <true|false> | crystallogin.admin | Deliberately change the stored premium account type |
| /authadmin info <player> | crystallogin.admin | Inspect stored account information |
| Command | Permission | Purpose |
| /crystalguard dashboard | crystalguard.dashboard.access · operator by default | Show the configured dashboard URL when optional dashboard reporting is enabled |
Permissions & Admin Safety
• Console access remains available for recovery.
• A player administrator must authenticate their own current connection first.
• admin.usernames in config.yml is a case-insensitive compatibility fallback.
• Proxy permissions must be granted on the proxy; backend operator status and Bukkit permissions do not grant proxy commands.
• Only authorized authadmin commands are written to logger/commands.log.
• Password arguments are recorded as [REDACTED].
• If the administrative audit log cannot be written, the administrative action is stopped.
Proxy and backend permissions may be separate
Unless your permissions plugin shares storage, a grant made on a backend does not exist on the proxy, and a proxy grant does not exist on a backend.
# LuckPerms on Velocity
/lp group admin permission set crystallogin.admin true
/lp group moderator permission set crystallogin.dashboard.access true
/lp group admin permission set crystallogin.admin.captcha true
# LuckPerms on a Paper/Spigot backend
/lp group moderator permission set crystalguard.dashboard.access true| Permission | Location | Purpose |
|---|---|---|
| crystallogin.admin | Proxy | Access to /authadmin commands |
| crystallogin.dashboard.access | Proxy | Request optional CrystalLogin dashboard access |
| crystallogin.admin.captcha | Proxy | Run /crystallogin captcha test to preview the native map CAPTCHA |
| crystalguard.dashboard.access | Paper/Spigot backend | View the optional CrystalGuard dashboard URL; operator by default |
Sessions & Languages
Remembered sessions
New installations use session.remember-minutes: 0, so cracked players enter their password after reconnecting. A positive window remembers the previous IP, which cannot distinguish users behind the same NAT or VPN. Enable it only if you accept that risk.
Bundled languages
• English
• Romanian
• French
• Dutch
• German
• Russian
• Polish
• Spanish
• Italian
• Bulgarian
Existing translation files are never overwritten. Missing keys fall back to English and then to a safe internal message.
Upgrade & Migration
The v1.4 account database remains schema-compatible with recovered CrystalLogin SQLite data and BCrypt hashes.
1. Stop the entire network.
2. Make an offline backup of the plugin data folders and database.db.
3. Keep database.db in the active CrystalLogin proxy data directory.
4. Remove old JARs and replace both CrystalLogin and CrystalGuard together with version 1.4.
5. Start the network in staging and inspect all startup logs before production use.
Migration behavior
Legacy PENDING_PREMIUM rows become permanent PREMIUM rows; their first successful native premium connection binds the verified UUID. Existing language files are preserved and missing files are generated. Case-colliding usernames, invalid account types, and duplicate premium UUID bindings fail closed instead of being guessed.
Optional Dashboard
The dashboard bridge is disabled by default and is not required for authentication. It requires a separately deployed HTTPS CrystalAuth dashboard that the proxy and backends can reach without an interactive browser login. The plugins use installation credentials and signed requests. Do not point an unattended server bridge at a private site that requires browser-only authentication. Local authentication continues if the dashboard is disabled or unreachable.
Compatibility & Limits
• CrystalGuard targets the Paper/Spigot 1.16 API and newer compatible releases.
• CrystalLogin includes Velocity and Bungee API entry points.
• Unknown proxy APIs and chained-proxy layouts are not claimed as supported.
• Folia is not claimed as supported.
• Mojang/Microsoft service outages fail closed for premium verification.
• CrystalGuard does not alter or bypass whitelist entries; backend whitelists must match the UUID forwarded by the proxy.
Release verification
Version 1.4 passed 113 authentication, database, migration, configuration, localization, and security checks, 38 CAPTCHA configuration checks, 24 signed-bridge interoperability checks, 16 CAPTCHA generator/expiry/attempt/concurrency/rate-limit checks, 3,200 generated-map inspections across LOW, MEDIUM, HIGH and eight alphabet configurations, 13 packaged-JAR smoke checks, and 24 protocol checks repeated against the final packaged classes. Compiler output contained compatibility deprecation warnings but no errors. A full live-player backend session, real Microsoft session, real Floodgate session, and Folia runtime were unavailable in the isolated test host and are not claimed as verified.
FAQ & Troubleshooting
Can a cracked player log in to a PREMIUM account using its old password?
No. PREMIUM accounts are forced through native online authentication, and the password path is never evaluated.
Is the Mojang profile lookup enough to prove account ownership?
No. It is only a pre-check. Identity is proven by the native online session after the player reconnects.
Why is a player still locked on a backend?
Confirm CrystalGuard is installed there, bridge-secret.txt matches the proxy copy, backend-id exactly matches the proxy server name, and the proxy and backend clocks and logs show no expired or rejected assertion.
Can players connect directly to a backend safely?
No. The authorization bridge is not network identity. Firewall or bind every backend to the trusted proxy and configure secure forwarding.
Do I need MySQL?
No. CrystalLogin includes local SQLite storage.
Do Bedrock players need passwords?
With Floodgate on the proxy and Bedrock auto-auth enabled, a server-side verified Floodgate identity uses the Bedrock flow. Existing CRACKED or PREMIUM accounts are never overwritten.
Why does the backend whitelist reject a player?
CrystalGuard does not change whitelist behavior. The whitelist must contain the UUID forwarded by the proxy; a mismatch indicates a forwarding or whitelist configuration problem.
Does authentication stop if the dashboard is unavailable?
No. The dashboard is optional and local authentication continues when it is disabled or unreachable.
Does disabling the premium question disable premium verification?
No. premium-question.enabled only hides the /premium yes|no prompt for new cracked registrations. Stored PREMIUM accounts still require native session authentication and their bound UUID, and /login is never a fallback.
Is the CAPTCHA a browser or resource-pack challenge?
No. It is a Minecraft-native map challenge. The player reads the code from a temporary map and types it in chat; no browser, resource pack, or web service is used.
Are CAPTCHA answers stored anywhere?
No. Answers stay only in CrystalGuard memory and never reach logs, SQLite, dashboard traffic, or audit files.
Can the CAPTCHA overwrite items in a player's inventory?
No. The temporary map uses an empty hotbar slot and legitimate items are never overwritten. Marked maps are removed on success, failure, timeout, disconnect, plugin disable, and the next join after an unclean stop.
How can an administrator preview the CAPTCHA?
Run /crystallogin captcha test with crystallogin.admin.captcha while authenticated and CAPTCHA enabled. It previews the map challenge without modifying the account.
Support
For support, include both plugin versions, the exact proxy implementation and build, every backend implementation and Minecraft version, forwarding configuration, whether Floodgate or a shared permissions system is installed, relevant proxy and backend logs, and configuration files with bridge secrets, passwords, installation credentials, and other sensitive values removed.
Changelog
v1.4 — September 2026
• New premium-question.enabled option to control the /premium yes|no prompt for new cracked registrations without weakening premium verification.
• New optional Minecraft-native map CAPTCHA with LOW/MEDIUM/HIGH difficulty, per-account-type scope, and two safe flow positions.
• CAPTCHA controls for timeout, attempts, bounded regeneration, answer rate limiting, case sensitivity, category or custom alphabets, confusing-character filtering, title, actionbar, and sounds.
• CAPTCHA results returned over a separate signed, expiring, nonce-protected channel bound to player, backend, connection, and challenge.
• New /crystallogin captcha test command and crystallogin.admin.captcha permission for previewing the CAPTCHA.
• Localized CAPTCHA messages across all bundled languages, with safe fallbacks.
• Expanded release verification including dedicated CAPTCHA configuration, generator, and generated-map inspections.
v1.3 — September 2026
• Universal CrystalLogin artifact for Velocity and Bungee API family proxies.
• Paper/Spigot backend support from Minecraft 1.16+.
• Hardened HMAC-SHA256 bridge with backend binding, expiry, ordering, nonce, and replay checks.
• Fail-closed migration for invalid or ambiguous legacy account records.
• Preserved SQLite accounts, BCrypt hashes, and existing language files.
• Optional signed CrystalAuth dashboard integration with local authentication fallback.