?️ xLogin – 简单、轻量且强大的身份验证系统

xLogin 是一款专为追求极致安全性而不愿承受臃肿负担的服务器设计的一站式身份验证系统。忘掉复杂的外部数据库配置吧;xLogin 经过优化,开箱即用即可在本地快速、安全地运行,无论您运行的是独立服务器还是庞大的代理网络。
注意:/premium 命令仅适用于网络和代理环境。兼容 Bungeecord、Velocity、Waterfall 及其他同类工具。
如何激活代理模式?
前往 config.yml 并启用代理模式,然后下载并安装适用于您代理端的附加组件,即可大功告成!
? 主要功能
- ? 智能网络与代理支持: 完全兼容 BungeeCord 和 Velocity。具备自动检测功能以启用安全的 UUID 验证,并包含自动 Auth-Lobby 重定向系统,可在玩家成功登录后将其引导至指定服务器。
- ? 本地优先存储与备份: 高性能、线程安全的 H2 数据库系统(
data.mv.db)。无需 MySQL 即可获得专业的网络级性能。通过游戏内命令轻松创建即时数据库备份!
- ? 智能正版系统: 使用官方 Minecraft 账户?玩家可以输入
/premium 启用自动登录。插件通过真实的 Mojang 验证(经由您的代理)确保无人能盗用正版身份。
- ? 工业级安全性:
- BCrypt 哈希加密: 密码采用行业标准进行加密,几乎无法被破解。
- 正版名称仿冒防护: 自动踢出尝试使用已购买官方账户用户名加入的非正版玩家。
- 反机器人验证码: 注册期间的视觉验证系统,从源头上阻止机器人攻击。
- 全面保护: 在用户完成身份验证之前,提供失明、禁止移动以及防块破坏/伤害保护。
- 异步日志记录: 保持安静且详细的登录、注册和管理操作历史记录。
- ?️ 终极管理控制: 从控制台或游戏内管理一切。提供带有玩家头像的直观可视化 GUI 菜单,以及大量命令用于清除不活跃用户、强制登录、更改 UUID 等。
- ? Bedrock 端支持 (Geyser): 通过 Floodgate 集成,完全兼容主机和手机玩家。通过 Xbox Live 认证的 Bedrock 玩家可以自动绕过登录界面(100% 可配置)。
- ⚡ 性能优化: 完全异步的数据库操作确保您的 TPS 始终保持在 20.0,无论有多少玩家加入。
?️ 命令与权限
玩家命令
| 命令 |
描述 |
权限 |
/login <pass> |
登录您的账户。 |
无 |
/register <pass> <pass> |
创建新账户(需验证码)。 |
无 |
/premium [confirm] |
切换自动登录(正版模式)。 |
无 |
/changepassword <old> <new> |
安全地更改当前密码。 |
无 |
/captcha <code> |
解决注册验证码。 |
无 |
管理员命令 (xlogin.admin)
| 命令 |
描述 |
/xlogin gui |
打开可视化管理菜单。 |
/xlogin backup |
创建数据库即时备份。 |
/xlogin purge <days> |
删除所有 <days> 天未活跃的账户。 |
/xlogin verify <user> |
查看玩家的 UUID、IP、正版状态及最后登录时间。 |
/xlogin forcelogin <user> |
强制将玩家登录到服务器。 |
/xlogin setspawn / spawn |
设置或传送至登录出生点位置。 |
/xlogin changepass <user> <pass> |
强制更改玩家密码。 |
/xlogin changeuuid <user> <uuid> |
手动更新玩家注册的 UUID。 |
/xlogin unpremium <user> |
移除账户的正版自动登录状态。 |
/xlogin unban <ip> |
从注册黑名单中移除 IP。 |
/xlogin unregister <user> |
彻底删除玩家账户。 |
/xlogin reload |
重新加载插件配置和消息文件。 |
⚙️ 简化配置
我们精简了配置文件,去除冗余,让您无需浪费时间,同时赋予您对网络的绝对控制权。
config.yml
# -------------------------------------------------------
# __ _
# __ __ / / ___ __ _(_)_ __
# \ \/ // / / _ \ / _` | | '_ \ Made by xPlugins
# > </ /__| (_) | (_| | | | | | Fork: Paper
# /_/\_\____/\___/ \__, |_|_| |_|
# |___/ Release v1.0.6
#
# Wiki: [https://xplugins.es/xlogin](https://xplugins.es/xlogin)
# 24/7 Support: [https://discord.gg/AH5k9YE78b](https://discord.gg/AH5k9YE78b)
# -------------------------------------------------------
settings:
# 默认语言 (es, en)。它将加载 messages_es.yml 或 messages_en.yml
language: "en"
protection:
# 在登录前阻止一切行为(移动、聊天等)
general-protection: true
# 加入服务器时的视觉效果
effects:
blindness: true
security:
# 自动注册由代理检测到的正版用户(需要 BungeeCord/Velocity)
auto-premium-registration: false
# 防止非正版玩家使用正版账户名称(需要 BungeeCord/Velocity)
prevent-premium-name-impersonation: false
# 登录前允许执行的命令
allowed-commands-before-login:
- "/help"
- "/rules"
- "/discord"
passwords:
size:
min: 6
max: 20
# ___ _ _
# / __\ ___ __| |_ __ ___ ___| | __
# /__\/// _ \/ _` | '__/ _ \ / __| |/ /
# / \/ \ __/ (_| | | | (_) | (__| <
# \_____/\___|\__,_|_| \___/ \___|_|\_\
geyser-support:
# 如果为 true,Bedrock 玩家(Floodgate)加入时无需登录。
auto-login-bedrock: true
__ _ _
/\ \ _| |_ _____ _ __| | __
/ / / _ \ \ \ /\ / / _ | '| |/ /
/ /\ / _/ | \ V V / (_) | | | <
_\ / _|__| _/_/ _/|| ||_\
代理重定向:
在成功登录后将玩家发送到目标服务器(适用于身份验证与大厅)
启用: false
目标服务器: "Lobby"
验证码:
启用: true
超时时间(秒): 120
ui:
titles:
before-login:
title: '&#A9DFBF欢迎!'
subtitle: '&f使用 /login <密码>'
before-register:
title: '&#FAD7A0注册!'
subtitle: '&f使用 /register <密码> <确认密码>'
after-login:
title: '&#A9DFBF成功!'
subtitle: '&f祝您游玩愉快'
incorrect-password:
title: '&#F1948A密码错误!'
subtitle: '&7请再试一次'
日志记录:
启用:true
记录成功登录:true
记录注册信息:true
记录失败尝试:true
记录管理员操作:true
?️ xLogin – Simple, Lightweight & Powerful Authentication

xLogin is an all-in-one authentication system designed for servers that want maximum security without the bloat. Forget about complex external database setups; xLogin is optimized to work locally, fast, and secure out of the box, whether you run a standalone server or a massive Proxy network.
Note: /premium is only available for networks and proxies. Compatible with Bungeecord, Velocity, Waterfall, and others.
How do I activate proxy mode?
Go to config.yml and enable proxy mode, then download and install the add-on for your proxy, and you're all set!
? Key Features
- ? Smart Network & Proxy Ready: Fully compatible with BungeeCord and Velocity. Features auto-detection to enable secure UUID verification and includes an automatic Auth-Lobby redirect system to send players to a specific server upon successful login.
- ? Local-First Storage & Backups: High-performance, thread-safe H2 database system (
data.mv.db). No need for MySQL to get professional network-level performance. Easily create instant database backups via in-game commands!
- ? Smart Premium System: Using an official Minecraft account? Players can use
/premium to enable auto-login. The plugin uses real Mojang validation (via your Proxy) to ensure nobody can steal a premium identity.
- ? Industrial-Grade Security:
- BCrypt Hashing: Passwords are encrypted with the industry standard, making them virtually impossible to crack.
- Premium Name Impersonation Protection: Automatically kicks non-premium players trying to join with the username of an official purchased account.
- Anti-Bot Captcha: A visual verification system during registration to stop bot attacks in their tracks.
- Total Protection: Blindness, immobilization, and block/damage protection until the user is authenticated.
- Asynchronous Logging: Keeps a silent, detailed history of logins, registrations, and admin actions.
- ?️ Ultimate Admin Control: Manage everything from the console or in-game. Features an intuitive visual GUI menu with player heads, plus a massive arsenal of commands to purge inactive users, force logins, change UUIDs, and more.
- ? Bedrock Support (Geyser): Fully compatible with console and mobile players via Floodgate integration. Bedrock players authenticated via Xbox Live can automatically bypass the login screen (100% configurable).
- ⚡ Performance Optimized: Fully asynchronous database operations ensure your TPS stays at 20.0, no matter how many players are joining.
?️ Commands & Permissions
Player Commands
| Command |
Description |
Permission |
/login <pass> |
Log in to your account. |
None |
/register <pass> <pass> |
Create a new account with captcha. |
None |
/premium [confirm] |
Toggle Auto-login (Premium Mode). |
None |
/changepassword <old> <new> |
Securely change your current password. |
None |
/captcha <code> |
Solve the registration captcha. |
None |
Admin Commands (xlogin.admin)
| Command |
Description |
/xlogin gui |
Open the visual administration menu. |
/xlogin backup |
Create an instant backup of the database. |
/xlogin purge <days> |
Delete all accounts inactive for <days>. |
/xlogin verify <user> |
View a player's UUID, IP, Premium status, & last login. |
/xlogin forcelogin <user> |
Forcefully log a player into the server. |
/xlogin setspawn / spawn |
Set or teleport to the login spawn location. |
/xlogin changepass <user> <pass> |
Forcefully change a player's password. |
/xlogin changeuuid <user> <uuid> |
Manually update a player's registered UUID. |
/xlogin unpremium <user> |
Remove the premium auto-login status from an account. |
/xlogin unban <ip> |
Remove an IP from the registration blacklist. |
/xlogin unregister <user> |
Completely delete a player's account. |
/xlogin reload |
Reload the plugin configuration and messages. |
⚙️ Simplified Configuration
We've stripped the config down to the essentials so you don't waste time, while giving you absolute control over your network.
config.yml
# -------------------------------------------------------
# __ _
# __ __ / / ___ __ _(_)_ __
# \ \/ // / / _ \ / _` | | '_ \ Made by xPlugins
# > </ /__| (_) | (_| | | | | | Fork: Paper
# /_/\_\____/\___/ \__, |_|_| |_|
# |___/ Release v1.0.6
#
# Wiki: [https://xplugins.es/xlogin](https://xplugins.es/xlogin)
# 24/7 Support: [https://discord.gg/AH5k9YE78b](https://discord.gg/AH5k9YE78b)
# -------------------------------------------------------
settings:
# The default language (es, en). It will load messages_es.yml or messages_en.yml
language: "en"
protection:
# Block everything before logging in (movement, chat, etc.)
general-protection: true
# Visual effects upon joining the server
effects:
blindness: true
security:
# Auto-register premium users detected by the proxy (Requires BungeeCord/Velocity)
auto-premium-registration: false
# Prevents Non-Premium players from using premium account names (Requires BungeeCord/Velocity)
prevent-premium-name-impersonation: false
# Allowed commands BEFORE logging in
allowed-commands-before-login:
- "/help"
- "/rules"
- "/discord"
passwords:
size:
min: 6
max: 20
# ___ _ _
# / __\ ___ __| |_ __ ___ ___| | __
# /__\/// _ \/ _` | '__/ _ \ / __| |/ /
# / \/ \ __/ (_| | | | (_) | (__| <
# \_____/\___|\__,_|_| \___/ \___|_|\_\
geyser-support:
# If true, Bedrock players (Floodgate) join without needing to login.
auto-login-bedrock: true
# __ _ _
# /\ \ \___| |___ _____ _ __| | __
# / \/ / _ \ __\ \ /\ / / _ \| '__| |/ /
# / /\ / __/ |_ \ V V / (_) | | | <
# \_\ \/ \___|\__| \_/\_/ \___/|_| |_|\_\
proxy-redirect:
# Send the player to the target server after a successful login (ideal for Auth&Lobby)
enabled: false
target-server: "Lobby"
captcha:
enabled: true
timeout-seconds: 120
ui:
titles:
before-login:
title: '&#A9DFBFWelcome!'
subtitle: '&fUse /login <password>'
before-register:
title: '&#FAD7A0Register!'
subtitle: '&fUse /register <password> <password>'
after-login:
title: '&#A9DFBFSuccess!'
subtitle: '&fEnjoy your stay'
incorrect-password:
title: '&#F1948AIncorrect Password!'
subtitle: '&7Please try again'
logging:
enabled: true
log-successful-logins: true
log-registrations: true
log-failed-attempts: true
log-admin-actions: true
评论 0
登录后参与评分
还没有评论,来抢沙发吧