Sueta

CraftersLogin

3.0

Complete authentication solution with premium auto-login, proxy support, brute-force protection, persistent sessions, and flexible database options for Minecraft servers.

·Plugin
  1. 3.0latestCraftersLogin 3.0Aug 5, 2026

    CraftersLogin 3.0 — Release Notes

    Compatible with: Paper / Spigot 1.13 – 1.21.x
    Required: ProtocolLib 5.x (for SIGN authentication mode)
    Optional: PlaceholderAPI, CraftersFastAuth, CraftersStaff
    ---

    🆕 New Features

    🔐 Sign GUI Authentication System (Anti-Logger)
    Players can now authenticate using a native Minecraft Sign editor interface. When /login or /register is executed in SIGN mode, the sign editor opens automatically — no chat required. - ProtocolLib-Powered: A fake sign block is sent to the client via ProtocolLib packets. When the player types their password and clicks Done, the packet is intercepted server-side — the sign is never placed in the world, and the block is instantly restored. - Alphanumeric Support: Players can type full passwords (letters, numbers, special characters) using their keyboard — no more PIN pads! - Security: Completely bypasses chat, rendering malicious client chat-loggers completely useless. - Registration Flow: On /register, the Sign opens twice — once for the new password and once for confirmation. If the passwords don't match, the flow restarts. - Configurable: Toggle between CHAT and SIGN mode in config.yml via authentication.type. - Cleanup on Quit: If a player disconnects mid-authentication, their sign state and block data are automatically cleaned up. ---
    🌐 Smart Proxy & Bedrock Auto-Detection (Plug and Play)
    - Silent Reflection: Replaced noisy floodgate-api checks with silent Reflection — fully compatible with GeyserMC without dependency conflicts. - Auto-Routing: The plugin automatically detects if the server is Standalone or behind a Proxy (BungeeCord/Velocity) by safely reading paper-global.yml and spigot.yml in memory. It adapts its network behavior entirely on its own. ---
    📧 Automated Password Recovery (Self-Service)
    - JavaMail Integration: Embedded an asynchronous SMTP mailer (javax.mail). - `/recovery` Command: Players can link their emails, request a recovery PIN, and set a new password without needing staff intervention. ---
    🚫 Advanced Anti-Alt Limits
    - SQL Counting: Uses SELECT COUNT(*) instead of memory-heavy Java list counting, preventing memory spikes. - Network Exemption: Includes an IP whitelist system (whitelisted-ips) for cybercafes and sibling households. ---
    🔄 Redis Session Synchronization
    - Multi-Proxy Support: Introduced SessionStore architecture. - High Availability: Uses JedisPool and Redis native SETEX for cross-server session state persistence. Falls back to memory safely if Redis drops. ---
    🗄️ Universal Database Migration Tool
    - AuthMe & nLogin Support: The /crafterslogin import command directly streams accounts from an old plugin's database (SQLite/MySQL) straight into CraftersLogin. - Smart Hashing: BCrypt passwords migrate 1:1 seamlessly. Older SHA hashes import safely, prompting the user for an update upon login. ---
    🏠 Spawn Management System
    A completely new dedicated system for defining player spawn points. Administrators can now configure five distinct spawn types — for login, registration, first-time join, general join, and respawn — each independently set via the /crafterslogin spawn command. Spawn locations are now stored in a separate spawns.yml file. ---
    👻 Player Invisibility During Authentication
    Players who have not yet logged in or registered are now automatically hidden from all other online players. Fully configurable via config.yml. ---
    🎒 Inventory Isolation During Authentication
    When a player joins and is placed into the authentication flow, their inventory is securely backed up and cleared. Once they successfully authenticate, their full inventory is restored. This prevents potential item exploits during the unauthenticated state. ---
    ⏱️ ActionBar Countdown Toggle
    A new option in config.yml (actionbar.enabled) allows server owners to completely disable the login/register countdown displayed in the action bar. ---
    ✅ Full Command Autocompletion (TabComplete)
    All /crafterslogin commands and their subcommands now support tab-completion. This includes the full spawn tree: /crafterslogin spawn → set/unset/teleport/list → auth/firstjoin/join/register/respawn. Autocompletion is permission-aware. ---
    🤝 Crafters Synergy Bridge (CraftersLogin ↔ CraftersStaff)
    When a staff member who has their Staff Mode or Vanish active reconnects, both systems are automatically coordinated during the authentication flow — the player's staff state is suspended until login is complete, then transparently restored. ---
    🔒 Have I Been Pwned (HIBP) Integration
    An optional check against the HIBP public database prevents players from registering with compromised passwords. ---
    🛡️ Brute Force Protection
    A graduated brute force defense system. Failed login attempts are tracked per IP. After a configurable threshold, the IP is temporarily blocked. After a higher threshold, it can be permanently blocked. ---
    🤖 Captcha Verification
    An optional CAPTCHA challenge (item-based, no external URLs required) can be triggered for suspicious IPs or for all unauthenticated players. ---
    🌍 GeoIP Country Blocking for Staff
    Staff members with crafterslogin.staff.security permission can be restricted to only connect from allowed countries. ---
    🗝️ Staff Secret Answer Challenge
    Staff members are prompted to configure a secret answer on first login. If a staff member connects from a different IP, they are challenged to provide this answer before being granted access. ---
    📱 2FA System for Staff (Optional)
    An optional TOTP-based Two-Factor Authentication system for staff. Staff can self-enroll via /2fa start. If a staff member loses access to their authenticator, they can request removal which alerts online administrators for approval. ---
    💤 AFK Session Timeout
    Staff sessions expire after a configurable period of inactivity. When the session expires, the player is logged out and must authenticate again. ---
    📊 PlaceholderAPI Integration
    Full PlaceholderAPI expansion registered under %crafterslogin_<variable>%, providing all player-specific data (registration status, last IP, login count, 2FA status, etc.) to compatible plugins and scoreboards. ---

    🔧 Improvements

    Database Architecture
    Uses a factory-based database initialization approach. The database is connected and validated before any other subsystem starts, eliminating startup crashes caused by dependency injection ordering issues.
    Dependency Injection Order
    Corrected the initialization sequence so all managers receive a fully initialized and connected database instance at construction time. This resolved the [Guice/MissingImplementation] startup error.
    Admin Command Infrastructure
    The /crafterslogin command has been fully rebuilt with individual sub-handlers for each administrative action. Permissions are checked granularly, allowing server owners to grant access to specific admin actions without giving full crafterslogin.admin access.
    Help Menu
    The /crafterslogin help menu now accurately lists all available commands including the new spawn management and migration tools. ---

    🐛 Bug Fixes

    Secret Answer Not Saving (SQL Error 90012)
    The database update query for player accounts was missing the secret_answer field binding. This caused the /setsecurityanswer command to throw a SQL error and fail to save the answer. The parameter mapping has been corrected.
    plugin.yml YAML Syntax Error
    A malformed YAML node in the plugin descriptor was preventing the plugin from loading entirely on the server. The permission tree has been corrected and validated.
    Missing Messages (All Admin Commands)
    The following message keys were missing from messages.yml, causing th
    27 downloads
  2. 2.1CraftersLogin 2.1Jun 23, 2026

    CraftersLogin v2.1

    This major release brings production-grade quality, security, and independent infrastructure to your server's authentication system. Version 2.1 eliminates third-party premium authentication dependencies, integrates advanced security APIs, and introduces a native 2FA system for staff members. ---

    Key Features

    🛠️ Independent Premium Authentication
    We have completely removed reliance on external premium authentication libraries. Premium verification is now handled securely at the protocol level via our new specialized hook: CraftersFastAuth. Seamless Entry:* Verifies players directly against Mojang session services, bypassing password prompts for premium accounts while maintaining the standard flow for non-premium users. Note: Requires ProtocolLib and CraftersFastAuth to function on standalone servers.* 📢 Where to find CraftersFastAuth: You can get the required CraftersFastAuth* dependency exclusively through our official Discord server. Join here: [https://discord.gg/k6KNKPXsUb](https://discord.gg/k6KNKPX…
    🔑 Two-Factor Authentication (TOTP)
    Protect high-privilege staff accounts from credential theft with a native Time-Based One-Time Password system. Compatibility:* Works with Google Authenticator, Authy, and any standard TOTP app. Workflow:* Setup via /2fa start, confirmation via /2fa confirm <code>, and verification on login via /2fa verify <code>. Restricted to accounts with the crafterslogin.2fa permission.
    🌐 Threat Detection & API Integrations
    Anti-VPN & Proxy (ProxyCheck.io):* Detects and rejects connections from anonymizing networks during the pre-login event before they enter the server. Geographic Filtering (IP-API):* Restrict or block connections from high-risk regions using standard ISO country codes. Compromised Passwords (HIBP):* Blocks registrations using leaked credentials using the secure k-Anonymity model (raw passwords/hashes are never sent over the network).
    📊 Monitoring & Performance
    Asynchronous Discord Webhooks:* Sends real-time embedded notifications for registrations, successful logins, and failed attempts directly to your Discord staff channels without affecting server ticks. PlaceholderAPI Support:* Register statistics using %crafterslogin_total_accounts% and %crafterslogin_premium_accounts%. Automated Config Updater:* Automatically injects missing configuration keys into config.yml on startup without overwriting your custom values.
    ⚙️ Database & Stability Optimizations
    Automated Data Migration:* A new administrator-only command allows full account and session data migration between H2 and MySQL backends in any direction. H2 Connection Pool Refactor:* Rewritten connection management to guarantee absolute stability and prevent failures under heavy concurrent login pressure. Core Fixes:* Resolved SHA-256 password verification failures and fixed session expiration desynchronization on rejoin. ---

    Upgrade Notes

    1. Dependencies: Ensure ProtocolLib is installed and download CraftersFastAuth from our [Discord Server](https://discord.gg/k6KNKPXsUb) if you plan to use independent premium authentication. 2. Configuration: New security keys will automatically inject into your config.yml. Review them to toggle features like Anti-VPN, Geo-IP, or HIBP protections. 3. Localization: Every player-facing string can now be fully customized inside the new messages.yml file.
    33 downloads
  3. 1.8CraftersLogin 1.8May 1, 2026

    CraftersLogin v1.8 — Critical Fixes

    April 22, 2026
    ⚠️ This version is intended for proxy-based setups only (Velocity). Standalone server usage is no longer supported.
    ---
    🔧 Fixed
    - H2 Driver Registration on Velocity — The shaded H2 driver is now properly registered on startup. - Plugin Message Subchannel Mismatch — Premium enable and disable commands now send the correct subchannel identifiers to the proxy. - Empty Method Implementations — Database initialization and session cleanup task were not executing; both are now fully implemented. - Duplicate Channel Registration — A duplicate messaging channel registration on listener setup has been removed. - Premium Command on Standalone Servers — The premium command was not functioning correctly on standalone servers; the behavior has been corrected and the plugin now requires a proxy to operate. - Tab Completion Not Working — The /cl command now correctly shows tab completion suggestions. - Help Messages Showing Plugin Prefix — All /cl help lines now display clean text without the plugin prefix. ---
    ✨ Added & Improved
    - Proxy-Only Mode — The plugin now requires a proxy to be configured in order to function. Running it on a standalone server without a proxy is not supported. This is strongly recommended for better security. - Expanded Tab Completion — All subcommands, spawn subcommands, purge day values, player names, and the convert subcommand are now included in tab completion. - Database Connection on Enable — The database connection is now properly established when the plugin loads. - Session Cleanup Task — Expired sessions are now automatically removed every 5 minutes. - Proxy Premium Sync — Enabling or disabling premium mode now correctly notifies the Velocity proxy.
    33 downloads
  4. 1.6CraftersLogin 1.6Apr 21, 2026

    CraftersLogin v1.6 — Critical Premium Auto-Login System - Fully Functional

    🔧 Fixed

    - Premium auto-login was not working correctly when switching servers or reconnecting because the premium status was not being validated early enough in the connection process - Already registered premium players were incorrectly rejected because the system was not recognizing their existing registration during the UUID validation process - The auto-login system was generating false positives because it was not properly distinguishing between new and existing registered players during UUID mismatch checks - Database error when updating accounts because SQL queries were still referencing columns that had been removed when the ban system was deleted - The premium player cache was throwing internal errors because the implementation was using a view of the key set that became invalid when the underlying map was modified - Premium players were not being correctly forced into online mode because the authentication listener was not running at the right priority level in the event chain - Internal message communication between the proxy and backend servers was failing because the listener was expecting messages from the wrong source type - A player's premium status was not being saved to the correct database table because the enable and disable methods were using different tables inconsistently - The console was generating excessive spam because informational messages were being logged at the wrong level - Expired premium accounts or players who used /premium before their subscription ended were not being handled because there was no way to disable premium mode once enabled

    ➕ Added

    - Early premium validation system at the moment the player attempts to connect, before entering the server - In-memory cache manager for premium players, improving verification performance - Database support on the proxy side for storing premium player data (H2 and MySQL) - Configurable message for when a premium player fails automatic authentication - Using /premium now kicks the player so they can reconnect and apply auto-login correctly - Changing another player's password as an admin now automatically kicks that player for security

    🔄 Changed

    - H2 is now the default database, MySQL is now optional - All system messages were moved to configuration files, none are hardcoded anymore - /cl ban and /cl unban subcommands were completely removed - The spawn command was restructured with new subcommands: setspawnregister, setspawnlogin and setspawn - The ban system was fully removed from the database for better compatibility and a lighter JAR size
    8 downloads
  5. 1.5CraftersLogin 1.5Apr 19, 2026

    CraftersLogin v1.5 — Velocity Support Fix

    🔧 Fixed

    - ClassNotFoundException for Velocity plugin (CraftersLoginVelocity) - minimizeJar task incorrectly removing Velocity classes from the JAR - Proxy config files not being generated on startup

    ➕ Added

    - ProxyInitializeEvent to properly initialize the Velocity plugin

    🔄 Updated

    - config.yml, messages.yml and proxy-config.yml bumped to version 2 - Velocity plugin now correctly loads and creates proxy-config.yml and messages-proxy.yml
    12 downloads
  6. 1.0CraftersLogin 1.0Apr 19, 2026
    13 downloads

Similar projects

Plugin →