Web Chat 是一个仅客户端模组,允许你访问正在运行的 Minecraft 游戏窗口的聊天内容。这让你可以在后台运行 Minecraft 的同时与其他玩家聊天。非常适合用于半挂机(semi-afk) farming 等场景!
功能
- 通过任何网页浏览器访问聊天。
- 当你处于服务器中并在浏览器中打开聊天时,聊天记录会被存储并可查阅。
- 支持用户名 Tab 补全。
- 当浏览器窗口未获得焦点时,新消息会通过标签页图标通知。
- 完全在客户端运行,适用于任何服务器。
- 支持对用户名和可配置关键词的 Ping 提醒。
- 支持
/tell、/msg、/w和/me命令。 - 完整支持 Minecraft 的文本格式(颜色、加粗、斜体、翻译等)。
- 支持官方的点击和悬停交互(如打开 URL、查看成就详情等)。

可用性
- Minecraft 版本:
- Web Chat v1.10.0 支持 26.3
- Web Chat v1.9.0-1.9.1 支持 26.2
- Web Chat v1.7.0-v1.8.0 支持 26.1
- Web Chat v1.5.0-v1.6.0 支持 1.21.11
- Web Chat v1.4.0 支持 1.21.8
- 1.21.1 - 1.21.4 最高支持至 Web Chat v1.3.0,不再支持更高版本。
- 加载器:仅 Fabric
目前没有计划支持其他加载器。
使用方法
前置要求
- Fabric API(必需)
- YACL(必需)
- Mod Menu(可选,用于配置界面)
安装
- 从 Modrinth 安装该模组,或从 GitHub 获取最新发行版。
- 启动 Minecraft。
- 加入一个服务器。
- 在同一台电脑上访问
localhost:8080,或在网络中的其他设备上使用你电脑的本地 IP 地址(例如192.168.1.x:8080)。 - 开始聊天。
设置
消息设置
Ping on Username(用户名 Ping 提醒)- 当聊天中出现任何玩家的名称时,会向浏览器窗口发送 Ping 提醒。Extra Ping keywords(额外 Ping 关键词)- 当聊天中出现这些关键词之一时,会向浏览器窗口发送 Ping 提醒。
网络设置
HTTP Port(HTTP 端口)- 用于提供 Web 界面的端口号。默认为8080。Open Chat to LAN(向局域网开放聊天)- 将 Web 聊天向你的本地网络开放,以便其他设备(如手机)可以连接。默认启用。禁用后,聊天将仅绑定到localhost,只能从当前电脑访问。启用后,玩家列表中将显示一个二维码按钮,扫描后可快速在手机端打开聊天。
安全与隐私
此模组会将你的计算机上的 Minecraft 变成一个小型 Web 服务器,仅可通过 localhost 或本地 IP 在你的家庭网络中访问。这意味着你可以在网络中的其他设备上访问 Web Chat,但无法通过互联网访问。
除了正常的 Minecraft 流量外,不会有任何数据发送到互联网。
重要提示: 本模组仅限本地使用。请勿将 Web 聊天端口暴露给互联网。如果需要远程访问,请设置 VPN(例如 Tailscale)。
Web chat is a client only mod that gives you access to the Minecraft chat of your running game window. This allows you to chat with other players while having minecraft in the background. Great for things like semi-afk farming and similar things!
Features
- Access chat through any web browser.
- Chat history is stored and available when you are on a server and open chat in a browser.
- Tab completion of usernames.
- Tab icon notification for new messages when the browser isn't focused.
- Fully client side, works on any server.
- Ping support for your username & configurable keywords.
- Support for
/tell,/msg,/wand/mecommands. - Full support for Minecraft's text formatting (colors, bold, italic, translation, etc.)
- Support for official click and hover interactions (opening URLs, achievement details, etc.)

Availability
- Minecraft version:
- 26.3 supported by Web Chat v1.10.0
- 26.2 supported by Web Chat v1.9.0-1.9.1
- 26.1 supported by Web Chat v1.7.0-v1.8.0
- 1.21.11 supported by Web Chat v1.5.0-v1.6.0
- 1.21.8 supported by Web Chat v1.4.0
- 1.21.1 - 1.21.4 are supported up to Web Chat v1.3.0 and not further.
- Mod loader: Fabric only
There are no plans to support other mod loaders.
Usage
Requirements
- Fabric API (required)
- YACL (required)
- Mod Menu (optional, needed for configuration)
Installation
- Install the mod from Modrinth or grab the latest release from GitHub.
- Start minecraft.
- Join a server.
- Go to
localhost:8080on the same computer, or use your computer's local IP address (like192.168.1.x:8080) from other devices on your network. - Start chatting.
Settings
Message settings
Ping on Username- This will ping the browser window any time a player's username appears in the chat.Extra Ping keywords- This will ping the browser window any time one of these words appear in the chat.
Network settings
HTTP Port- Port number used to serve the web interface.8080by default.Open Chat to LAN- Open the web chat to your local network so other devices (like your phone) can connect. Enabled by default. When disabled, the chat binds tolocalhostonly and is reachable from this computer alone. While enabled, a QR code button is shown in the player list that lets you quickly open the chat on your phone by scanning your computer's local network address.
Security & Privacy
This mod turns minecraft into a small web server on your computer that's only accessible (using localhost or your local IP) on your home network. This means that you can access Web Chat on a different device on your network, but not over the internet.
No data is sent over the internet beyond your normal Minecraft traffic.
Important: This mod is designed for local use only. Do not expose the web chat port to the internet. If you need remote access, setup a VPN (such as Tailscale).
下载 Web Chat
下载 Web Chat
下载 Web Chat
下载 Web Chat
下载 Web Chat
下载 Web Chat
下载 Web Chat
下载 Web Chat
下载 Web Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Web Chat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
更新内容
- 支持 26.3
- 修复了文本格式支持方面的一些遗漏
完整更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧