# nonebot-plugin-mcping
基于NoneBot的查询MineCraft服务器状态并返回图片的插件
## 安装
- 脚手架安装
```shell
pip install nonebot-plugin-mcping
```
在nb项目文件中添加插件
- NB商店安装
```shell
nb plugin install nonebot-plugin-mcping
```
## 命令
默认查询 `25565`端口,如需指定端口只需要加上 `:port`,如:`jes mc.server.com:1234`
- 查询 `Java` 服务器状态
```
jes mc.server.com
```
- 查询 `BE` 服务器状态
```
bes mc.server.com
```
# 特别感谢
- [NoneBot2](https://github.com/nonebot/nonebot2): 插件使用的开发框架。
- [go-cqhttp](https://github.com/Mrs4s/go-cqhttp): 稳定完善的 CQHTTP 实现。
## 许可证
本项目使用 [GNU AGPLv3](https://choosealicense.com/licenses/agpl-3.0/) 作为开源许可证。
Raw data
{
"_id": null,
"home_page": "https://github.com/17TheWord/nonebot-plugin-mcping",
"name": "nonebot-plugin-mcping",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "17TheWord",
"author_email": "17theword@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/98/9a/cef92839266971f31c42962129e5354b6a0dbbb1382a9324207602117f32/nonebot-plugin-mcping-0.0.4.tar.gz",
"platform": null,
"description": "# nonebot-plugin-mcping\n\n\u57fa\u4e8eNoneBot\u7684\u67e5\u8be2MineCraft\u670d\u52a1\u5668\u72b6\u6001\u5e76\u8fd4\u56de\u56fe\u7247\u7684\u63d2\u4ef6\n\n## \u5b89\u88c5\n\n- \u811a\u624b\u67b6\u5b89\u88c5\n ```shell\n pip install nonebot-plugin-mcping\n ```\n \u5728nb\u9879\u76ee\u6587\u4ef6\u4e2d\u6dfb\u52a0\u63d2\u4ef6\n- NB\u5546\u5e97\u5b89\u88c5\n ```shell\n nb plugin install nonebot-plugin-mcping\n ```\n\n## \u547d\u4ee4\n\n\u9ed8\u8ba4\u67e5\u8be2 `25565`\u7aef\u53e3\uff0c\u5982\u9700\u6307\u5b9a\u7aef\u53e3\u53ea\u9700\u8981\u52a0\u4e0a `:port`\uff0c\u5982\uff1a`jes mc.server.com:1234`\n\n- \u67e5\u8be2 `Java` \u670d\u52a1\u5668\u72b6\u6001\n ```\n jes mc.server.com\n ```\n\n- \u67e5\u8be2 `BE` \u670d\u52a1\u5668\u72b6\u6001\n ```\n bes mc.server.com\n ```\n\n# \u7279\u522b\u611f\u8c22\n\n- [NoneBot2](https://github.com/nonebot/nonebot2)\uff1a \u63d2\u4ef6\u4f7f\u7528\u7684\u5f00\u53d1\u6846\u67b6\u3002\n- [go-cqhttp](https://github.com/Mrs4s/go-cqhttp)\uff1a \u7a33\u5b9a\u5b8c\u5584\u7684 CQHTTP \u5b9e\u73b0\u3002\n\n## \u8bb8\u53ef\u8bc1\n\n\u672c\u9879\u76ee\u4f7f\u7528 [GNU AGPLv3](https://choosealicense.com/licenses/agpl-3.0/) \u4f5c\u4e3a\u5f00\u6e90\u8bb8\u53ef\u8bc1\u3002\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "\u57fa\u4e8eNoneBot\u7684\u67e5\u8be2MineCraft\u670d\u52a1\u5668\u72b6\u6001\u5e76\u8fd4\u56de\u56fe\u7247\u7684\u63d2\u4ef6",
"version": "0.0.4",
"project_urls": {
"Homepage": "https://github.com/17TheWord/nonebot-plugin-mcping"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "72acd770b9f179a3f7db133bab525a820af5b4589eed30b138f6f4b6e70ce818",
"md5": "4cefab26d23db4e901267caecabdba09",
"sha256": "57b176ff20dda1e62331ff8e413fb8f496b86c9ff686251f2f69237cd823b70d"
},
"downloads": -1,
"filename": "nonebot_plugin_mcping-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4cefab26d23db4e901267caecabdba09",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5089422,
"upload_time": "2023-06-18T16:58:48",
"upload_time_iso_8601": "2023-06-18T16:58:48.573827Z",
"url": "https://files.pythonhosted.org/packages/72/ac/d770b9f179a3f7db133bab525a820af5b4589eed30b138f6f4b6e70ce818/nonebot_plugin_mcping-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "989acef92839266971f31c42962129e5354b6a0dbbb1382a9324207602117f32",
"md5": "697c8168357b42b701e099e84115afe7",
"sha256": "37e870626a36da0953945670818916ec0a0a0dc727ed0ca9d12350f4aee0adc7"
},
"downloads": -1,
"filename": "nonebot-plugin-mcping-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "697c8168357b42b701e099e84115afe7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5073134,
"upload_time": "2023-06-18T16:58:50",
"upload_time_iso_8601": "2023-06-18T16:58:50.444575Z",
"url": "https://files.pythonhosted.org/packages/98/9a/cef92839266971f31c42962129e5354b6a0dbbb1382a9324207602117f32/nonebot-plugin-mcping-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-18 16:58:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "17TheWord",
"github_project": "nonebot-plugin-mcping",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nonebot-plugin-mcping"
}