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.1.9.tar.gz (5.2 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.1.9-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_a2s_query-0.1.9.tar.gz
Algorithm Hash digest
SHA256 ad4ebe067611275f4205a05ebbd580d2f80c0e0813462046483a5a2f00d4f4c3
MD5 0094a7d33de6bdf30349419655e7ae0d
BLAKE2b-256 1e7a67923b1b78dc337c7e44a578f10ea50f38d75867c11208015d4defde6e8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_a2s_query-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 fab46ad531444e34c63b3d87a765d3095afcbc078c49a2262611f8c729be4481
MD5 907816a485cafedfa7aa1d58c9283fa5
BLAKE2b-256 f67f7e0f06eec47b4fc24d8f41458bb23198befcecfdf0e97d407407b4fb276e

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