Skip to main content

Minecraft服务器状态查询的nonebot插件,支持IPv6/Minecraft server status query plugin for nonebot, IPv6 supported

Project description

NoneBotPluginLogo

nonebot-plugin-mccheck

✨ Minecraft 服务器查询插件 ✨

license pypi python pypi-download-count

简体中文|English

📖 介绍

Minecraft服务器状态查询,支持IPv6

https://github.com/molanp/zhenxun_plugin_mccheck/同步更新

💿 安装

以下提到的方法任选 其一 即可

[推荐]使用 nb-cli 安装 在 Bot 的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-mccheck
使用包管理器安装 在 nonebot2 项目的插件目录下, 输入安装命令
pip install nonebot-plugin-mccheck

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

    plugin["nonebot_plugin_mccheck"]

📈 已实现的功能

  • IPv6支持
  • 支持全平台适配器
  • 支持Unicode全字体与字形
  • Motd样式渲染
  • 支持互通服务器双次查询
  • 多语言
  • SRV支持

📑 未来的功能

  • 敬请期待

🖼️ 效果图

v0.1.45 Image_31020983743694.png image

🎈 特别说明

查询IPv6服务器

查服 [2001:db8:85a3::8a2e:370:7334]:25565  <-IPv6服务器地址及端口,端口和冒号可以不带

查服 [2001:db8:85a3::8a2e:370:7334]  <-IPv6服务器地址

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
MCC__LANGUAGE zh-cn 插件渲染图片所使用的语言
可用语言:[zh-cn,zh-tw,en]
MCC__TYPE 0 插件发送的消息类型(0为HTML渲染图片, 1为文本)

🎲 消息类型对比

类型 特殊样式 Favicon 完全彩色下划线/删除线 全Unicode字体支持
文本
HTML

🎉 使用

命令 参数 范围 说明
查服/mcheck ip:端口ip 私聊/群聊 查询服务器状态
设置语言/set_lang 语言名称 私聊/群聊 设置插件渲染图片所使用的语言
当前语言/lang_now 私聊/群聊 查看当前插件渲染图片所使用的语言
语言列表/lang_list 私聊/群聊 查看插件支持的语言列表

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_mccheck-0.3.3.tar.gz (3.0 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_mccheck-0.3.3-py2.py3-none-any.whl (3.2 MB view details)

Uploaded Python 2Python 3

File details

Details for the file nonebot_plugin_mccheck-0.3.3.tar.gz.

File metadata

  • Download URL: nonebot_plugin_mccheck-0.3.3.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for nonebot_plugin_mccheck-0.3.3.tar.gz
Algorithm Hash digest
SHA256 ee9f741b106a9a86fc7d03823003b5cfa13e29a7584cfff0ed22569752b4b053
MD5 79af96b718c72f49006cbf39ab1b3332
BLAKE2b-256 af76e30e844b6d079cc8959de48172bf65f1ffbdd2ea726e2004f2bdfcadfa83

See more details on using hashes here.

File details

Details for the file nonebot_plugin_mccheck-0.3.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_mccheck-0.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d3cba569dc8e6b90949342e736e1986db0c1031607d16c2e717526e94c8d4ac
MD5 04f35b161bedcf78cce0915062888c83
BLAKE2b-256 dde3fb4b89695333d1ddf44d8d29fbc448b7fed052f854b17427e34bb0b24daa

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