Skip to main content

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.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-efthelper 0.1.0
File Size Uploaded Provenance Actions
nonebot_plugin_efthelper-0.1.0.tar.gz 84.6 kB Without provenance Details for nonebot_plugin_efthelper-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-efthelper 0.1.0
File Interpreter ABI Platform Actions
nonebot_plugin_efthelper-0.1.0-py3-none-any.whl Python 3 none any Details for nonebot_plugin_efthelper-0.1.0-py3-none-any.whl

Total release size: 175.6 kB

Release files / nonebot_plugin_efthelper-0.1.0.tar.gz

Download URL nonebot_plugin_efthelper-0.1.0.tar.gz
Size 84.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3cdb51e1ffe963f470309b7596e7bdeda3735649bc63e15ba6d16733d8728d1c
BLAKE2b-256 checksum
How to use checksums
87e9677191174204e83f5898ceb376c02ebc5293772caf338bc25a0341164e11
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.0-py3-none-any.whl

Download URL nonebot_plugin_efthelper-0.1.0-py3-none-any.whl
Size 91.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d77296e3dbec09c7305d4e33e64c049bac5297d5bb806036b42ae165dd624df1
BLAKE2b-256 checksum
How to use checksums
e94c18c47bd78ae0b4ef001489d8d0afc0fb1a5e44878daa6f6cd8c1cfbbf2b1
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.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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