{"id":31776191,"url":"https://github.com/molanp/nonebot_plugin_mccheck","last_synced_at":"2025-11-24T22:07:33.499Z","repository":{"id":253077078,"uuid":"842389981","full_name":"molanp/nonebot_plugin_mccheck","owner":"molanp","description":"Minecraft服务器状态查询，支持IPv6/Minecraft server status query, IPv6 supported","archived":false,"fork":false,"pushed_at":"2025-10-06T18:10:23.000Z","size":38520,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T08:03:06.637Z","etag":null,"topics":["minecraft-server-info","nonebot-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/molanp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-14T08:53:17.000Z","updated_at":"2025-10-06T18:09:50.000Z","dependencies_parsed_at":"2024-08-14T10:13:16.573Z","dependency_job_id":"d633251e-e493-4853-9f15-bff599fc5994","html_url":"https://github.com/molanp/nonebot_plugin_mccheck","commit_stats":null,"previous_names":["molanp/nonebot_plugin_mccheck"],"tags_count":62,"template":false,"template_full_name":null,"purl":"pkg:github/molanp/nonebot_plugin_mccheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fnonebot_plugin_mccheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fnonebot_plugin_mccheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fnonebot_plugin_mccheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fnonebot_plugin_mccheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/molanp","download_url":"https://codeload.github.com/molanp/nonebot_plugin_mccheck/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molanp%2Fnonebot_plugin_mccheck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-24T02:00:07.096Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["minecraft-server-info","nonebot-plugin"],"created_at":"2025-10-10T05:26:12.253Z","updated_at":"2025-11-24T22:07:33.471Z","avatar_url":"https://github.com/molanp.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://v2.nonebot.dev/store\"\u003e\u003cimg src=\"https://github.com/KomoriDev/nonebot-plugin-kawaii-status/raw/master/docs/NoneBotPlugin.svg\" alt=\"NoneBotPluginLogo\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n# nonebot-plugin-mccheck\n\n\n_✨ Minecraft 服务器查询插件 ✨_\n\n\n\u003ca href=\"./LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/molanp/nonebot_plugin_mccheck.svg\" alt=\"license\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://pypi.python.org/pypi/nonebot-plugin-mccheck\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/v/nonebot-plugin-mccheck.svg\" alt=\"pypi\"\u003e\n\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\"\u003e\n\u003cimg src=\"https://img.shields.io/pypi/dm/nonebot-plugin-mccheck\" alt=\"pypi-download-count\"\u003e\n\u003c/div\u003e\n\n简体中文|[English](README_en.md)\n\n## 📖 介绍\n\nMinecraft服务器状态查询，支持IPv6\n\n\u003e 与[https://github.com/molanp/zhenxun_plugin_mccheck/](https://github.com/molanp/zhenxun_plugin_mccheck)同步更新\n\n## 💿 安装\n\n以下提到的方法任选 **其一** 即可\n\n\u003cdetails open\u003e\n\u003csummary\u003e[推荐]使用 nb-cli 安装\u003c/summary\u003e\n在 Bot 的根目录下打开命令行, 输入以下指令即可安装\n\n```shell\nnb plugin install nonebot-plugin-mccheck\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e使用包管理器安装\u003c/summary\u003e\n在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令\n\n```shell\npip install nonebot-plugin-mccheck\n# or\npdm add nonebot-plugin-mccheck\n# or\npoetry add nonebot-plugin-mccheck\n# or\nconda install nonebot-plugin-mccheck\n```\n\n打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入\n```toml\n    plugin[\"nonebot_plugin_mccheck\"]\n```\n\u003c/details\u003e\n\n## 📈 已实现的功能\n\n- [x] IPv6支持\n- [x] 支持全平台适配器\n- [x] 适配Unicode全字体与字形\n- [x] 渲染Motd样式\n- [x] 查询服务器昵称\n- [x] 查询服务器最大人数,当前人数和玩家列表\n- [x] 查询服务器motd\n- [x] 返回服务器地址及端口\n- [x] 返回服务器在线状态\n- [x] 查询服务器延迟\n- [x] 更精确的延迟\n- [x] 支持互通服务器双次查询\n- [x] 错误信息反馈\n- [x] 端口自动补全\n- [x] 智能判断IP地址是否正确\n- [x] 不依赖任何外部api\n- [x] 支持特殊端口查询(如`2`,`80`,`443`等)\n- [x] 查询服务器favicon\n- [x] 多语言\n- [x] SRV支持\n- [x] 完全彩色下划线/删除线\n- [x] 获取服务器协议号\n\n## 📑 未来的功能\n\n- [ ] 敬请期待\n\n## 🖼️ 效果图\n\nv0.1.45\n![Image_31020983743694.png](https://github.com/user-attachments/assets/2db47c9a-7ba1-4ce7-a31c-b65f6e848308)\n![image](https://github.com/user-attachments/assets/d0830fe9-c690-4017-b601-f46a1d7e1894)\n\n### 🎈 特别说明\n查询IPv6服务器\n```\n查服 [2001:db8:85a3::8a2e:370:7334]:25565  \u003c-IPv6服务器地址及端口，端口和冒号可以不带\n```\n或\n```\n查服 2001:db8:85a3::8a2e:370:7334  \u003c-IPv6服务器地址，插件会自动补全端口号\n```\n或\n```\n查服 2001:db8:85a3::8a2e:370:7334:25565  \u003c-IPv6服务器地址及端口\n```\n或\n```\n查服 [2001:db8:85a3::8a2e:370:7334]  \u003c-IPv6服务器地址\n```\n\n## ⚙️ 配置\n\n在 nonebot2 项目的`.env`文件中添加下表中的必填配置\n\n| 配置项 | 必填 | 默认值 | 说明 |\n|:-----:|:----:|:----:|:----:|\n| `MCC__LANGUAGE` | 否 | `zh-cn` | 插件渲染图片所使用的语言\u003cbr\u003e可用语言:[`zh-cn`,`zh-tw`,`en`] |\n| `MCC__TYPE` | 否 | `0` | 插件发送的消息类型(`0`为HTML渲染图片, `1`为文本) |\n\n## 🎲 消息类型对比\n\n| 类型 | 特殊样式 | Favicon | 完全彩色下划线/删除线 | 全Unicode字体支持 |\n|:-----:|:-----:|:-----:|:-----:|:-----:|\n| 文本 | ❌ | ⭕ | ❌ | ⭕ |\n| HTML | ⭕ | ⭕ | ⭕ | ⭕ |\n\n## 🎉 使用\n\n|命令|参数|范围|说明|\n|:---:|:---:|:---:|:---:|\n|`查服/mcheck`|`ip:端口` 或 `ip`|私聊/群聊|查询服务器状态|\n|`设置语言/set_lang`|语言名称|私聊/群聊|设置插件渲染图片所使用的语言|\n|`当前语言/lang_now`|无|私聊/群聊|查看当前插件渲染图片所使用的语言|\n|`语言列表/lang_list`|无|私聊/群聊|查看插件支持的语言列表|\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolanp%2Fnonebot_plugin_mccheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmolanp%2Fnonebot_plugin_mccheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolanp%2Fnonebot_plugin_mccheck/lists"}