Skip to main content

基于NoneBot的QQ群聊与Minecraft Server消息互通插件

Project description

nonebot-plugin-mcqq

NoneBot-Plugin-MCQQ

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

  • 支持 QQ 群(OneBot V11适配器、QQ适配器)、QQ 频道(QQ适配器)
  • 支持多个服务器与多个群聊的互通README.md

文档

服务端对接

服务器端插件/Mod:鹊桥

功能

  • 推送消息列表

    • 服务器 -> QQ

      • 加入 / 离开 服务器消息
      • 玩家聊天信息
      • 玩家死亡信息(死亡信息为英文,原版端不适用,用正则匹配死亡信息是大工程!)
    • QQ -> 服务器

      • 指令
      • 群员聊天文本
      • 回复消息(悬浮显示被回复内容)
      • 图片、视频等内容转换为可点击在浏览器打开的 [图片][视频]
      • 可选配置,借助 @kitUIN/ChatImage 直接在游戏内显示图片
    • 未支持的消息已被替换,如: [未知消息类型] 等等

特别感谢

  • @SK-415:感谢 SK 佬给予许多优秀的建议和耐心的解答。
  • @zhz-红石头:感谢红石头在代码上的帮助
  • NoneBot2:插件使用的开发框架。

其他MCQQ?

关于 Minecraft 适配器

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

贡献与支持

觉得好用可以给这个项目点个 Star 或者去 爱发电 投喂我。

有意见或者建议也欢迎提交 IssuesPull requests

许可证

本项目使用 MIT 作为开源许可证。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_mcqq-2.9.0.tar.gz (3.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_mcqq-2.9.0-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_mcqq-2.9.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_mcqq-2.9.0.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_mcqq-2.9.0.tar.gz
Algorithm Hash digest
SHA256 997a09d91cf5de6da702b5eaecde38e849e71b1cea59f09bdba8afb595414ba4
MD5 bf743910a934c2067de3baa027b9cd37
BLAKE2b-256 0f16f7e1b7858637f4562c0bed0ee55a566e3880dc6f839dfab5e3f1c2f72356

See more details on using hashes here.

File details

Details for the file nonebot_plugin_mcqq-2.9.0-py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_mcqq-2.9.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_mcqq-2.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4a03fbe50e10229999aec4199f76bf831e8321c5a71d2eeeb7d012699923996
MD5 b53e4cda9a9e2cc77999b652fa07181b
BLAKE2b-256 fd58ed7e83fafcd110ae042539d83822675970f0e6b2773954c87179b31f280f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page