# 🚀 xLogin v1.0.7 - The Ultimate Optimization & Bedrock Update
This update focuses on making **xLogin** incredibly smart, lightweight, and 100% dynamic. We rewrote the core security system, perfected Bedrock support, and made sure you never have to restart your server to apply config changes again!
## 📱 Flawless Bedrock Support (Geyser/Floodgate)
* **Triple-Layer Detection:** The Bedrock auto-login system has been completely rewritten. It now uses a mathematical UUID version 0 check combined with the Floodgate API, ensuring Bedrock players bypass the login screen instantly and securely.
* **Dynamic Toggle:** The `geyser-support.auto-login-bedrock` option is now checked in real-time. You can enable or disable Bedrock auto-login on the fly without restarting!
## 🛡️ Unified & Dynamic Security System
* **Master Protection Check:** We removed redundant code and created a centralized `isProtected()` method. Performance is better than ever!
* **Ultimate Interaction Blocker:** Unregistered players are now strictly prevented from opening physical menus (chests, crafting tables) or using items in their hands (like lobby compasses/clocks).
* **Toggleable Blindness:** The blindness effect upon joining is now fully customizable. You can turn it on or off dynamically via `protection.effects.blindness` in the `config.yml`.
* **Dynamic Captcha:** The Captcha system now correctly reads the `captcha.enabled` option from your config in real-time.
## 🌐 Smart Proxy & Network Handling
* **Real-Time Proxy Detection:** The plugin no longer locks the proxy state on startup. You can now toggle `proxy-mode: true/false` in your config, use `/xlogin reload`, and the `/premium` command will instantly enable or disable itself!
* **Smart IP Tracking:** Removed the strict "Kick on different IP" feature that punished players with dynamic internet providers. Now, if a player's IP changes, they just need to enter their password normally, and the plugin will silently update their new IP in the database.
## ⚙️ Administration & Quality of Life
* **Auto-Spawn Teleport:** Players are now automatically teleported to the designated login spawn (`/xlogin setspawn`) the exact millisecond they join the server, preventing them from falling into the void or glitching out.
* **Fixed `/xlogin reload`:** The reload command now properly reloads *both* your `config.yml` and your language file (`messages_es.yml` / `messages_en.yml`) at the same time.
* **Fixed Account Deletion:** Fixed an SQL parameter error when admins used `/xlogin unregister <player>`.
* **Player Self-Unregister:** Added the `/unregister` command so regular non-premium players can delete their own accounts using their password.
---
**⚠️ Note for Server Admins:** Thanks to the new dynamic core, you can now change almost any setting in your `config.yml` and simply type `/xlogin reload` in the console to apply it instantly!
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" }