Commit graph

119 commits

Author SHA1 Message Date
Xujiayao
758d1634d2 format 2026-03-18 00:55:15 +08:00
Xujiayao
b8540ca056 Update TODO comments and README for clarity on Bot status management 2026-03-13 18:41:20 +08:00
Xujiayao
a4013d0ea8 更易懂的server_overrides配置命名 2026-03-12 11:48:56 +08:00
Xujiayao
7449bdc8c3 [skip ci] 考虑到v2的功能,避免“功能倒退”,修改的重构设计文档 2026-03-12 00:08:41 +08:00
Xujiayao
4e419a4c20 更新重构文档,删除历史遗留 2026-03-11 22:07:46 +08:00
copilot-swe-agent[bot]
b76e7cec5c fix: add missing return in onMessageReceived, update README section 6.2 to fallback rules, improve Javadoc
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-11 21:36:11 +08:00
copilot-swe-agent[bot]
7afea647a5 feat: persist offline player name in LinkEntry for proper display in links command
Add offlinePlayerName field to LinkEntry record, stored only for
offline-mode UUIDs (version 3) since Mojang API cannot resolve them.
Online-mode players continue to use real-time Mojang API resolution.
The field is omitted from JSON when null for clean serialization.

MojangUtils.resolvePlayerName() now accepts an optional fallback name
for offline UUIDs, returning "N/A" when no name is available.

Updated README.md storage constraints and query display rules to
reflect the new offline player name persistence.

Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-11 21:36:11 +08:00
copilot-swe-agent[bot]
b2f841e1fa Fix multiple review issues: resource leak, OP sync timing, network packet consistency, and more
- LinkedAccountManager: Fix resource leak with try-with-resources for BufferedReader
- MinecraftEventHandler: Use network packets for PlayerJoin link checks (no single_server special case)
- MinecraftEventHandler: Don't prompt already-linked players on join (joinCheck flag)
- LinkCommand/UnlinkCommand: Use network packets for both single_server and multi_server_client modes
- OpSyncManager: Run all sync operations on dedicated executor thread (DMCC-OpSync)
- OpSyncManager: Only include positive OP levels in sync map
- ServerHandler: Trigger OpSync on ServerStarted instead of PlayerJoin
- DiscordManager: Per-guild exception handling in retrieveMember()
- MojangUtils: Fix docstring for UUID format, remove unused offlineUuid()
- en_us.yml: Fix placeholder order in verification log messages
- MinecraftEventHandler: Fix Javadoc (remove "bold"), optimize OpSync event handler
- CoreEvents: Remove unused PlayerJoinLinkCheckEvent
- README.md: Update to reflect network-based player join link checking

Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-11 21:36:11 +08:00
Xujiayao
5aef1eb1c4 Format 2026-03-11 21:36:11 +08:00
copilot-swe-agent[bot]
1945cf2e19 Fix compilation errors, NPE, help visibility, auto-complete, click-to-copy, file path rename
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-11 21:36:11 +08:00
copilot-swe-agent[bot]
04874111ed fix: skip OP sync for profiles not in cache instead of using empty username
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-11 21:36:11 +08:00
copilot-swe-agent[bot]
e578e43ce4 refactor: rename and reorganize linking packets, fix OP resolution, improve logs and file path
Co-authored-by: Xujiayao <58985541+Xujiayao@users.noreply.github.com>
2026-03-11 21:36:11 +08:00
Xujiayao
8f4675175c Update README to include account linking commands and clarify OP sync behavior 2026-03-09 22:33:17 +08:00
Xujiayao
2c80bb509a rename dmcc_whitelist 2026-02-25 23:00:03 +08:00
Xujiayao
0218d8072d Update design of command permission system and accounting linking system 2026-02-25 22:55:05 +08:00
Xujiayao
56098db869 Remove start and stop commands from README.md 2026-02-25 22:08:14 +08:00
Xujiayao
43608a46c3 Update README.md for improved command descriptions and formatting 2026-02-25 20:24:52 +08:00
Xujiayao
bcfd441bf7 Update README 2026-02-19 23:24:09 +08:00
Xujiayao
fc42a40504 更新 README.md,修正 execute 命令描述并明确 log 命令的参数要求 2026-02-03 16:55:38 +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
71e67f3c66 最新想法 2025-11-17 21:13:37 +08:00
Xujiayao
3e2d507578 文档更新 2025-11-17 15:37:30 +08:00
Xujiayao
2baa86aaba 最新文档 2025-11-17 01:13:12 +08:00
Xujiayao
f69d7a00f4 format 2025-11-15 23:36:12 +08:00
Xujiayao
7bb5faca60 不要太specific 2025-11-15 18:26:35 +08:00
Xujiayao
bd5a8bfebc new readme ver 2025-11-07 18:40:59 +08:00
Xujiayao
ca20003b3a 更一版readme 2025-11-06 11:11:42 +08:00
Xujiayao
8b466137e0 update README.md 2025-11-05 20:11:15 +08:00
Xujiayao
9ead73a256 重构设计文档做README 2025-11-04 18:49:53 +08:00
Xujiayao
ca74e36178 清空 2025-07-31 17:58:28 +08:00
Xujiayao
3eaf1f18a7 reset format settings 2025-07-31 11:11:01 +08:00
Xujiayao
3f605d442e 更新到2.5.0 2025-06-21 18:27:42 +08:00
Xujiayao
8f66eddde6 更新到2.4.0 2025-01-04 14:09:24 +08:00
Xujiayao
d545e0c096 更新到2.3.5 2024-10-29 12:53:06 +08:00
Xujiayao
b15b7c73f3 [skip ci] Add README 2024-07-11 18:14:30 +08:00
Xujiayao
3343b3210c DMCC Discord Server 2024-07-11 18:12:22 +08:00
Xujiayao
dae3205c98 更新到2.3.4 (Active & Compat) 2024-07-11 17:46:08 +08:00
Xujiayao
e3b824cc76 更新到2.3.3 (Active & Compat) 2024-06-15 22:13:33 +08:00
Xujiayao
d0fd758f81 改代码样式 2024-05-15 22:26:00 +08:00
Xujiayao
8f05a988b0 忘了改 2024-02-12 15:15:06 +08:00
Xujiayao
71ee9ae96b 新简介 2024-02-12 15:11:53 +08:00
Xujiayao
9849aed1b3 改名 Discord-MC-Chat 2024-02-11 15:58:26 +08:00
Xujiayao
fd71d1abb6 更新到2.2.6 (Active) 2024-01-19 00:43:52 +08:00
Xujiayao
e845376c8f 更改包名(top.xujiayao -> com.xujiayao) 2024-01-04 00:57:44 +08:00
Xujiayao
ad50c9088a 更新README
Relates to #206
2023-12-23 20:17:22 +08:00
Xujiayao
348ee0df8a 更换 .com 域名 2023-12-23 20:05:50 +08:00
Xujiayao
82091cfb91 更新到2.2.4 2023-12-09 22:54:31 +08:00
Xujiayao
deeeada8b8 [skip ci] Improve license declaration
Acknowledgements:
@allanf181
@BRForgers
2023-12-08 23:20:25 +08:00
Xujiayao
4925b2eb36 更新到2.2.3 2023-10-28 00:39:52 +08:00