Commit Graph
23 Commits
Author SHA1 Message Date
layue13andClaude Opus 5.5 789648c82f refactor: 仓库根目录按用途分组
- proxy/:core、plugin-api、luckperms 及其上游子模块 vendor/luckperms
- messaging/、backend/ 保持在根目录(messaging 是代理与后端共用的 API)
- build-logic/(原 proxy-build-logic)
- testing/:smoke/ 与 benchmarks/,不进入发行物

Gradle 项目名不变(settings.gradle.kts 映射目录),任务路径与 Maven 坐标照旧。
脚本的仓库根定位、文档与记录中的链接同步更新。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 14:34:01 +08:00
Claude 66ef6788f1 feat: 与 TCP 并存的 WebSocket 玩家监听
新增可选 websocket 配置段,在原有 TCP listen 之外再开一个 WebSocket 监听,
供经 CDN 接入的客户端使用;两种入口共用会话、选服、转服和 maxConnections。

- core.websocket:升级握手(可选 TLS)、二进制消息与 Minecraft 字节流互转、
  可信代理真实 IP(X-Forwarded-For 从右取第一个不可信地址 / CF-Connecting-IP 等)
- SessionChannels.clientAddress 统一玩家地址,用于两类准入事件、Mojang 验证 IP
  与 Bungee 转发
- ConnectionGate 支持升级后才加入管线;登录等待守卫放在 WebSocket 适配器之后
- 未升级连接计入 maxConnections,并受 handshakeTimeoutSeconds 约束
- 测试:真实 socket 上 TCP 与 WebSocket 并存登录与转发、分片/合并/Ping、
  在线模式加密与转发 IP、不可信来源、404/文本帧、名额归还、wss 证书加载
- 文档:docs/websocket.md,并更新运行配置、插件、架构与默认配置示例

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GGL9BudzWm4dUQgBsQw4Qr
2026-10-20 21:23:15 +00:00
layue13 bc6db124a7 Revert "Merge pull request 'Guard all backend transfers and recover failed handoffs' (#17) from feature/transfer-guard-lifecycle into main"
This reverts commit 5d4b80d670, reversing
changes made to a3b13dd47b.
2026-09-30 04:26:17 +08:00
layue13 de825615c2 Add central guarded transfer lifecycle 2026-09-30 03:41:11 +08:00
layue13 63f3f97038 Forward exact session proofs for configured offline backends 2026-09-28 02:09:54 +08:00
layue13 672914cdbe Bind Bukkit players to signed exact proxy sessions 2026-09-28 01:50:28 +08:00
layue13 7f1980269a Add permissions service and native LuckPerms platform 2026-09-28 01:32:31 +08:00
layue13 9481403684 Redesign initial player routing with explicit candidates and bounded retries 2026-09-27 23:05:58 +08:00
layue13 64152878d0 Rename project to MoonBridge and expose standalone Bukkit API 2026-09-27 22:39:16 +08:00
layue13 7e045e0ddc feat: unify plugin channel messaging and remove v1 API 2026-09-27 19:00:17 +08:00
layue13 d0aca24839 Merge main backend channel into messages completion 2026-09-27 17:57:21 +08:00
layue13 230f317d0a feat: replace backend discovery with control channel 2026-09-27 02:52:46 +08:00
layue13 1185ae2b2e feat: add Adventure messages and asynchronous command completion 2026-09-27 00:01:02 +08:00
layue13 c1399b0ac4 Add player messaging, disconnects, and configurable server status 2026-09-26 10:57:24 +00:00
layue13 ea7852375c Unify event results and clarify player admission 2026-09-26 09:53:31 +00:00
layue13 a74527ca5b Unify plugin access and lifecycle event subscriptions 2026-09-26 09:15:07 +00:00
layue13 3c21a6c2e3 Add asynchronous plugin access checks and architecture docs 2026-09-26 08:39:54 +00:00
layue13 8063f6eb1f docs: consolidate Chinese documentation 2026-09-22 03:57:47 +08:00
layue13 71b15cd180 feat: add Bukkit backend agent and shared CI publishing 2026-09-22 03:42:25 +08:00
layue13 cfa3c8bc51 refactor: reduce StrataProxy to core runtime 2026-09-22 02:33:30 +08:00
layue13 d0c3ac321e Expose controlled server registry mutations to plugins 2026-07-05 17:08:03 +08:00
layue13 a0683c4a25 Complete plugin developer API surface 2026-07-02 02:03:31 +08:00
layue13 6378f86ea3 Add proxy plugin and in-game command system 2026-07-02 01:41:06 +08:00