command
module
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: May 23, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶

ZeroBot-Plugin-MCQQ
mcqq 的 ZeroBot 插件实现
使用
-
克隆本项目
-
复制 config.example.yml 为 config.yml,并按注释修改配置
-
启动 go run . -config config.yml
-
编译后启动
go build -o mcqq
./mcqq -config config.yml
Windows:
go build -o mcqq.exe
.\mcqq.exe -config config.yml
对接 Minecraft 服务器
配套 插件/模组 请前往 鹊桥 仓库查看详情
当前版本按 鹊桥 Protocol V2 对接:
- QQ 群消息通过
broadcast API 广播到 Minecraft 服务器
- Minecraft 事件通过 WebSocket JSON 推送到本插件
- WebSocket Header 默认使用
x-client-origin: zerobot
- WebSocket Client 支持断线自动重连,可在
config.yml 中配置 reconnect_interval 和 reconnect_max_times
功能
-
推送消息列表
- 服务器 -> QQ
- 加入 / 离开 服务器消息
- 玩家聊天信息
- 玩家命令信息
- 玩家死亡信息(死亡信息为英文,原版端不适用,用正则匹配死亡信息是大工程!)
- 玩家成就信息
- QQ -> 服务器
暂未实现从 QQ 主动调用 Rcon、Title、ActionBar、服务器状态查询等内容,欢迎 PR
特别感谢
其他项目
贡献与支持
觉得好用可以给这个项目点个 Star 或者去 爱发电 投喂我。
有意见或者建议也欢迎提交 Issues
和 Pull requests。
许可证
本项目使用 MIT 作为开源许可证。
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.