npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

koishi-plugin-bf6stat

v0.0.7

Published

战地6 (Battlefield 6) 玩家战绩查询插件

Downloads

67

Readme

koishi-plugin-bf6stat

npm

战地6 (Battlefield 6) 玩家战绩查询插件 for Koishi

功能

  • 🎮 查询战地6玩家战绩数据
  • 📊 支持多平台:PC、PlayStation 4/5、Xbox One/Series
  • 🌐 使用 GameTools API(免费,无需 API Key)

安装

npm install koishi-plugin-bf6stat
# 或
yarn add koishi-plugin-bf6stat

配置

| 配置项 | 类型 | 默认值 | 说明 | |--------|------|--------|------| | defaultPlatform | string | pc | 默认平台 (pc/ps5/ps4/xboxseries/xboxone) | | timeout | number | 15000 | API 超时时间 (ms) |

无需 API Key:本插件使用免费的 GameTools API

使用方法

基础查询

bf6 <玩家名>

查询 PC 平台玩家的战绩。

指定平台

bf6 -p pc <玩家名>          # PC
bf6 -p ps5 <玩家名>         # PlayStation 5
bf6 -p ps4 <玩家名>         # PlayStation 4
bf6 -p xboxseries <玩家名>  # Xbox Series X|S
bf6 -p xboxone <玩家名>     # Xbox One

显示帮助

bf6.help

输出示例

🎮 战地6 玩家战绩 🇺🇸
━━━━━━━━━━━━━━━━
👤 玩家: ProPlayer123
📱 平台: PC (EA/Origin)
━━━━━━━━━━━━━━━━
📊 核心数据
  击杀: 15,234
  死亡: 8,421
  K/D: 1.81
  助攻: 3,245
  KDA: 2.19
━━━━━━━━━━━━━━━━
🏆 比赛数据
  比赛场次: 523
  胜利: 312
  失败: 211
  胜率: 59.66%
━━━━━━━━━━━━━━━━
⚡ 效率数据
  KPM: 1.23
  每分钟得分: 456
  每分钟伤害: 234
  爆头率: 18.5%
━━━━━━━━━━━━━━━━
⏱️ 游戏时长: 206h 15m
🏅 总分: 5,623,451

开发

# 安装依赖
npm install

# 构建
npm run build

# 清理
npm run clean

注意事项

  1. 玩家名称区分大小写: 请确保输入正确的玩家名称
  2. API 来源: 本插件使用 GameTools API

许可证

MIT License