MultiChat
对 Minecraft 聊天界面的彻底重构。 支持无限面板、带嵌套子标签页的自定义标签页、按标签页过滤、关键词高亮、全文搜索、笔记功能、快捷操作、声音提示、聊天主题,以及供其他模组接入的丰富 API。所有功能均在客户端运行,无需安装服务端组件。

为什么选择 MultiChat
原版聊天是一个单一的滚动信息流。每条系统消息、每个玩家发言、每个插件广播都挤在同一个地方,一旦滑出视野便 effectively 消失。MultiChat 用面板系统取代了这种信息流:将聊天拆分为多个标签页,通过白名单/黑名单规则自动路由消息,高亮你关心的词汇,即时搜索所有内容,并保存永久笔记且不会与游戏聊天内容混杂。
它专为想要更好聊天体验的用户打造——非常适合角色扮演(RP)服务器、公会/阵营服务器、重度依赖插件消息的 SMP 服务器,以及希望为自家模组的输出提供专属展示位置而非刷屏原版的模组/服务器开发者。
功能概览
无限面板
- 添加任意数量的面板——不再局限于两个
- 默认设置:左侧面板始终显示;右侧面板可选,可在设置中开启
- 每个面板均可独立配置:锚定到左/右/自定义位置,自定义宽度/高度(以行数计),自定义缩放比例,背景/文本透明度,是否仅在聚焦时显示,始终聚焦(始终保持全不透明度和最大高度),其活动标签页是否驱动 outgoing chat context(发送上下文)
- 弹出窗口:右键点击标签页 → “弹出”将其变为独立的浮动面板
- 面板布局 GUI (
/multichat layout) — 拖拽面板进行网格对齐和贴边对齐(屏幕边缘 24px 内吸附),拖拽边缘调整大小,单独拖拽非聚焦状态的高度线,一键“贴墙”停靠

无限自定义标签页,7 种类型
| 类型 |
功能说明 |
ALL |
所有消息,不过滤,始终存在,不可删除 |
VANILLA |
直通原版 Minecraft 聊天信息流 |
FILTERED |
由你自己的白名单/黑名单规则决定哪些消息进入此处 |
SEARCH |
临时性,仅会话期间有效——实时搜索结果 |
NOTES |
私有草稿箱标签页,不接收任何聊天消息,仅包含你手动添加的内容 |
INFO |
内置的游戏内指南/帮助标签页 |
API |
由其他模组通过 MultiChat API 拥有并填充内容 |
多标签页: 任何过滤标签页都可以拥有自己的子标签页。每个子标签页仅能看到父标签页已放行并通过的消息,然后在其上应用自己的规则。每个多标签页都包含一个内置的 All 子标签页。
强大的过滤功能
每个 FILTERED 标签页运行一组白名单或黑名单规则。规则类型包括:包含、开头匹配、结尾匹配、精确匹配、整词匹配、模糊匹配和完整正则表达式(包括正则起始/正则结束)。规则还可以针对消息类型——玩家聊天、系统消息、“未受安全验证”标记、已修改或聊天错误——而不仅仅是文本内容。
样式规则根据文本的实际渲染方式进行过滤:粗体/斜体/下划线等,任何命名颜色或十六进制颜色,或交互行为(点击事件、悬停文本、执行/建议命令、打开 URL)。你可以定位特定单词、单词索引、消息的开头/结尾,或任意位置。
对于高级设置,差异模式 (Difference Mode) 允许标签页在路由管道中处于优先级层,带有排除/包含标志,从而构建分层逻辑,例如“捕获其他一切未捕获的内容”或“捕获 X 也捕获的内容”。
高亮词汇
添加关键词,任何匹配的消息将以双色方案重绘(完全可配置——默认黄色粗体关键词,红色其余部分)。悬停查看哪个关键词匹配,点击取消高亮。例外规则可防止误匹配(例如 urban 可阻止 ban 触发),并支持匹配时播放声音和冷却时间。标签页可以强制高亮匹配项,即使消息未通过该标签页的过滤条件,也能让高亮消息通过。
即时搜索
Ctrl+F 打开高级搜索:实时更新结果,大小写敏感切换,五种匹配模式(包含/开头匹配/整词/模糊/正则),相对时间范围(“仅限最近 10m 内的消息”),以及将搜索范围限定于特定标签页而非全部内容的选项。结果会落入一个临时的 SEARCH 标签页,可随时关闭。

永不丢失的笔记
右键点击任意消息 → 添加到笔记,或输入 /multichat note add <text>。笔记保存在自己的标签页中,不受聊天路由影响,并独立持久化——无论是运行日志、待办事项列表、坐标记录,还是你原本需要在聊天历史中回滚才能重新找到的内容。
快捷操作
在聊天中选择文本,按下 Ctrl+Q(或右键 → 快捷操作),即可对其应用预建命令模板——例如 /tell {selected} Hello、/report {selected},任何带有 {selected} 占位符的命令均可。可配置为立即执行或粘贴到聊天框中进行最终编辑。

完整的消息交互
- 点击并拖拽以选中文本;双击某个单词,或双击
<Name> 括号内的玩家名称,即可仅选中该名称
- 右键单击消息:复制、带时间戳复制、复制所选内容、搜索此内容、快捷操作、添加到笔记、跳转至全部、删除、从全部中删除
- 右键单击标签页:清空、编辑、重命名、切换徽章/时间戳/折叠状态、滚动至顶部/底部、将所有消息导出到剪贴板、重新排序、设置为活动笔记标签页、切换上下文、弹出窗口、关闭(搜索标签页)
- 重复的相同消息会自动折叠为单行,并显示类似
(x3) 样式的计数器(格式完全可自定义)
- 可拖动的滚动条,鼠标靠近时会发光
合理的声音提示
设置全局默认的提示声音/音量/音调,或针对每个标签页进行完全覆盖。触发条件支持 OR/AND 逻辑组合:始终播放、仅在标签页非活动时播放、仅在游戏窗口失去焦点时播放、仅在 AFK(离开键盘)状态下播放、以及通过带有独立阈值的“要求静音”窗口进行限制——此外还有冷却时间,确保你不会受到 spam 轰炸。内置声音浏览器,可从所有已注册的游戏声音中进行选择。
上下文感知的聊天输入
将任意标签页设置为活动上下文,MultiChat 会在你输入的每条消息前添加前缀——可以是普通聊天前缀,也可以是完整的 /command ——聊天栏上方会显示状态行,明确指示当前激活的内容(▶ Tab: Alerts [msg Fred])。非常适合私聊线程、阵营聊天或任何需要命令前缀的聊天频道。
深度自定义
聊天主题(原版、简洁深色、粗体、粉色、薄荷绿、薰衣草色)、时间戳格式(使用你自己的 DateTimeFormatter 模式及颜色代码)、每个标签页和面板的背景/文本透明度、标签页颜色、每个标签页的消息上限、悬停时的光标形状反馈、带可选闪烁反馈的方向键标签页切换、选择文本时冻结界面、以及更多功能——所有屏幕均基于 Cloth Config 构建,因此提供原生且熟悉的设置体验,并完全集成 ModMenu。

专为大型历史记录设计
大型标签页重建和重新过滤在后台线程上运行,并使用动画加载骨架屏,避免游戏冻结。可配置的全局消息上限(默认 100,000)和批量修剪机制可有效控制内存占用。
命令
| 命令 |
说明 |
/multichat |
打开标签列表界面 |
/multichat tab add [name] |
添加一个新的过滤标签 |
/multichat tab remove |
移除当前焦点面板上的活动标签 |
/multichat tab edit <name> |
打开标签编辑器 |
/multichat panels [name] |
打开面板列表 / 编辑某个面板 |
/multichat layout |
打开拖拽式面板布局 GUI |
/multichat settings |
打开设置 |
/multichat highlight |
打开高亮词设置 |
/multichat highlight add|remove <word> |
添加/移除高亮关键词 |
/multichat highlight exception add|remove <word> |
添加/移除高亮例外词 |
/multichat quickactions |
打开快捷操作覆盖层 |
/multichat context [tab] |
设置/清除发送聊天上下文前缀 |
/multichat note add <text> |
在活动笔记标签中追加一行 |
/multichat info show / hide |
显示/隐藏内置的信息标签页 |
/multichat help |
打开游戏内帮助界面 |
(完整命令列表见 README.md。)
Chat Heads 兼容性
MultiChat 与 Chat Heads 自动兼容 —— 无需任何配置。头像会在每个标签页中渲染(在名字之前和行之前),保持可选中、可点击,并与选择、悬停及链接点击行为对齐。支持 chat_heads 1.3.x(MC 1.21.9+ 和 26.x)以及 0.15.x(MC 1.21 – 1.21.6)。
其他向聊天消息中添加不可见字符或组件的模组仍可能干扰文本选择、过滤和搜索。如果某些功能表现异常,请尝试禁用它们并告知我。
计划
这当然不会是模组的最终版本。我将添加对 1.20.x 版本的支持,并且很可能会继续扩展 API。
专为模组开发者打造
MultiChat 提供了一个完整的客户端 API(net.mobilelize.multichat.api),以便其他模组可以注册自己的命名标签页、向其推送消息(带或不带提示音)、静默管理标签内容、驱动发送聊天上下文、添加高亮关键词和例外词、注册自定义聊天主题,并挂钩六个 Fabric 事件(收到消息、消息添加到标签页、标签页切换、发送消息、面板焦点、标签页动作点击)。无需网络代码,无服务端依赖 —— 请参阅 README.md 获取完整的集成指南和 API 参考。
要求
- Minecraft 1.21 – 26.x (Fabric)
- Fabric Loader + Fabric API
- Cloth Config(必需)
- ModMenu(可选,用于游戏内配置访问)
- 仅限客户端 — 无需安装服务器,适用于任何服务器,包括原版服务器
许可证
GPL-3.0-or-later
MultiChat
A complete rebuild of Minecraft's chat. Unlimited panels, unlimited custom tabs with nested sub-tabs, per-tab filtering, keyword highlighting, full-text search, note-taking, quick actions, sound pings, chat themes, and a rich API for other mods to plug into. It's all client-side, so no server install is needed.

Why MultiChat
Vanilla chat is one scrolling feed. Every system message, every player, every plugin broadcast lands in the same place, and once it scrolls past it's effectively gone. MultiChat replaces that feed with a panel system: split your chat into as many tabs as you need, route messages into them automatically with whitelist/blacklist rules, highlight the words you care about, search across everything instantly, and keep permanent notes without them ever mixing into game chat.
It's built for anyone who wants a better chat — works great for RP servers, guild/faction servers, SMPs with heavy plugin messaging, and server/mod developers who want a first-class place to put their own mod's output instead of spamming vanilla chat.
Feature Overview
Unlimited panels
- Add as many panels as you want — not capped at two
- Default setup: left panel always on; right panel optional, toggle it on in Settings
- Each panel is fully configurable independently: anchor to left/right/custom position, custom width/height (in lines), custom scale, background/text opacity, whether it shows only while focused, Always Focused (full opacity and height all the time), whether its active tab drives the outgoing chat context
- Pop Out: right-click a tab → Pop Out turns it into its own floating panel
- Panel Layout GUI (
/multichat layout) — drag panels to reposition with grid-snap and wall-snap (docks within 24px of screen edges), drag edges to resize, drag the unfocused-height line separately, one-click "To Wall" docking

Unlimited custom tabs, 7 types
| Type |
What it does |
ALL |
Every message, unfiltered, always present, non-deletable |
VANILLA |
Straight passthrough of the default Minecraft chat feed |
FILTERED |
Your own whitelist/blacklist rules decide what lands here |
SEARCH |
Temporary, session-only — the live result of a search |
NOTES |
A private scratchpad tab that never receives chat, only what you put in it |
INFO |
Built-in in-game guide/help tab |
API |
Owned and populated by other mods through the MultiChat API |
Multi-Tab: any filtered tab can have its own sub-tabs. Each sub-tab only sees what its parent already let through, then applies its own rules on top. Every multi-tab includes a built-in All sub-tab.
Powerful filtering
Each FILTERED tab runs a whitelist or blacklist of rules. Rule types: contains, starts with, ends with, exact match, whole word, fuzzy, and full regex (including regex-start/regex-end). Rules can also target message kind — player chat, system message, "not secure" flagged, modified, or chat error — not just text content.
Style Rules filter by how text actually renders: bold/italic/underline/etc., any named or hex color, or interaction (click events, hover text, run/suggest command, open URL). You can target a specific word, a word index, the start/end of the message, or anywhere.
For advanced setups, Difference Mode lets a tab sit at a priority layer in the routing pipeline, with exception/inclusion flags, so you can build layered "catch what nothing else caught" or "catch what X also caught" tabs.
Highlight Words
Add keywords and any matching message is redrawn in a two-color scheme (fully configurable — default yellow bold keyword, red rest). Hover to see which keyword matched, click to undo. Exceptions stop false matches (e.g. urban stops ban from firing), with an optional sound on match and a cooldown. Tabs can Force Highlight Matches to let highlighted messages through even if they fail the tab's filter.
Instant search
Ctrl+F opens Advanced Search: live-updating results, case sensitivity toggle, five match modes (contains/starts-with/word/fuzzy/regex), relative-time bounds ("only messages from the last 10m"), and the option to scope a search to one specific tab instead of everything. Results land in a disposable SEARCH tab you can close whenever.

Notes that never get lost in chat
Right-click any message → Add to Notes, or type /multichat note add <text>. Notes live in their own tab, are never touched by chat routing, and persist independently — a running log, a to-do list, coordinates, whatever you'd otherwise be scrolling back through chat history to re-find.
Quick Actions
Select text in chat, hit Ctrl+Q (or right-click → Quick Actions), and fire a pre-built command template against it — /tell {selected} Hello, /report {selected}, anything with a {selected} placeholder. Configurable to run instantly or paste into the chat box for a final edit first.

Full message interaction
- Click-drag to select text; double-click a word, or double-click a player's name inside
<Name> brackets to select just the name
- Right-click a message: Copy, Copy with Timestamp, Copy Selected, Search for this, Quick Actions, Add to Notes, Jump to All, Delete, Delete from All
- Right-click a tab: clear, edit, rename, toggle badge/timestamps/collapse, scroll to top/bottom, export all messages to clipboard, reorder, set as active note tab, toggle context, pop out, close (search tabs)
- Repeated identical messages auto-collapse into a single line with a
(x3)-style counter (fully customizable format)
- Draggable scrollbar that glows when your mouse is near it
Sound pings, done properly
Global default ping sound/volume/pitch, or override per tab entirely. Trigger conditions combine with OR/AND logic: always, only when the tab is inactive, only when the game window is unfocused, only while AFK, gated behind a "require silence" window with its own threshold — plus a cooldown so you're never spammed. Built-in sound browser to pick from every registered game sound.
Context-aware chat input
Set any tab as the active context and MultiChat prepends a prefix to everything you type — as a plain chat prefix or as a full /command — with a status line above the chat bar showing exactly what's active (▶ Tab: Alerts [msg Fred]). Perfect for private-message threads, faction chat, or any command-prefixed chat channel.
Deep customization
Chat Themes (Vanilla, Simple Dark, Bold, Pink, Mint, Lavender), timestamp format (your own DateTimeFormatter pattern with color codes), per-tab and per-panel background/text opacity, tab colors, message caps per tab, cursor-shape feedback on hover, arrow-key tab switching with optional flash feedback, text-selection freeze-while-selecting, and more — every screen is built on Cloth Config, so it's a native, familiar settings experience with full ModMenu integration.

Built for big histories
Large tab rebuilds and refilters run on a background thread with an animated loading skeleton instead of freezing the game. A configurable Global Message Cap (default 100,000) and batched trimming keep memory in check.
Commands
| Command |
Description |
/multichat |
Open Tab List screen |
/multichat tab add [name] |
Add a new filtered tab |
/multichat tab remove |
Remove the active tab on the focused panel |
/multichat tab edit <name> |
Open the tab editor |
/multichat panels [name] |
Open Panel List / edit a panel |
/multichat layout |
Open the drag-and-drop panel layout GUI |
/multichat settings |
Open settings |
/multichat highlight |
Open Highlight Words settings |
/multichat highlight add|remove <word> |
Add/remove a highlight keyword |
/multichat highlight exception add|remove <word> |
Add/remove a highlight exception |
/multichat quickactions |
Open quick actions overlay |
/multichat context [tab] |
Set/clear the outgoing chat context prefix |
/multichat note add <text> |
Append a line to the active note tab |
/multichat info show / hide |
Show/hide the built-in Info tab |
/multichat help |
Open the in-game help screen |
(Full command list in README.md.)
Chat Heads Compatibility
MultiChat works automatically with Chat Heads — nothing to configure. Heads render in every tab (Before Name and Before Line), stay selectable and clickable, and line up with selection, hover and link clicks. Supports chat_heads 1.3.x (MC 1.21.9+ and 26.x) and 0.15.x (MC 1.21 – 1.21.6).
Other mods that add invisible characters or components to chat messages may still interfere with text selection, filtering and searching. If something behaves oddly, try disabling them and let me know.
Plans
This isn't going to be the final version of the mod of course. I'm going to add support for versions 1.20.x, and I'll likely keep expanding the API.
Built for mod developers
MultiChat ships a full client-side API (net.mobilelize.multichat.api) so other mods can register their own named tabs, push messages into them (with or without pings), silently manage tab content, drive the outgoing-chat context, add highlight keywords and exceptions, register custom chat themes, and hook six Fabric events (message received, message added to tab, tab changed, message sent, panel focus, tab-action clicks). No network code, no server dependency — see README.md for the full integration guide and API reference.
Requirements
- Minecraft 1.21 – 26.x (Fabric)
- Fabric Loader + Fabric API
- Cloth Config (required)
- ModMenu (optional, for in-game config access)
- Client-side only — no server installation needed, works on any server including vanilla
License
GPL-3.0-or-later
评论 0
登录后参与评分
还没有评论,来抢沙发吧