Skip to main content

战地一查询

经 bf-manager 的公开查询接口查询战地一数据,回复图片;渲染不可用时退回文字。

命令 说明
/bf1绑定 <EA 名字>(也可以 /bf1b /绑定 /bind) 绑定自己的 EA 账号;不带名字查看当前绑定
/bf1s [EA 名字](/stat /生涯 /战绩) 生涯战绩;绑定后可不带名字
/bf1w [EA 名字](/wp /weapon /武器) 武器击杀前十
/bf1v [EA 名字](/vc /vehicle /载具) 载具击杀前十
/bf1r [EA 名字](/recent /match /最近 /对局) 最近 6 局的战绩、胜负和用得最多的武器
/bf1ss <服务器名关键字>(/ss /搜服务器) 搜索有人的私服,显示前十个
/bf1pl <服务器名关键字 | gameId>(/ds /详细服务器) 服务器玩家列表(含排队、观战和行动进度);匹配多个时取人最多的
/bf1(/bfstat) 全服在线概况
/bf1审核 [开|关] 本群的入群审核;开关需要群管理员

括号里是旧 bot 的 -stat、-武器 这些命令换成 / 开头的写法,和前面的命令完全一样,帮助列表里只列前面的。

最近对局来自 bf-manager 跟踪到的对局(进服和结算时的生涯数据相减算出),保留 90 天;排队、观战、进服就走的局不算。

新群默认开启。

入群审核

在群里 /bf1审核 开 后,有人申请入群时 bot 会查申请者填的 EA 名字,把检查结果(没玩过战地一、BFEAC / BFBAN 实锤、和这个 QQ 已绑定的号不一致)和战绩卡片、最近对局卡片发到群里(bf-manager 90 天内没记录到对局时写一行说明)。群管理员回复这条消息 y 同意,回复其他文字则以该文字为理由拒绝,不限时;同意后,申请者还没绑定的话自动绑定为这个 EA 名字。

开着入群审核时,绑定过 EA 号的人进群后,bot 会用群里身份是群主或管理员的号把他的群名片改成这个号现在的名字,并 @ 他说一声;不经审核进群(比如被邀请)的也一样。群里没有管理员 bot 号时不改。

需要 bot 是群管理员:QQ 只把入群申请推给群主和管理员。群里有多个 bot 号、选路选中的又不是管理员时,Tenko 4.0.0rc49 之前会把申请丢掉,之后由收到申请的管理员号处理。入群方式设成“需要回答问题并由管理员审核”,问题让申请者填 EA 名字。待审申请存在插件数据库里,重启 Tenko 后照样能回复处理;要用收到申请的那个 bot 号处理,它不在线时会提示等它上线。申请在 QQ 里直接处理掉、申请者进群后,记录自动清掉。

配置

[plugin_config.bf1]
base_url = "https://bfm.umrbotech.com"  # bf-manager 地址,不带 /api/v1

Metadata

Release files for tenko-plugin-bf1 0.1.15

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

Source distribution (sdist)

Source distribution for tenko-plugin-bf1 0.1.15
File Size Uploaded Provenance Actions
tenko_plugin_bf1-0.1.15.tar.gz 1.8 MB With provenance Details for tenko_plugin_bf1-0.1.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tenko-plugin-bf1 0.1.15
File Interpreter ABI Platform Actions
tenko_plugin_bf1-0.1.15-py3-none-any.whl Python 3 none any Details for tenko_plugin_bf1-0.1.15-py3-none-any.whl

Total release size: 3.7 MB

Release files / tenko_plugin_bf1-0.1.15.tar.gz

Download URL tenko_plugin_bf1-0.1.15.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
51cc6b71b5d6dd571c54a1907b0301d6851d2a7b773760fba70862fad9c20a2a
BLAKE2b-256 checksum
How to use checksums
20127bc8d2d8c7b29a73954a3cdb5dd30611ca9ab81195c3638756049dcd2581
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Release files / tenko_plugin_bf1-0.1.15-py3-none-any.whl

Download URL tenko_plugin_bf1-0.1.15-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
43badb1ce5d7efcd00983fd1bf265903ec46cea00ac774dfaf2b992075edaf43
BLAKE2b-256 checksum
How to use checksums
79b7bad39ba41d9684cf098d2a47e8e5ba83f09d702705401dcaffd597d00985
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for tenko-plugin-bf1 0.1.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tenko_plugin_bf1-0.1.15.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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