Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_gCOZChVC.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
LobbyGuard - 墨喵 Minecraft 资源

LobbyGuard

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 2.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/lobbyguard
资源信息

Minecraft 版本: 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: velocity

标签: management storage utility

资源介绍

LobbyGuard

A simple, reliable way to survive lobby restarts without queue confusion or players getting stuck on the wrong server.

When your main lobby server crashes or restarts, LobbyGuard automatically redirects players who were on it to a backup server. As soon as lobby comes back online, the plugin sends those same players back — without touching anyone who ended up on the backup server on their own.

Features

  • Automatic redirect from the main server to a backup server on kick/disconnect
  • Automatic return to the main server as soon as it's back online
  • Never confuses evacuated players with players who joined the backup server by themselves
  • Lightweight TOML config — just server names and ping intervals
  • Debug mode for verbose logging

How it works

  1. A player gets kicked from lobby (e.g. the server crashed) — the plugin intercepts this and redirects them to the backup server, marking them as evacuated.
  2. The plugin periodically pings lobby. As soon as it responds again, every evacuated player still online and still on the backup server is automatically sent back to lobby.
  3. Players who ended up on the backup server through any other means are never touched by the plugin.

Configuration

After the first run, plugins/lobbyguard/config.toml will look like this:

lobby-server = "lobby"
sur-server = "sur"
check-interval-seconds = 5
ping-timeout-seconds = 3
debug = false
  • lobby-server / sur-server — server names exactly as in velocity.toml
  • check-interval-seconds — how often to check whether lobby is back online
  • ping-timeout-seconds — how long to wait for a ping response before treating the server as offline
  • debug — verbose console logging

Requirements

  • Velocity 3.4.0+
  • Java 21+

Limitations

  • The list of evacuated players is kept in memory and does not survive a restart of the Velocity proxy itself.
  • If the configured servers aren't found in velocity.toml, a warning is logged and the action is skipped.

Source code

Source code is available on request from the author.

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Rekrap Recreation: Wizard Video

价格:0 墨喵币
下载量:0

查看详情
Culinaire

价格:0 墨喵币
下载量:0

查看详情
Serious lib

价格:0 墨喵币
下载量:0

查看详情
Vertical Nuggets

价格:0 墨喵币
下载量:0

查看详情