Skip to main content

nonebot-plugin-a2s-query

Nonebot2 查询游戏服务器详情

license pypi python

介绍

  • 基于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 | 群服

图片示例

查服示例图片

查服

订阅服示例图片

群服

Metadata

Release files for nonebot-plugin-a2s-query 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-a2s-query 0.2.0
File Size Uploaded
nonebot_plugin_a2s_query-0.2.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-a2s-query 0.2.0
File Interpreter ABI Platform
nonebot_plugin_a2s_query-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / nonebot_plugin_a2s_query-0.2.0.tar.gz

Download URL nonebot_plugin_a2s_query-0.2.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
03679c4d47c1e1b0b36f1684578fac48434a2afe2ae1725814247ee772e85913
BLAKE2b-256 checksum
How to use checksums
53277d3be183c0fd8f7415cd6f17beddfa38a9305e12404b8fd3789614206373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.3

Release files / nonebot_plugin_a2s_query-0.2.0-py3-none-any.whl

Download URL nonebot_plugin_a2s_query-0.2.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a7f78053e6de226b806ee8d2570bc35c54719cd64f924b9e2889708cdfb2b92
BLAKE2b-256 checksum
How to use checksums
c3fe37f11957b7f75c7b95b2341873b553179aafd8e92ba33486ee8e7c991f6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page