a2s查询游戏服务器详情
Project description
介绍
- 基于value的a2s协议,可查询求生之路、半条命、军团要塞、Counter-Strike: Global Offensive、Counter-Strike 1.6、ARK: Survival Evolved、Rust等游戏
- 根据游戏服务器ip返回游戏内相关信息
- 已经实现文字转图,减少风控
安装
使用 nb-cli 安装(推荐)
nb plugin install nonebot-plugin-a2s-query
使用 pip 安装
pip intall nonebot-plugin-a2s-query
之后打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["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 | 群服 |
图片示例
查服示例图片
订阅服示例图片
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_a2s_query-0.1.8.tar.gz.
File metadata
- Download URL: nonebot_plugin_a2s_query-0.1.8.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acfe6b1f0b6e0b7373fbd85de9b8159c5a3f1287a1c7acf231dc175a7fb5b51c
|
|
| MD5 |
0295ceab9c26000600bbdbc1792e6de6
|
|
| BLAKE2b-256 |
faeb91d9feea99796aaeae0a3709357f9a9feb6d9e5e9dcaf6cb0bf78b94e84b
|
File details
Details for the file nonebot_plugin_a2s_query-0.1.8-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_a2s_query-0.1.8-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3d3627e4d48910b25836db2fc0eca01396953b820fef9244f3b52ff60c1cfd6
|
|
| MD5 |
2eeeb4b0b1163f86d96b0b1b59f9d916
|
|
| BLAKE2b-256 |
b34a26a18f42619f724bb356b7ca5068e039c9d6bd09c981e99f68461c08b712
|