koishi-plugin-bf6stat
v0.0.7
Published
战地6 (Battlefield 6) 玩家战绩查询插件
Downloads
67
Maintainers
Readme
koishi-plugin-bf6stat
战地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注意事项
- 玩家名称区分大小写: 请确保输入正确的玩家名称
- API 来源: 本插件使用 GameTools API
许可证
MIT License
