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 🙏

© 2026 – Pkg Stats / Ryan Hefner

poi-plugin-kc3-replay

v1.0.2

Published

Record sortie battles in poi and export them to the KC3Kai Battle Replayer

Downloads

174

Readme

poi-plugin-kc3-replay

poi 插件:自动记录出击(含演习)的战斗数据,一键导出到 KC3改 Battle Replayer 观看战斗回放动画。

灵感来自 poi-plugin-noro6-export

功能

  • 出击后自动记录每个战斗节点的昼战 / 夜战原始报文,回到母港后保存(不限数量)
  • 自动附带舰队编成(等级 / 改修 / 士气 / 装备含补强增设)、基地航空队、海域血条 / 难度信息
  • 支持普通舰队、联合舰队、演习
  • 每条记录提供四种导出方式:
    • 回放:在 poi 内新窗口直接打开 Battle Replayer
    • 浏览器打开:在系统默认浏览器中打开
    • 复制链接:链接使用 #fromLZString= 压缩编码,可直接分享
    • 复制JSON:粘贴到回放页面的 "Load from text" 使用,也可用于 KC3 模拟器 的 Import

安装

可以直接在 poi 插件设置中搜索 poi-plugin-kc3-replay 并安装。

也可以手动安装:将本目录放入 poi 插件目录并命名为 poi-plugin-kc3-replay

  • macOS: ~/Library/Application Support/poi/plugins/node_modules/poi-plugin-kc3-replay
  • Windows: %APPDATA%/poi/plugins/node_modules/poi-plugin-kc3-replay
  • Linux: ~/.config/poi/plugins/node_modules/poi-plugin-kc3-replay

无需 npm install(lz-string 已内置),重启 poi 或在插件设置中重新载入即可。

使用

  1. 启用插件后正常出击,插件会在后台自动记录
  2. 回到母港后,出击记录出现在插件面板列表中
  3. 点击「回放」即可观看战斗回放

数据说明

  • 记录保存在 poi 数据目录下的 kc3-replay-export.json
  • 回放数据格式与 KC3改 的 sortie 导出格式一致:顶层为 world / mapnum / fleetnum / combined / fleet1-4 / lbas / battles[], 其中 battles[].databattles[].yasen 为游戏原始战斗报文
  • 出击中途关闭 poi 会丢失当前未完成的记录(已保存的不受影响)

License

MIT(内置的 lz-string.js 版权归 pieroxy 所有,WTFPL)