# 🚀 xLogin v1.0.4 - The Ultimate Network & Security Update
We are thrilled to announce the biggest update to **xLogin** yet! This version brings massive improvements to server security, full proxy network support, Bedrock edition compatibility, and an entirely new suite of administration tools.
Here is everything new in **v1.0.4**:
## 🌐 Smart Network & Proxy Integration (BungeeCord / Velocity)
* **Smart Proxy Detection:** xLogin now automatically detects if it is running on a standalone server or behind a Proxy (BungeeCord/Velocity).
* **Network-Only Premium Mode:** The `/premium` auto-login system now dynamically enables itself *only* on proxy networks (to ensure 100% secure UUID verification) and safely disables itself on standalone servers.
* **Auth-Lobby Redirection:** Added `proxy-redirect` to `config.yml`. You can now automatically send players to a target server (e.g., "Lobby") immediately after a successful login.
## 📱 Bedrock Edition Support (Floodgate / Geyser)
* **Bedrock Auto-Login:** Added native support for GeyserMC/Floodgate. Bedrock players authenticated via Xbox Live can now automatically bypass the login screen.
* **Fully Configurable:** The Bedrock bypass can be easily toggled on or off using the new `geyser-support.auto-login-bedrock` option in your `config.yml`.
## 🛡️ Advanced Security & Asynchronous Logging
* **New Logging System:** Added a fully asynchronous `LogManager`. All successful logins, new registrations, failed password attempts, and admin actions are now safely recorded in `plugins/xLogin/logs/security.log`.
* **Premium Name Protection:** Added `prevent-premium-name-impersonation` to the config. If a non-premium player tries to join using the username of an official Premium account, the plugin will automatically kick them to protect the account's identity.
* **Thread-Safe Database:** Rewritten H2 database connection handling to prevent memory leaks and database corruption during high-traffic logins.
## ⚙️ Massive Admin Command Expansion
We have completely revamped the `/xlogin` administration system! Admins now have ultimate control over the database directly from the game or console:
* `+` **`/xlogin backup`**: Safely creates an instant backup of your database inside the `/backups` folder.
* `+` **`/xlogin purge <days>`**: Cleans your database by deleting accounts inactive for a specified amount of days.
* `+` **`/xlogin forcelogin <user>`**: Instantly forces a pending player into a logged-in state.
* `+` **`/xlogin changeuuid <user> <uuid>`**: Easily update a player's UUID.
* `+` **`/xlogin changepass <user> <pass>`**: Forcefully change a player's password.
* `+` **`/xlogin verify <user>`**: Displays a detailed profile of a player (UUID, IP, Premium status, and Last Login).
* `+` **`/xlogin unpremium <user>`**: Removes the premium status from a player's account.
* `+` **Dynamic Help Menu:** The `/xlogin help` command now reads directly from your `messages_en.yml` or `messages_es.yml`, allowing you to translate or customize the admin help page!
## 🛠️ General Fixes & Optimizations
* Updated `pom.xml` dependencies to the latest secure versions (MySQL Connector, BungeeCord Chat API).
* Fixed movement glitching/stuttering for unregistered players in version 1.8.x.
* Fixed an issue where the GUI Admin panel arrows would not paginate correctly.
---
**⚠️ Important Note for Server Admins:**
Please make sure to regenerate or update your `config.yml`, `messages_es.yml`, and `messages_en.yml` files to access all the new features and translations included in this release!
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }