
简要介绍 | Brief Introduction
中文:
这是一款跨服务器登录插件,作者 134528,基于 Velocity 代理端运行。
硬编码限制(无法修改):
· 主服务器名称必须是 factions · Velocity 转发模式必须设为 NONE
为什么强制 NONE? 登录服务器可以部署在独立端口(如 25566),用防火墙只允许 Velocity 代理访问,玩家无法直连。这种架构下不需要转发真实 IP。
如果确实需要真实 IP? 可以用 Velocity 的 forwarding-secret + MODERN 模式配合其他插件实现。本插件本身不依赖真实 IP。
使用流程: 玩家进入 lobby 验证密码,通过后自动跳转到 factions。跳转前有 5 秒时间,按 SHIFT 可取消跳转。本插件只需在 lobby 安装一次,其他服务器无需再装登录插件。首次进入的玩家会收到设置密码的提示。
English:
A cross-server login plugin by 134528, running under Velocity proxy.
Hardcoded limits (cannot be changed):
· Main server name must be factions · Velocity forwarding mode must be NONE
Why NONE? The login server can run on a separate port (e.g., 25566) with a firewall rule allowing only the Velocity proxy to connect. Players cannot reach it directly. This setup does not require real IP forwarding.
If you need real IP? You can use Velocity's forwarding-secret + MODERN mode with other plugins. This plugin itself does not rely on real IP.
How it works: Players join lobby to authenticate, then are automatically sent to factions. There is a 5-second window; pressing SHIFT cancels the teleport. Install this plugin only on lobby. No other login plugins needed on other servers. First-time players will be prompted to set a password.
安装 | Installation
中文:
- 打开 Velocity 的 velocity.toml,将 player-info-forwarding-mode 设为 "NONE"
- 确保代理中配置了 lobby(登录服)和 factions(主服)两个服务器
- 保存并重启 Velocity
- 将插件放入 lobby 服务器的 plugins 文件夹
- 重启 lobby 服务器
本插件无配置文件,放进去即可运行。
English:
- Open velocity.toml and set player-info-forwarding-mode to "NONE"
- Ensure your proxy has two servers: lobby (login) and factions (main)
- Save and restart Velocity
- Put the plugin into the lobby server's plugins folder
- Restart the lobby server
No config file. Just drop it in and it works.
推荐部署架构 | Recommended Setup
中文:
· 让 lobby 监听独立端口(如 25566),不公开给玩家 · 使用防火墙(如 iptables、ufw)只允许 Velocity 代理的 IP 访问该端口 · factions 正常公开访问
English:
· Run lobby on a separate port (e.g., 25566), do not expose it to players · Use a firewall (e.g., iptables, ufw) to allow only your Velocity proxy's IP to access that port · Keep factions public as normal
注意事项 | Notes
中文:
· 仅支持 Minecraft 1.21.8 · 兼容 Paper、Purpur、Pufferfish 等服务端 · 其他版本或其他服务端核心可能无法正常运行 · NONE 模式下无法获取玩家真实 IP,详见上方说明
English:
· Only supports Minecraft 1.21.8 · Compatible with Paper, Purpur, Pufferfish, and similar servers · Other versions or server software may not work correctly · Real IP is not available under NONE mode. See explanation above.
联系方式 | Contact
中文: 邮箱 tp13652024@outlook.com | QQ 3047450260 | 回复时间约 7 个工作日
English: Email tp13652024@outlook.com | QQ 3047450260 | Response time: about 7 business days