Metadata-Version: 2.4
Name: nonebot-plugin-mcqq
Version: 2.7.1
Summary: 基于NoneBot的QQ群聊与Minecraft Server消息互通插件
Author-email: 17TheWord <17theword@gmail.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: <4,>=3.10
Requires-Dist: nonebot-adapter-minecraft>=1.6.0
Requires-Dist: nonebot-adapter-onebot>=2.4.6
Requires-Dist: nonebot-adapter-qq>=1.6.5
Requires-Dist: nonebot2[fastapi,httpx,websockets]>=2.4.3
Provides-Extra: pil
Requires-Dist: pillow>=11.3.0; extra == 'pil'
Description-Content-Type: text/markdown

[![nonebot-plugin-mcqq](https://socialify.git.ci/17TheWord/nonebot-plugin-mcqq/image?description=1&forks=1&issues=1&language=1&logo=https%3A%2F%2Fraw.githubusercontent.com%2F17TheWord%2Fnonebot-adapter-minecraft%2Fmain%2Fassets%2Flogo.png&name=1&owner=1&pulls=1&stargazers=1&theme=Auto)](https://github.com/17TheWord/nonebot-plugin-mcqq)

# NoneBot-Plugin-MCQQ

基于 `NoneBot` 的与 `Minecraft Server` 互通消息插件

- 支持 QQ 群(OneBot V11适配器、QQ适配器)、QQ 频道(QQ适配器)
- 支持多个服务器与多个群聊的互通[README.md](..%2Fnonebot-adapter-minecraft%2FREADME.md)

## 文档

- [`Wiki`](https://github.com/17TheWord/nonebot-plugin-mcqq/wiki)

## 服务端对接

服务器端插件/Mod：[`鹊桥`](https://github.com/17TheWord/QueQiao)

## 功能  

- 推送消息列表

  - 服务器 -> QQ
    - [x] 加入 / 离开 服务器消息
    - [x] 玩家聊天信息
    - [x] 玩家死亡信息（死亡信息为英文，原版端不适用，用**正则**匹配死亡信息是大工程！）
  - QQ -> 服务器
    - [x] 指令
    - [x] 群员聊天文本
    - [x] 回复消息(悬浮显示被回复内容)
    - [x] 图片、视频等内容转换为可点击在浏览器打开的 `[图片]`、`[视频]`
    - [x] 可选配置，借助 [`@kitUIN/ChatImage`](https://github.com/kitUIN/ChatImage) 直接在游戏内显示图片

  - 未支持的消息已被替换，如： `[未知消息类型]` 等等

## 特别感谢

- [@SK-415](https://github.com/SK-415)：感谢 SK 佬给予许多优秀的建议和耐心的解答。
- [@zhz-红石头](https://github.com/zhzhongshi)：感谢红石头在代码上的帮助
- [NoneBot2](https://github.com/nonebot/nonebot2)：插件使用的开发框架。

## 其他MCQQ？

- [`@KarisAya/mcqq 服主版`](https://github.com/KarisAya/nonebot_plugin_mcqq_server)：采用本地读取 `log` 信息的方法的 `Minecraft Server` 互通消息的插件
- [`@CikeyQi/mc-plugin`](https://github.com/CikeyQi/mc-plugin)：云崽的 `mcqq` 实现
- [`@Twiyan0/koishi-plugin-minecraft-sync-msg`](https://github.com/Twiyin0/koishi-plugin-minecraft-sync-msg)：`Koishi` 的 `mcqq` 实现
- [`@17TheWord/zerobot-plugin-mcqq`](https://github.com/17TheWord/zerobot-plugin-mcqq)：`ZeroBot` 的 `mcqq` 实现
- [`@kterna/astrbot_plugin_mcqq`](https://github.com/kterna/astrbot_plugin_mcqq)：提供 `AstrBot` 的 `mcqq` 实现

## 关于 Minecraft 适配器

- 本插件基于 [`nonebot-adapter-minecraft`](https://github.com/17TheWord/nonebot-adapter-minecraft) 适配器实现 `Websocket` 通信
- 若有自定义一些简单插件的想法，可以一试，例如：
  - 非插件端无权限系统场景下实现普通玩家使用`tp`命令
  - 实现简单的自助领取游戏物品
  - 连接直播间，实现弹幕聊天与游戏内聊天互通
  - ...

## 贡献与支持

觉得好用可以给这个项目点个 `Star` 或者去 [爱发电](https://afdian.com/a/17TheWord) 投喂我。

有意见或者建议也欢迎提交 [Issues](https://github.com/17TheWord/nonebot-plugin-mcqq/issues)
和 [Pull requests](https://github.com/17TheWord/nonebot-plugin-mcqq/pulls)。

## 许可证

本项目使用 [MIT](./LICENSE) 作为开源许可证。
