layue13 and Claude Opus 5.5
7f68e5682e
feat: 运维日志策略、玩家与服务器事件日志、滚动日志文件
...
- docs/logging.md 规定各级别写什么、永远不写什么,以及新增日志的做法
- core.log.ConnectionLog 统一写玩家(加入、离开、转服、转服失败、未能加入)和服务器
(注册、地址变更、注销、不可达/恢复)事件,logger 为 moonbridge.players / moonbridge.servers
- LogText 清理对端与插件文本(控制字符、双向文字控制字符、长度上限),防止伪造日志行
- logging.playerAddresses 开关:false 时玩家地址写成 [hidden]
- Session 记录结束原因(先记录者为准),在 closePair 中写离开或未能加入的原因
- 合并的 WARN(ThrottledWarning):连接数上限、插件命令/补全/事件/初次选服过载
- 控制通道:租约过期、注册被拒(按地址和原因去重);插件启用/停用;启动与关闭摘要
- logback:控制台 + logs/latest.log,按天压缩滚动保留 14 天;测试只写控制台
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-22 16:44:27 +08:00
layue13 and Claude 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
d836f6c3d3
build: 统一 release 入口,CI 覆盖客户端 mod,文档同步新结构
...
- 根任务 release:build/release/ 下收集服务器包、后端插件 JAR 与客户端 mod
(经 client-mod 自身 wrapper 构建,-PskipClientMod 可跳过),附安装位置说明
docs/release-layout.md
- verify.yml:-Pluckperms check,并新增 client-mod 构建测试 job;
ci.yml:-Pluckperms check release,上传 build/release/,发布带 -Pluckperms
- gradlew 加可执行位
- README、CLAUDE.md、架构/发布/测试/权限/后端接入文档与 smoke 脚本改用新模块、
新坐标与发行包 backend/ 目录
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01GGL9BudzWm4dUQgBsQw4Qr
2026-10-21 10:13:06 +00: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
Claude
4def198cc0
docs: 修正 CI 引用、拆出历史验证记录并统一中文文档
...
- CLAUDE.md、testing.md、publishing.md 的 .gitea 路径改为实际的 .github/workflows;
说明 verify.yml 在 PR 上运行 check
- testing.md 中带日期的逐轮结果迁到 docs/records/
- README 精简为简介、快速开始和入口;配置与迁移细节只保留在 operations.md
- channel-messaging-v2.md 更名为 channel-messaging-contract.md,与 transfer-coordination.md 一起译为中文
- benchmarks/results 中两个记录改为日期前缀命名
- 新增 compileBenchmarks 并挂到 check,防止 benchmarks/ 静默失效
- .gitignore 删除不存在的 deployment/ 条目
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01GGL9BudzWm4dUQgBsQw4Qr
2026-10-20 21:06:01 +00:00
layue13
e8cc2a72bd
Add optional source-release transfer coordination events
2026-10-01 02:39:31 +08:00
layue13
7f1980269a
Add permissions service and native LuckPerms platform
2026-09-28 01:32:31 +08:00
layue13
8401e34639
Make development publishing traceable and polish operator and plugin docs
2026-09-27 23:43:13 +08:00
layue13
9481403684
Redesign initial player routing with explicit candidates and bounded retries
2026-09-27 23:05:58 +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
7fe2c99d6e
docs: record current Forge pack acceptance and paired measurements
2026-09-26 22:39:12 +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
4b64a6819e
feat: add legacy forge protocol switching support
...
Introduce protocol profiles and legacy custom payload codecs for 1.7.10/1.8 behavior.
Add Forge handshake tracking, gating, reset, plugin channel replay, legacy switch cleanup, diagnostics, and local 1.7.10 deployment scripts.
Document the protocol version matrix and current support limits.
2026-07-03 00:04:29 +08:00
layue13
7c11ad30de
docs: complete Javadocs
2026-07-02 02:28:13 +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
layue13
b36b7fff6b
Improve user-facing documentation structure
2026-07-01 04:47:17 +08:00
layue13
244f5eaeca
Add operations manual documentation
2026-07-01 04:03:01 +08:00