# nonebot-plugin-a2s-query
## 适用于nonebot的插件,支持群聊查询游戏服务器详情
+ 基于value的a2s协议,可查询求生之路、半条命、军团要塞、Counter-Strike: Global Offensive、Counter-Strike 1.6、ARK: Survival Evolved、Rust等游戏
+ 根据游戏服务器ip返回游戏内相关信息
+ 已经实现文字转图,减少风控
### 要求
---
+ python >= 3.9
### 安装
---
```python
pip intall nonebot-plugin-a2s-query
```
### 命令
---
| 命令 | 介绍 | 示例 |
| :--------------------- | :----------------------------------------------------------- | :----------------------------------------------------------- |
| 查服 \| 查 \| connect | 查询服务器ip内详情,不加端口号默认27015 | 查服 测试 \| connect 192.168.0.1:27015 \| 查 192.168.0.1 |
| 加服 \| add | 在群里添加一个ip别称,方便查询,需要@机器人(别称和ip中间一定是英文的逗号,中文不会识别) | @bot 加服 测试,192.168.0.1:27015 \| @bot add test,192.168.0.1 |
| 删服 \| delete | 删除添加的ip别称, 需要@机器人 | @bot 删服 测试 \| @bot delete test |
| 订阅服 \| list \| 群服 | 查询所有别称ip的服务器人数名称 | 群服 \| list \| 群服 |
### 图片示例
---
#### 查服示例图片
![查服](./connect.png)
#### 订阅服示例图片
![群服](./list.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/NanakaNeko/nonebot-plugin-a2s-query",
"name": "nonebot-plugin-a2s-query",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<4.0",
"maintainer_email": "",
"keywords": "nonebot2,plugin,a2s,qq,bot",
"author": "\u5948",
"author_email": "flneko@163.com",
"download_url": "https://files.pythonhosted.org/packages/38/71/08f281067e94338a134c6ed320b5cdb8e60452b1bab388bb9469207f2ddc/nonebot_plugin_a2s_query-0.1.5.tar.gz",
"platform": null,
"description": "# nonebot-plugin-a2s-query\n## \u9002\u7528\u4e8enonebot\u7684\u63d2\u4ef6\uff0c\u652f\u6301\u7fa4\u804a\u67e5\u8be2\u6e38\u620f\u670d\u52a1\u5668\u8be6\u60c5\n\n+ \u57fa\u4e8evalue\u7684a2s\u534f\u8bae\uff0c\u53ef\u67e5\u8be2\u6c42\u751f\u4e4b\u8def\u3001\u534a\u6761\u547d\u3001\u519b\u56e2\u8981\u585e\u3001Counter-Strike: Global Offensive\u3001Counter-Strike 1.6\u3001ARK: Survival Evolved\u3001Rust\u7b49\u6e38\u620f \n+ \u6839\u636e\u6e38\u620f\u670d\u52a1\u5668ip\u8fd4\u56de\u6e38\u620f\u5185\u76f8\u5173\u4fe1\u606f \n+ \u5df2\u7ecf\u5b9e\u73b0\u6587\u5b57\u8f6c\u56fe\uff0c\u51cf\u5c11\u98ce\u63a7 \n\n### \u8981\u6c42\n---\n\n+ python >= 3.9\n\n### \u5b89\u88c5\n---\n\n```python\npip intall nonebot-plugin-a2s-query\n```\n\n### \u547d\u4ee4\n---\n\n| \u547d\u4ee4 | \u4ecb\u7ecd | \u793a\u4f8b |\n| :--------------------- | :----------------------------------------------------------- | :----------------------------------------------------------- |\n| \u67e5\u670d \\| \u67e5 \\| connect | \u67e5\u8be2\u670d\u52a1\u5668ip\u5185\u8be6\u60c5\uff0c\u4e0d\u52a0\u7aef\u53e3\u53f7\u9ed8\u8ba427015 | \u67e5\u670d \u6d4b\u8bd5 \\| connect 192.168.0.1:27015 \\| \u67e5 192.168.0.1 |\n| \u52a0\u670d \\| add | \u5728\u7fa4\u91cc\u6dfb\u52a0\u4e00\u4e2aip\u522b\u79f0\uff0c\u65b9\u4fbf\u67e5\u8be2\uff0c\u9700\u8981@\u673a\u5668\u4eba(\u522b\u79f0\u548cip\u4e2d\u95f4\u4e00\u5b9a\u662f\u82f1\u6587\u7684\u9017\u53f7\uff0c\u4e2d\u6587\u4e0d\u4f1a\u8bc6\u522b) | @bot \u52a0\u670d \u6d4b\u8bd5,192.168.0.1:27015 \\| @bot add test,192.168.0.1 |\n| \u5220\u670d \\| delete | \u5220\u9664\u6dfb\u52a0\u7684ip\u522b\u79f0\uff0c \u9700\u8981@\u673a\u5668\u4eba | @bot \u5220\u670d \u6d4b\u8bd5 \\| @bot delete test |\n| \u8ba2\u9605\u670d \\| list \\| \u7fa4\u670d | \u67e5\u8be2\u6240\u6709\u522b\u79f0ip\u7684\u670d\u52a1\u5668\u4eba\u6570\u540d\u79f0 | \u7fa4\u670d \\| list \\| \u7fa4\u670d |\n\n### \u56fe\u7247\u793a\u4f8b\n---\n\n#### \u67e5\u670d\u793a\u4f8b\u56fe\u7247\n\n![\u67e5\u670d](./connect.png)\n\n#### \u8ba2\u9605\u670d\u793a\u4f8b\u56fe\u7247\n\n![\u7fa4\u670d](./list.png)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "a2s\u67e5\u8be2\u6e38\u620f\u670d\u52a1\u5668\u8be6\u60c5",
"version": "0.1.5",
"project_urls": {
"Homepage": "https://github.com/NanakaNeko/nonebot-plugin-a2s-query",
"Repository": "https://github.com/NanakaNeko/nonebot-plugin-a2s-query"
},
"split_keywords": [
"nonebot2",
"plugin",
"a2s",
"qq",
"bot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "faba598678caa9c3ed5cf978d6376213aadd4ba75d8f3a8e5e6f88fba2ef6a96",
"md5": "0908ea6cdaae87061f4e046ecfd7dbeb",
"sha256": "cacdefc94a5f076d68ff518c99c1c6e8a119f3b222f6af72cde72766459b1584"
},
"downloads": -1,
"filename": "nonebot_plugin_a2s_query-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0908ea6cdaae87061f4e046ecfd7dbeb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<4.0",
"size": 5396,
"upload_time": "2024-03-10T14:26:43",
"upload_time_iso_8601": "2024-03-10T14:26:43.906282Z",
"url": "https://files.pythonhosted.org/packages/fa/ba/598678caa9c3ed5cf978d6376213aadd4ba75d8f3a8e5e6f88fba2ef6a96/nonebot_plugin_a2s_query-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "387108f281067e94338a134c6ed320b5cdb8e60452b1bab388bb9469207f2ddc",
"md5": "bcc42126c41940c2b29e5e20a9662338",
"sha256": "6c48f0782c483ebb75c803c2c852bdeb80c72a87e7d90437368aec2f21eb05bf"
},
"downloads": -1,
"filename": "nonebot_plugin_a2s_query-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "bcc42126c41940c2b29e5e20a9662338",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<4.0",
"size": 4725,
"upload_time": "2024-03-10T14:26:45",
"upload_time_iso_8601": "2024-03-10T14:26:45.786322Z",
"url": "https://files.pythonhosted.org/packages/38/71/08f281067e94338a134c6ed320b5cdb8e60452b1bab388bb9469207f2ddc/nonebot_plugin_a2s_query-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-10 14:26:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "NanakaNeko",
"github_project": "nonebot-plugin-a2s-query",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nonebot-plugin-a2s-query"
}