Commit graph

1160 commits

Author SHA1 Message Date
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
Xujiayao
0e42039dda Improve JDA initialization with enhanced logging and timeout handling 2026-01-18 18:13:37 +08:00
Xujiayao
abfcd7d324 Enhance shutdown and reload commands with improved logging and user feedback 2026-01-18 17:53:17 +08:00
Xujiayao
769bb5be80 恢复,log改warn 2026-01-16 13:08:52 +08:00
Xujiayao
85e94f49fc 修复需要等5秒才关闭的问题 2026-01-16 13:04:53 +08:00
Xujiayao
2c30dc7bb8 5秒后还没有才提示 2026-01-16 12:47:46 +08:00
Xujiayao
643fe9dfcc 不使用daemon 2026-01-16 12:47:09 +08:00
Xujiayao
8c2c5879c8 Update gradle.properties 2026-01-15 23:49:07 +08:00
Xujiayao
2eb5b97706 format 2026-01-13 16:17:24 +08:00
Xujiayao
d6d0307ea0 命令系统4 2026-01-13 15:01:46 +08:00
Xujiayao
38f4839c4f Add methods to retrieve configuration values with default fallbacks 2026-01-12 17:22:44 +08:00
Xujiayao
3959291cd2 Separate Logger cleanup in shutdown hook for standalone environment 2026-01-12 17:18:36 +08:00
Xujiayao
ce3edaa7db Initialize CommandManager after loading configurations and change shutdown and reload logic 2026-01-12 17:17:07 +08:00
Xujiayao
2894f0b724 Enhance LoggerImpl to support colored console output using Jansi 2026-01-12 16:10:49 +08:00
Xujiayao
9c9c93a33a Disable trace and debug logging in LoggerImpl 2026-01-12 16:09:14 +08:00
Xujiayao
ad9581cbfd Jansi 2026-01-12 15:51:32 +08:00
Xujiayao
1330edd289 暂时禁用netty 2026-01-11 22:38:51 +08:00
Xujiayao
e3faba50f6 Update gradle.properties 2026-01-11 22:38:41 +08:00
Xujiayao
1c0df4603a 更新依赖 2026-01-11 22:01:44 +08:00
Xujiayao
26da430bb9 send separate chat messages for each line in reply 2025-12-27 21:39:55 +08:00
Xujiayao
ce23c5e006 命令系统3 2025-12-25 23:37:05 +08:00
Xujiayao
a962a41690 format 2025-12-24 15:26:14 +08:00
Xujiayao
2b25cbc5d6 refactor initialization and shutdown processes to return success status 2025-12-24 15:25:23 +08:00
Xujiayao
0284d6f7f7 重写命令系统2 2025-12-23 23:04:32 +08:00
Xujiayao
6a91458d33 add terminal messages to language files 2025-12-23 22:53:29 +08:00
Xujiayao
cba9e9112b rm MinecraftService 2025-12-23 21:53:37 +08:00
Xujiayao
032cb1bfa1 reorder 2025-12-23 21:49:50 +08:00
Xujiayao
10c12a122c remove redundant logging statements across multiple classes 2025-12-23 21:40:53 +08:00
Xujiayao
c1a87e6b2b remove unused imports and clean up code 2025-12-23 20:15:25 +08:00
Xujiayao
3f223e3344 rm ci 2025-12-23 20:01:16 +08:00
Xujiayao
73910d4169 删除代码中的enable和disable命令 2025-12-21 17:50:02 +08:00
Xujiayao
8031109224 client也遥测 2025-12-21 17:45:44 +08:00
Xujiayao
59f0cd2529 统一shutdown方法 2025-12-21 17:43:01 +08:00
Xujiayao
bd7ec574fb shutdown logic 2025-12-21 17:28:37 +08:00
Xujiayao
c5c4d0bc05 命令系统重写2 2025-12-21 13:39:54 +08:00
Xujiayao
979c45a472 命令系统重写1 2025-12-20 23:32:13 +08:00
Xujiayao
555d495e2b Remove no permission message from command responses in localization files 2025-12-20 21:32:26 +08:00
Xujiayao
de8503220a Update Discord command registration and fix bot token configuration 2025-12-20 20:47:33 +08:00
Xujiayao
a089fb065a Add logging for successful DMCC Server startup 2025-12-20 20:12:11 +08:00