Chat-API
The Chat API mod forwards Minecraft chat messages via HTTP POST to a configurable, optionally API-key-protected webhook, with ready-to-build projects for Minecraft 1.21.9–26.2.
介绍
🗨️ Chat API
A lightweight Fabric client-side mod that bridges your Minecraft chat to the outside world.
📋 Overview
Chat API opens up your game’s chat via HTTP. Every message you see in chat is sent as a JSON POST request to a freely configurable web address — whether you’re playing singleplayer, on your own server, or on someone else’s network you don’t administer.
It also ships with its own lightweight HTTP server that can accept incoming requests, optionally secured with an API key.
✨ Features
| Feature | Description |
|---|---|
| 🔄 Real-time chat forwarding | Every chat message shown in the client is immediately sent via HTTP POST |
| 🔌 Connection events | Reports when you newly connect to a server (not on internal sub-server switches, e.g. lobby → survival) |
| 🌍 Works on any server | Purely client-side — no installation or admin rights needed on the target server |
| 🖥️ Built-in HTTP server | Accepts incoming requests, open or secured via Authorization: Bearer <key> |
| ⚙️ Simple JSON config | Change target address, port & security settings without recompiling |
| 📦 Zero external dependencies | Uses Java’s built-in HTTP client/server + Fabric API |
常见问题
Chat-API 支持哪些 Minecraft 版本?
Chat-API 支持 Minecraft Java 版 1.21.9–26.2,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Chat-API 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分