⚡ VelocityLimboHandler
? 一个用于 Velocity 的智能 limbo & 队列处理器
即使后端服务器崩溃,也能确保玩家保持连接、情绪稳定并愿意再次回来。
✨ 为什么选择 VelocityLimboHandler?
- ? 按服务器智能排队 – 玩家只需等待他们所在的服务器,而不会卡在别处受阻的服务器后面
- ? 队列更新 – 自动发送位置通知,让玩家了解当前状况
- ? 受保护的 Limbo – 阻止不需要的命令以防止绕过机制
- ?️ 维护支持 – 尊重白名单和绕过权限
- ? 身份验证就绪 – 与 LibreLogin 或 nLogin 等身份验证插件无缝集成
? 完整设置及高级功能请参阅 Wiki。
专为配合 LOOHP's Limbo 服务器使用而设计,但其他任何服务器也同样适用。
? 兼容性
- ?️ 代理: Velocity(所有近期版本)
- ? MC 版本: 所有版本
- ? 许可证: MIT
? 快速安装
- 从 Releases 获取最新的
.jar 文件。
- 将其放入 Velocity 的
plugins 文件夹中。
- 重启代理(配置文件将自动生成)。
- 根据需要调整
config.yml 和 messages.yml。
- 再次重启——完成! ?
⚙️ 配置亮点
# config.yml
limbo-name: "limbo" # 你的 limbo 服务器名称
direct-connect-server: "lobby" # 直接连接将发送至何处
task-interval: 3000 # 队列处理间隔(毫秒)
reconnect-batch-size: 8 # 每次处理运行检查的后端队列最大数量
queue-notify-interval: 30 # 告知玩家其位置的频率
queue-notify-batch-size: 64 # 每个调度器刻度发送的最大到期通知数量
disabled-commands: ["server","hub"] # 在 limbo 中被阻止的命令
批量限制有助于跨调度器刻度平滑工作。对于非常大的网络,可以增加它们以加快追赶速度;或者降低它们以限制受限代理上的短暂 CPU 峰值。
? 可以在 messages.yml 中自定义消息,以便让你的玩家看到你想要的内容。
? 代理设置示例
[servers]
lobby = "127.0.0.1:25566"
limbo = "127.0.0.1:25569"
# 保持正常登录在 Lobby。VLH 会拦截当前后端本身的丢失。
try = ["lobby", "limbo"]
[advanced]
# VLH 需要在非优雅断开后端连接后恢复玩家。
failover-on-unexpected-server-disconnect = true
[forced-hosts]
"pvp.example.com" = ["pvp", "limbo"]
"build.example.com" = ["build", "limbo"]
?️ 权限与集成
- 玩家会自动进入队列,无需额外设置。
- 根据配置阻止命令。
- 支持 LibreLogin,确保登录/身份验证流程不被破坏。
- 尊重维护插件(包含绕过逻辑)。
? 贡献
欢迎提交 Pull Request!只需遵循现有的代码风格即可。
详细信息请查看 CONTRIBUTING.md。
? 许可证
采用 MIT 许可,可免费使用、修改和分发,包括在闭源项目中。详情请参见 LICENSE。
⚡ VelocityLimboHandler
? A smart limbo & queue handler for Velocity
Keeps your players connected, calm, and coming back even when backend servers crash.
✨ Why VelocityLimboHandler?
- ? Per-Server Smart Queue – players only wait for the server they were on, not behind others stuck elsewhere
- ? Queue Updates – automatic position notifications keep players informed
- ? Protected Limbo – blocks unwanted commands to prevent bypasses
- ?️ Maintenance Support – respects whitelist & bypass permissions
- ? Authentication Ready – seamless integration with authentication plugins such as LibreLogin or nLogin
? Full setup & advanced features in the Wiki.
Made to work with LOOHP's Limbo server, but any other server is also fine.
? Compatibility
- ?️ Proxy: Velocity (all recent versions)
- ? MC Versions: All versions
- ? License: MIT
? Quick Install
- Grab the latest
.jar from Releases.
- Drop it into your Velocity
plugins folder.
- Restart the proxy (config files will generate).
- Adjust
config.yml + messages.yml to your liking.
- Restart once more — done! ?
⚙️ Config Highlights
# config.yml
limbo-name: "limbo" # The name of your limbo server
direct-connect-server: "lobby" # Where to send direct connections
task-interval: 3000 # Queue processing interval (milliseconds)
reconnect-batch-size: 8 # Maximum backend queues checked per processing run
queue-notify-interval: 30 # How often to tell players their position
queue-notify-batch-size: 64 # Maximum due notifications sent per dispatcher tick
disabled-commands: ["server","hub"] # Commands blocked in limbo
The batch limits smooth work across scheduler ticks. Increase them for faster catch-up on very large
networks, or lower them to cap short CPU bursts on constrained proxies.
? Messages can be tweaked in messages.yml so your players see exactly what you want.
? Proxy Setup Example
[servers]
lobby = "127.0.0.1:25566"
limbo = "127.0.0.1:25569"
# Keep normal logins on Lobby. VLH intercepts a loss of the current backend itself.
try = ["lobby", "limbo"]
[advanced]
# Required for VLH to recover players after an ungraceful backend disconnect.
failover-on-unexpected-server-disconnect = true
[forced-hosts]
"pvp.example.com" = ["pvp", "limbo"]
"build.example.com" = ["build", "limbo"]
?️ Permissions & Integrations
- Players get queued automatically, no setup required.
- Commands blocked per config.
- LibreLogin support ensures login/auth flow isn’t broken.
- Maintenance plugins are respected (bypass logic included).
? Contributing
Pull requests are welcome! Just follow the style already in place.
Check CONTRIBUTING.md for details.
? License
Licensed under MIT, free to use, modify, and distribute, including in closed-source projects. See LICENSE for details.
评论 0
登录后参与评分
还没有评论,来抢沙发吧