nonebot-plugin-efthelper
查询《逃离塔科夫》服务器状态、玩家资料,以及邪教圈献祭推荐。
数据来源:tarkov.dev(服务器状态、物品行情、玩家资料) 与 eftforge(更实时的玩家档案与角色立绘)。 本项目与 Battlestate Games、tarkov.dev、eftforge 均无关联。
功能
| 命令 | 说明 |
|---|---|
/eftstatus |
查看三个模式(PvP / PvP 赛季 / PvE)的服务器状态 |
/player <模式> <角色ID 或 昵称> |
玩家资料卡片:等级、转生、结局、EXP、PMC/SCAV 战绩、成就 |
/eftcircle <模式> <件数> |
邪教圈献祭推荐:按 14 小时档(≥350,001)算出最省钱的献祭组合 |
/eftreload [模式] |
手动刷新昵称索引(仅超级用户) |
模式取值:pvp(正式服)、pvps(PvP 赛季)、pve。
邪教圈献祭推荐
目标阈值固定为 350,001(14 小时档),件数取 1~5:
- 求解「恰好 N 件、基准价值合计 ≥ 阈值、总价最低」的组合,同一种物品可以重复;
- 未指定件数时,一次给出 1~5 件的全部方案,并框出性价比最高的那一档;
- 单件价格用 tarkov.dev 的 24 小时成交均价,并随件数递增 2% 的保守系数;
- 行情缓存 6 小时,启动后每 10 分钟后台预热一次。
安装
使用 NB-CLI:
nb plugin install nonebot-plugin-efthelper
或在 pyproject.toml 的 [tool.nonebot] 里加入插件名。
插件需要 OneBot V11 适配器:
nb adapter install nonebot-adapter-onebot
配置
在 .env 中填写,全部可选:
| 配置项 | 默认值 | 说明 |
|---|---|---|
EFT_CACHE_DIR |
localstore 缓存目录 | 行情/缓存文件位置 |
EFT_HTTP_TIMEOUT |
25.0 |
HTTP 超时(秒) |
EFT_USER_AGENT |
nonebot-plugin-efthelper |
请求 UA(tarkov.dev 要求自定义 UA) |
EFT_CIRCLE_DEFAULT_THRESHOLD |
350001 |
献祭阈值,14 小时档 |
EFT_CIRCLE_MAX_ITEMS |
5 |
最多几件 |
EFT_CIRCLE_PRICE_FACTOR |
1.0 |
买 1 件时的价格系数 |
EFT_CIRCLE_PRICE_FACTOR_STEP |
0.02 |
每多一件追加的系数 |
EFT_CIRCLE_MAX_SAME_ITEM |
0 |
同一件最多几份,0 = 不限 |
EFT_CIRCLE_CARD_ENABLED |
true |
是否发送卡片图 |
EFT_CIRCLE_WARM_ENABLED |
true |
是否后台预热行情 |
EFT_CIRCLE_WARM_INTERVAL_MINUTES |
10.0 |
预热间隔(分钟) |
EFT_EFTFORGE_ENABLED |
true |
是否优先用 eftforge 取玩家档案 |
EFT_EFTFORGE_BASE |
https://www.eftforge.com |
eftforge 地址 |
EFT_EFTFORGE_KEY |
空 | eftforge 的 X-Atlas-Key(可选) |
EFT_EFTFORGE_ART_BRIGHTNESS |
0.85 |
立绘压暗系数 |
效果
- 玩家卡片:左侧角色胸像、右侧昵称/等级/转生/结局/EXP 进度条、PMC 与 SCAV 双栏战绩、成就列表;
- 邪教圈卡片:按件数列出献祭组合、购买成本与节省额,金额统一卢布符号。
许可证
MIT
Metadata
Release files for nonebot-plugin-efthelper 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_efthelper-0.1.1.tar.gz | 84.9 kB | Without provenance | Details for nonebot_plugin_efthelper-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_efthelper-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_efthelper-0.1.1-py3-none-any.whl |
Total release size: 176.2 kB
Release files / nonebot_plugin_efthelper-0.1.1.tar.gz
| Download URL | nonebot_plugin_efthelper-0.1.1.tar.gz |
|---|---|
| Size | 84.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2087ac628446067e4d7d67b84b532a8a2f72acc0bfbe686f773356b053961e7f
|
|
BLAKE2b-256 checksum How to use checksums |
dbdc0eaea7ab05cddfe608f300e6384a99fb689c9f3b54d4dc5cff0a186acced
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / nonebot_plugin_efthelper-0.1.1-py3-none-any.whl
| Download URL | nonebot_plugin_efthelper-0.1.1-py3-none-any.whl |
|---|---|
| Size | 91.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
778ec48d3f4424675b16c0f2a619e0937bbe06491e2922699e21bbe8175ed715
|
|
BLAKE2b-256 checksum How to use checksums |
a63fd06c29248adaaf8f3a260d0d8bfd497a860e46e17dc39d55c4b506967d51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Security for nonebot-plugin-efthelper 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.