Skip to main content

a2s查询游戏服务器详情

Project description

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 | 群服

图片示例

查服示例图片

查服

订阅服示例图片

群服

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

nonebot_plugin_a2s_query-0.2.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_a2s_query-0.2.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_a2s_query-0.2.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_a2s_query-0.2.0.tar.gz
Algorithm Hash digest
SHA256 03679c4d47c1e1b0b36f1684578fac48434a2afe2ae1725814247ee772e85913
MD5 118957e8311125e3fe5c93531f53832e
BLAKE2b-256 53277d3be183c0fd8f7415cd6f17beddfa38a9305e12404b8fd3789614206373

See more details on using hashes here.

File details

Details for the file nonebot_plugin_a2s_query-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_a2s_query-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a7f78053e6de226b806ee8d2570bc35c54719cd64f924b9e2889708cdfb2b92
MD5 8247e7004bab4ccda95d49be12d571ee
BLAKE2b-256 c3fe37f11957b7f75c7b95b2341873b553179aafd8e92ba33486ee8e7c991f6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page