Commit graph

1198 commits

Author SHA1 Message Date
Xujiayao
fdab4445b6 移除Minecraft翻译加载逻辑 2026-01-30 09:47:46 +08:00
Xujiayao
d3a17cc61b Revert - 不应在DMCC服务端处理
This reverts commit 6cf5ec3eb6.
2026-01-30 09:41:43 +08:00
Xujiayao
6cf5ec3eb6 优化Minecraft翻译加载逻辑,支持多版本缓存和下载 2026-01-24 11:27:46 +08:00
Xujiayao
c233273a03 优化Discord频道错误日志的本地化支持 2026-01-23 13:16:55 +08:00
Xujiayao
86597efa6c 增加本地化支持 2026-01-23 13:15:11 +08:00
Xujiayao
164aff814b 新增Minecraft版本验证,优化握手和断开连接逻辑 2026-01-23 13:14:49 +08:00
Xujiayao
616a8a704c 新增异常捕获提示信息的本地化支持 2026-01-23 13:13:46 +08:00
Xujiayao
f50e29ad45 新增玩家加入和退出事件的处理 2026-01-23 12:32:09 +08:00
Xujiayao
663245a61e 更新Webhook设置,优化默认头像设置 2026-01-23 12:18:12 +08:00
Xujiayao
66f0777916 优化Discord权限不足错误提示 2026-01-23 11:48:23 +08:00
Xujiayao
f82039d47c 更新Webhook设置 2026-01-23 11:32:24 +08:00
Xujiayao
ce0daffa66 新增Discord消息广播功能 2026-01-23 11:01:36 +08:00
Xujiayao
b9c325bb3c 新增Discord消息发送功能,支持通过频道ID或名称发送消息,并添加相应的错误提示 2026-01-22 23:08:31 +08:00
Xujiayao
3874b6f04f 新增单服务器模式下的客户端连接拒绝逻辑,并更新相应的断开连接原因提示 2026-01-22 13:03:39 +08:00
Xujiayao
eb2567eb92 修复NettyClient关闭时的死锁问题,确保在非Netty线程中优雅关闭 2026-01-22 12:20:54 +08:00
Xujiayao
b57a4bbb74 新增Minecraft事件处理:注册服务器启动和停止事件以发送相应的数据包 2026-01-22 12:20:44 +08:00
Xujiayao
27ef4a3f7d NetworkManager 2026-01-21 22:01:15 +08:00
Xujiayao
cb2409ca95 网络数据包发送 2026-01-21 21:35:41 +08:00
Xujiayao
0d3f475ce7 Temp 2026-01-21 21:34:42 +08:00
Xujiayao
32660368d2 新增MinecraftEventPacket类 2026-01-21 21:03:41 +08:00
Xujiayao
17e95520b5 优化网络数据包处理:增加对意外数据包的日志记录,清理客户端和服务器实例 2026-01-21 21:02:57 +08:00
Xujiayao
1d14bc3e7e 优化网络连接处理:调整日志级别,增加重连控制逻辑 2026-01-21 00:10:38 +08:00
Xujiayao
421e24b5f0 优化日志 2026-01-20 23:52:45 +08:00
Xujiayao
e580b42134 修复日志级别:将配置文件未找到的警告日志更改为错误日志 2026-01-20 22:51:54 +08:00
Xujiayao
54e366647c 移除对Jansi库的依赖(relocate不兼容) 2026-01-20 22:47:21 +08:00
Xujiayao
aaefabc7d9 优化代码格式,移除多余空行 2026-01-20 22:28:02 +08:00
Xujiayao
8a5c003918 实现客户端与服务端的基础代码 2026-01-20 22:26:31 +08:00
Xujiayao
276973b71a 重构共享密钥生成逻辑,新增CryptUtils类以提供加密工具 2026-01-20 22:09:36 +08:00
Xujiayao
403877ac9a 增强字符串格式化功能,支持索引和顺序占位符 2026-01-20 16:53:20 +08:00
Xujiayao
1394aba988 生成shared_secret 2026-01-20 16:39:37 +08:00
Xujiayao
b150f4db11 免去replacing_lang 2026-01-20 16:39:05 +08:00
Xujiayao
6964443629 多语言化 2026-01-20 16:32:50 +08:00
Xujiayao
26c1a95a7f 简化 2026-01-20 16:29:08 +08:00
Xujiayao
3f17cf512b 加回netty 2026-01-20 16:13:36 +08:00
Xujiayao
32b47486a2 Add shared_secret configuration to multi-server and standalone setups 2026-01-20 14:59:25 +08:00
Xujiayao
3b4c00401a Update README.md to clarify command options and permissions 2026-01-20 14:45:54 +08:00
Xujiayao
6e8430422b Update README.md to enhance feature descriptions and clarify command functionalities 2026-01-20 00:01:05 +08:00
Xujiayao
59f692ec84 应为error而不是warn 2026-01-19 18:17:39 +08:00
Xujiayao
574f2fca44 修复multi_server_client时没有language选项导致的问题 2026-01-19 18:14:59 +08:00
Xujiayao
e04da05a15 无头模式检测提供多语言支持 2026-01-19 15:47:53 +08:00
Xujiayao
9bf82012b8 Refactor CommandManager to manage command executor lifecycle and add shutdown method 2026-01-19 15:36:01 +08:00
Xujiayao
51e102b343 Refactor event handler management to persist across DMCC reloads and prevent shutdown of OkHttpClient's dispatcher executor 2026-01-19 14:56:44 +08:00
Xujiayao
65b019cfa6 Detect and replace default language setting in config files during initialization 2026-01-19 13:58:18 +08:00
Xujiayao
fae6d8b511 Add reply failure handling for Discord commands and update language files 2026-01-19 13:16:09 +08:00
Xujiayao
30379da4a3 单线程执行命令 2026-01-19 12:08:49 +08:00
Xujiayao
4d92192413 Enhance DiscordManager initialization with custom executor and improved thread handling 2026-01-18 23:23:01 +08:00
Xujiayao
6a0e4ed629 Improve JDA initialization with enhanced error handling and connection validation 2026-01-18 22:29:15 +08:00
Xujiayao
f325e22f0a 优化日志 2026-01-18 22:03:22 +08:00
Xujiayao
f2a3329895 优化语言文件 2026-01-18 22:03:00 +08:00
Xujiayao
ce610367d5 所有日志消息支持多语言 2026-01-18 19:19:42 +08:00