ChatTracker
一个客户端 Fabric 模组,将你收到的所有聊天消息保存到本地数据库中,以便日后搜索。
功能
- 保存所有聊天:包括玩家聊天、私聊和系统消息。保存操作在后台进行。连续相同的行(例如 CoreProtect 查询结果)也会被完整保留。
- 搜索:按下
G,输入关键词并回车。搜索在后台运行,即使历史记录很长游戏也不会卡顿。即使保存了约一百万条消息,结果也能在不到一秒的时间内显示出来。 - 筛选:按服务器、日期和消息类型(玩家 / 私聊 / 系统)缩小搜索结果范围。
- 滚动与复制:支持使用鼠标滚轮、滚动条或键盘(方向键、Page Up/Down、Home/End)进行滚动。向下滚动时会自动加载更多结果。点击某一行即可复制该消息。
- 统计:显示按服务器、发送者、日期和类型分类的消息计数。
- 导出:将当前结果保存为 TXT 或 CSV 文件。
- 共享历史:消息存储在
%APPDATA%/.minecraft/chattracker/目录下,因此 Lunar、Feather、Modrinth 应用以及原版启动器都使用同一份历史记录。 - AH Client 集成(可选):如果安装了 AH Client,ChatTracker 会出现在其中心菜单中,你可以在那里开启或关闭它,并打开搜索界面。不安装 AH Client 也可正常使用。
- 提供英文和韩文界面。
注意事项
- 启动时,ChatTracker 会将消息文本加载到内存中以实现快速搜索。对于 900,000 条消息,这大约需要 4 秒的后台时间,并占用约 100 MB 的内存。
- 升级到 1.8.0 后的首次启动会重建一次数据库索引。
面向模组开发者
其他模组可以通过 ChatTrackerAPI 读取已保存的消息。
if (ChatTrackerAPI.isAvailable()) {
List<ChatMessage> msgs = ChatTrackerAPI.search("hello", 100, 0);
int total = ChatTrackerAPI.getTotalMessages();
}
在你的 fabric.mod.json 中添加 "suggests": { "chattracker": "*" }。
详细信息
| Minecraft | 1.20.1 |
| 加载器 | Fabric(需要 Fabric API) |
| 适用端 | 仅客户端 |
| 存储方式 | SQLite,位于 %APPDATA%/.minecraft/chattracker/ |
| 许可证 | CC BY-NC-SA 4.0 |
| 作者 | MNT |
ChatTracker
A client-side Fabric mod that saves every chat message you receive to a local database, so you can search it later.
Features
- Saves all chat: player chat, whispers and system messages. Saving happens in the background. Identical lines in a row (e.g. CoreProtect lookups) are all kept.
- Search: press
G, type a keyword and hit Enter. Search runs in the background, so the game keeps running even with a large history. Results show up in well under a second, even with about a million saved messages. - Filters: narrow results by server, date and message type (player / whisper / system).
- Scroll and copy: scroll with the mouse wheel, the scrollbar or the keyboard (arrows, Page Up/Down, Home/End). More results load as you scroll. Click a line to copy it.
- Stats: message counts by server, sender, date and type.
- Export: save the current results as TXT or CSV.
- Shared history: messages are stored in
%APPDATA%/.minecraft/chattracker/, so Lunar, Feather, the Modrinth app and the vanilla launcher all use the same history. - AH Client (optional): if AH Client is installed, ChatTracker shows up in its hub menu, where you can turn it on or off and open the search screen. It works fine without it.
- English and Korean.
Notes
- On startup, ChatTracker loads message text into memory for fast search. With 900,000 messages this takes about 4 seconds in the background and uses about 100 MB of RAM.
- The first launch after updating to 1.8.0 rebuilds the database indexes once.
For mod developers
Other mods can read the saved messages through ChatTrackerAPI.
if (ChatTrackerAPI.isAvailable()) {
List<ChatMessage> msgs = ChatTrackerAPI.search("hello", 100, 0);
int total = ChatTrackerAPI.getTotalMessages();
}
Add "suggests": { "chattracker": "*" } to your fabric.mod.json.
Details
| Minecraft | 1.20.1 |
| Loader | Fabric (requires Fabric API) |
| Side | Client only |
| Storage | SQLite, %APPDATA%/.minecraft/chattracker/ |
| License | CC BY-NC-SA 4.0 |
| Author | MNT |
下载 mChaTracker
下载 mChaTracker
下载 mChaTracker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 mChaTracker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 mChaTracker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 mChaTracker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.8.0
- 修复了在搜索大型聊天记录时游戏卡死的问题
- 关键词搜索速度现在提升了最多 10 倍
- 过滤搜索(服务器、日期、类型)速度提升了最多 100 倍
- 在搜索界面添加了对彩色聊天的支持(Paper/Spigot/plugins)
- 标准 § 颜色代码(§0-§9、§a-§f)
- 格式化代码(§l 粗体、§o 斜体、§n 下划线、§m 删除线、§k 乱码、§r 重置)
- 十六进制颜色支持(来自 Paper/Spigot 的 §x§R§R§G§G§B§B 格式)
- JSON 内嵌 § 代码处理(部分插件兼容性)
- 多级回退机制:JSON → JSON 中的 § 代码 → rawMessage 中的 § 代码 → 纯文本
- 在 jar 文件名中添加了 Minecraft 版本号(例如 chattracker-mc1.20.1-1.5.6.jar)
- 修复了 Java 26 上 Gradle 构建失败的问题(为 Gradle 设置 JDK 21)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧