Skip to main content

青岚Bot

基于NoneBot的与Minecraft Server互通消息的机器人

介绍

命名的灵感来自于我的一位朋友

在原插件上加入了动态配置的功能

数据库参考 HarukaBot

安装

命令

  • 帮助

    • 为防止与其他插件冲突
    • 请使用 ql帮助 来获取帮助
  • 获取已连接至 WebSocket 的 MineCraft服务器

    • 服务器列表
  • 动态控制需要互通的群聊

    • 开启互通 Server1
    • 开启互通 Server2
    • 关闭互通 Server1
    • 关闭互通 Server2
  • 获取当前群聊开启互通的服务器

    • 互通列表
  • 为当前群聊设置是否在发送消息到MC时携带群聊名称

    • 开启发送群名
    • 关闭发送群名
  • 服务器在发送消息至群聊时,是否携带服务器名

    • 开启服务器名
    • 关闭服务器名
  • 服务器是否启用Rcon来发送消息或命令

    • Rcon发送 消息和命令 适用于非插件端服务器
    • Rcon发送命令适用于纯插件端
    • 开启rcon消息 服务器名 丨 关闭rcon消息 服务器名
    • 开启rcon命令 服务器名 丨 关闭rcon命令 服务器名
  • 修改服务器Rcon连接信息的IP、端口、密码

    • 为保障安全,仅限 超级用户 与 Bot 私聊使用
    • 为保障安全,若rcon密码为默认密码,将不会连接服务器的Rcon
    • 修改rconip 服务器名 新ip
    • 修改rcon端口 服务器 新端口
    • 修改rcon密码 服务器 新密码
  • 查看数据库中服务器列表

    • 服务器列表
  • 查看已经连接至 WebSocket 的服务器列表

    • 已连接服务器列表

特别感谢

  • @SK-415 :感谢SK佬给予许多优秀的建议和耐心的解答。
  • @zhz-红石头 :感谢红石头在代码上的帮助
  • SK-415/HarukaBot :感谢HarukaBot如此优雅的各类方法
  • NoneBot2: 插件使用的开发框架。
  • go-cqhttp: 稳定完善的 CQHTTP 实现。

贡献与支持

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

有意见或者建议也欢迎提交 Issues 和 Pull requests。

许可证

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

Metadata

Release files for qinglan-bot 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qinglan-bot 0.1.7
File Size Uploaded Provenance
qinglan_bot-0.1.7.tar.gz 20.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for qinglan-bot 0.1.7
File Interpreter ABI Platform
qinglan_bot-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 42.5 kB

Release files / qinglan_bot-0.1.7.tar.gz

Download URL qinglan_bot-0.1.7.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
43db2070507db159ed439b6c884982bb1fe77dfc02455837436af78c49c86d85
BLAKE2b-256 checksum
How to use checksums
e8203065e470f1d6537de7b07db8bb69cebb445f1e3a7f34a84ff4aa9d6835f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.4

Release files / qinglan_bot-0.1.7-py3-none-any.whl

Download URL qinglan_bot-0.1.7-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42dfeb31f9aed3ab1e1691629265a16d548da552fe76f259bd251ef41787de64
BLAKE2b-256 checksum
How to use checksums
bb1a1c5773d2d03b64eccb773419723c35b503acca64336158adaed2d7bfb824
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.4

Security for qinglan-bot 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page