feat(velocity): legacy forwarding 列表跟随 CR 的 forwarding=legacy 标签实时更新 (#15)

This commit is contained in:
Lemon-miaow committed 2026-09-26 08:09:49 +08:00
1 parent 7c2fa08e85
commit 5099b2501f
15 files changed
+522 -14

No files matched your search

+2
View File
@@ -2346,6 +2346,8 @@ export interface components {
idleStopSeconds: number;
/** @description Present and true while the operator cannot read the player count over RCON; idle auto-stop waits until it can. */
playerCountUnknown?: boolean;
/** @description Present and true when the CR carries the label felis.lolicon.best/forwarding=legacy. The proxy then forwards this server's players BungeeCord-style in the handshake address instead of modern forwarding (Felis-Legacy Velocity fork only). */
legacyForwarding?: boolean;
};
/** @description One row of the fleet-wide admin read (internal/api/handlers_user.go fleetServerView). */
FleetServer: components["schemas"]["ServerInfo"] & {
+3
View File
@@ -62,6 +62,9 @@ export interface ServerStatus {
idleStopSeconds: number;
/** True while the operator cannot read the player count; idle stop waits. */
playerCountUnknown?: boolean;
/** True when the CR is labelled forwarding=legacy: the proxy forwards this
* server's players BungeeCord-style (a 1.8 backend behind ViaVersion). */
legacyForwarding?: boolean;
}
/** WhitelistResult projects GET /servers/{name}/access/whitelist (spec §7 access).