{"id":95283,"date":"2026-06-05T13:59:06","date_gmt":"2026-06-05T10:59:06","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/"},"modified":"2026-06-05T13:59:06","modified_gmt":"2026-06-05T10:59:06","slug":"loginx","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/","title":{"rendered":"LoginX"},"content":{"rendered":"<p># LoginX \u2014 Player Authentication &#038; Session Protection<\/p>\n<p>**LoginX** is a secure, modern authentication plugin for Minecraft servers that require players to register and log in. It protects accounts with encrypted passwords, persistent sessions, client fingerprinting, and a two-phase Mojang premium verification system \u2014 all built with async database operations for minimal server impact.<\/p>\n<p>&#8212;<\/p>\n<p>## Why LoginX?<\/p>\n<p>LoginX was designed with a clean, layered architecture separating auth, session, security, and premium logic. It goes beyond basic login\/register by actively protecting against account takeovers, alt account flooding, brute-force attacks, and replay attacks \u2014 out of the box, with zero extra setup.<\/p>\n<p>&#8212;<\/p>\n<p>## Core Features<\/p>\n<p>### \ud83d\udd11 Authentication<br \/>\n&#8211; Password hashing with **Argon2** or **bcrypt** (configurable in `config.yml`)<br \/>\n&#8211; Configurable **minimum password length**<br \/>\n&#8211; **Login timeout** \u2014 players who don&#8217;t authenticate within N seconds are kicked<br \/>\n&#8211; `\/changepass` command for players to update their own password securely<\/p>\n<p>### \ud83d\udd50 Session Management<br \/>\n&#8211; **Persistent sessions** \u2014 authenticated players are remembered across reconnects<br \/>\n&#8211; **Rolling sessions** \u2014 activity extends the session timer automatically<br \/>\n&#8211; Sessions are **invalidated on IP change** to prevent session hijacking<br \/>\n&#8211; Sessions are **invalidated on fingerprint change** for extra protection<br \/>\n&#8211; Automatic **session cleanup task** runs in the background to purge expired sessions<\/p>\n<p>### \ud83d\udd90 Client Fingerprinting<br \/>\n&#8211; Tracks each player&#8217;s **client brand** and **protocol version** on join<br \/>\n&#8211; Detects when a player&#8217;s fingerprint changes and can block or flag it<br \/>\n&#8211; Configurable **max fingerprint changes per 7 days** to limit suspicious behaviour<br \/>\n&#8211; Stricter fingerprint enforcement available for premium-locked accounts<\/p>\n<p>### \u2b50 Premium Account Linking (`\/premium`) **FIXING IT**<br \/>\nLoginX uses a **two-phase Mojang verification handshake** to let players permanently link their account to their real Mojang\/Microsoft identity:<\/p>\n<p>1. Player runs `\/premium` \u2192 LoginX queries the Mojang Profiles API to confirm the username exists<br \/>\n2. Player is kicked and asked to **reconnect within 60 seconds using the official launcher**<br \/>\n3. On reconnect, LoginX verifies the session against **Mojang&#8217;s session servers** using a unique token<br \/>\n4. If verified \u2192 account is permanently **premium-locked** to the real Mojang UUID<br \/>\n5. Premium-locked players are **auto-logged in** on future joins \u2014 no password prompt needed<\/p>\n<p>This prevents name impersonation: anyone can claim a premium username, but only the real account owner can pass the session server check.<\/p>\n<p>### \ud83d\udee1\ufe0f Security<br \/>\n&#8211; **Brute-force protection** \u2014 account is temporarily locked after too many failed login attempts (configurable threshold and ban duration)<br \/>\n&#8211; **Alt account limiting** \u2014 max registered accounts per IP address<br \/>\n&#8211; **Anti-replay protection** \u2014 blocks reuse of intercepted authentication tokens<br \/>\n&#8211; **Console log filtering** \u2014 sensitive auth details are stripped from server logs<\/p>\n<p>### \ud83d\uddc4\ufe0f Database<br \/>\n&#8211; Supports **SQLite** (zero-config, default) and **MySQL**<br \/>\n&#8211; Fully **async database operations** \u2014 no blocking the main thread<br \/>\n&#8211; Separate tables for player accounts, sessions, and fingerprint change history<\/p>\n<p>&#8212;<\/p>\n<p>## \u2726 Commands<\/p>\n<p>| Command | Description | Permission |<br \/>\n|&#8212;|&#8212;|&#8212;|<br \/>\n| `\/register <password> <confirm>` | Create a new account | `loginx.player` |<br \/>\n| `\/login <password>` | Log in to your account | `loginx.player` |<br \/>\n| `\/logout` | End your current session | `loginx.player` |<br \/>\n| `\/changepass <old> <new> <confirm>` | Change your password | `loginx.player` |<br \/>\n| `\/premium` | Link account to Mojang via 2-phase verification | `loginx.premium` |<br \/>\n| `\/loginx reload` | Reload config and messages | `loginx.admin` |<br \/>\n| `\/loginx info` | View plugin status and stats | `loginx.admin` |<br \/>\n| `\/loginx session <player>` | Inspect a player&#8217;s session | `loginx.admin` |<br \/>\n| `\/loginx forcepremium <player>` | Force-lock an account as premium | `loginx.admin` |<\/p>\n<p>&#8212;<\/p>\n<p>## \u2726 Permissions<\/p>\n<p>| Permission | Default | Description |<br \/>\n|&#8212;|&#8212;|&#8212;|<br \/>\n| `loginx.player` | everyone | Basic auth commands |<br \/>\n| `loginx.premium` | everyone | Access to `\/premium` |<br \/>\n| `loginx.admin` | op | All admin commands |<br \/>\n| `loginx.bypass` | false | Skip authentication entirely |<\/p>\n<p>&#8212;<\/p>\n<p>## \u2726 Configuration Highlights<\/p>\n<p>&#8220;`yaml<br \/>\nauth:<br \/>\n  min-password-length: 8<br \/>\n  login-timeout-seconds: 30<br \/>\n  password-hash: ARGON2  # or BCRYPT<\/p>\n<p>session:<br \/>\n  enabled: true<br \/>\n  timeout-minutes: 30<br \/>\n  rolling: true<br \/>\n  invalidate-on-ip-change: true<br \/>\n  invalidate-on-fingerprint-change: true<\/p>\n<p>fingerprint:<br \/>\n  enabled: true<br \/>\n  max-changes-per-7d: 1<\/p>\n<p>security:<br \/>\n  max-accounts-per-ip: 3<br \/>\n  brute-force:<br \/>\n    max-attempts: 5<br \/>\n    temp-ban-minutes: 10<\/p>\n<p>database:<br \/>\n  type: sqlite  # or mysql<br \/>\n&#8220;`<\/p>\n<p>All messages are fully customizable via `messages.yml`.<\/p>\n<p>&#8212;<\/p>\n<p>## \u2726 Developer API<\/p>\n<p>LoginX exposes a public `LoginXAPI` class for third-party plugin integration. Check session state, listen to auth events, and more. Full documentation is available on the [GitHub repository]([https:\/\/github.com\/abdoabk\/LoginX](https:\/\/github.com\/AbdelrahmanM1\/LoginX)).<\/p>\n<p>&#8212;<\/p>\n<p>## \u2726 Compatibility<\/p>\n<p>| Platform | Status |<br \/>\n|&#8212;|&#8212;|<br \/>\n| Paper 1.20+ | \u2705 Fully supported |<br \/>\n| Spigot | \u2705 Supported |<br \/>\n| Bukkit | \u26a0\ufe0f May work, not tested |<\/p>\n<p>**Java 17+ required \u00b7 Minecraft 1.20+**<\/p>\n<p>&#8212;<\/p>\n<p>## \u2726 Support &#038; Links<\/p>\n<p>&#8211; \ud83d\udcbb **Source code** \u2192 GitHub<\/p>\n<p>> Please do **not** use Modrinth comments for bug reports.<\/p>\n<p>**NOTE** There is problems with &#8220;`\/premium&#8220;` **I am working on it**<\/p>\n","protected":false},"excerpt":{"rendered":"<p>a secure, modern authentication plugin for Minecraft servers that require players to register and log in. It protects accounts with encrypted passwords, persistent sessions, client fingerprinting, and a two-phase Mojang premium verification system<\/p>\n","protected":false},"featured_media":95284,"template":"","meta":{"_minecraft_slug":"loginx","_minecraft_project_id":"ud9PM8xd","_minecraft_author":"AbdelrahmanM1","_minecraft_license":"LicenseRef-All-Rights-Reserved","_minecraft_downloads":136,"_minecraft_follows":0,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"loginx.zip","_minecraft_size_bytes":40514867,"_minecraft_version_count":2,"_minecraft_updated_at":"2026-05-15T18:51:32.515219Z","_minecraft_date_created":"2026-03-11T04:26:21.454350Z","_minecraft_date_modified":"2026-02-26T16:49:47.464726Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/loginx","_minecraft_icon_attachment_id":95284,"_minecraft_imported_at":"2026-06-05T10:59:07+00:00","_minecraft_import_hash":"e3425f88b2ff8849e32814ea7316cd1c","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[126,129,92],"mod_loader":[134],"minecraft_version":[59,36,60,93,94,101,102,62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-95283","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-management","mod_category-spigot","mod_category-utility","mod_loader-spigot","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-4","minecraft_version-1-20-5","minecraft_version-1-20-6","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>LoginX - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LoginX - Minecraft\" \/>\n<meta property=\"og:description\" content=\"a secure, modern authentication plugin for Minecraft servers that require players to register and log in. It protects accounts with encrypted passwords, persistent sessions, client fingerprinting, and a two-phase Mojang premium verification system\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/loginx\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/loginx\\\/\",\"name\":\"LoginX - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/loginx\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/loginx\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/loginx-icon-b9b14cc1cd54c3ed3b5f30c496125c7241cc5a1b_96.webp\",\"datePublished\":\"2026-06-05T10:59:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/loginx\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/loginx\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/loginx\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/loginx-icon-b9b14cc1cd54c3ed3b5f30c496125c7241cc5a1b_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/loginx-icon-b9b14cc1cd54c3ed3b5f30c496125c7241cc5a1b_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/loginx\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"LoginX\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LoginX - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/","og_locale":"en_US","og_type":"article","og_title":"LoginX - Minecraft","og_description":"a secure, modern authentication plugin for Minecraft servers that require players to register and log in. It protects accounts with encrypted passwords, persistent sessions, client fingerprinting, and a two-phase Mojang premium verification system","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/","name":"LoginX - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/loginx-icon-b9b14cc1cd54c3ed3b5f30c496125c7241cc5a1b_96.webp","datePublished":"2026-06-05T10:59:06+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/loginx\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/loginx-icon-b9b14cc1cd54c3ed3b5f30c496125c7241cc5a1b_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/loginx-icon-b9b14cc1cd54c3ed3b5f30c496125c7241cc5a1b_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/loginx\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"LoginX"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/95283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/95284"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=95283"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=95283"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=95283"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=95283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}