简体中文|English
📖 介绍
Minecraft服务器状态查询,支持IPv6
💿 安装
以下提到的方法任选 其一 即可
[推荐]使用 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
🎈 特别说明
查询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为Pillow绘制图片, 1为文本) |
🎲 消息类型对比
| 类型 | 特殊样式 | Favicon | 完全彩色下划线/删除线 | 全Unicode字体支持 |
|---|---|---|---|---|
| 文本 | ❌ | ⭕ | ❌ | ⭕ |
| Pillow | ⭕ | ⭕ | ⭕ | ⭕ |
🎉 使用
| 命令 | 参数 | 范围 | 说明 |
|---|---|---|---|
查服/mcheck |
ip:端口 或 ip |
私聊/群聊 | 查询服务器状态 |
设置语言/set_lang |
语言名称 | 私聊/群聊 | 设置插件渲染图片所使用的语言 |
当前语言/lang_now |
无 | 私聊/群聊 | 查看当前插件渲染图片所使用的语言 |
语言列表/lang_list |
无 | 私聊/群聊 | 查看插件支持的语言列表 |
Metadata
Release files for nonebot-plugin-mccheck 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nonebot_plugin_mccheck-0.4.0.tar.gz | 1.4 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_mccheck-0.4.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 2.8 MB
Release files / nonebot_plugin_mccheck-0.4.0.tar.gz
| Download URL | nonebot_plugin_mccheck-0.4.0.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b4a985a6691362ff4b677999d3ee98f39e405c1f4b4a7c6b097d962470ac1bd
|
|
BLAKE2b-256 checksum How to use checksums |
17dfcc02a3b97e4f41f374652f3d8b99f80167e4ca1adb437f560854d61ca591
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / nonebot_plugin_mccheck-0.4.0-py2.py3-none-any.whl
| Download URL | nonebot_plugin_mccheck-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4d5118848b7a8a2ceb0633afbe2a45471c4a98a492b779b271d8998feeb9986c
|
|
BLAKE2b-256 checksum How to use checksums |
38e5be27f244d6efb30686e6bac846c18f109fa7aa3b08a1ce1b06373f4559a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for nonebot-plugin-mccheck 0.4.0
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.