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

koishi-plugin-fishing-game

v1.0.4

Published

功能丰富的钓鱼插件,包含钓鱼、背包、商店和图鉴系统

Readme

Koishi 钓鱼插件

一个基于 Koishi 框架的钓鱼游戏插件,用户可以通过钓鱼获取不同稀有度的鱼类,并管理背包中的鱼类。

功能

  1. 钓鱼功能

    • 用户可以通过命令 钓鱼 开始钓鱼。
    • 钓鱼会消耗鱼饵,并有冷却时间限制。
    • 钓到的鱼类有不同的稀有度和重量,影响其价值。
  2. 背包管理

    • 用户可以通过命令 背包 查看当前背包中的鱼类。
    • 背包有容量限制,可以通过升级钓鱼竿提升容量。
  3. 鱼类出售

    • 用户可以通过命令 出售 将背包中的鱼类出售为金币。
    • 支持按名称出售指定鱼类或一键出售所有鱼类。
  4. 鱼类图鉴

    • 记录用户钓到的每种鱼类的数量、最大重量和首次捕获时间。

安装

  1. 确保已安装 Koishi 框架。
  2. 将插件目录复制到 Koishi 的插件目录中。
  3. 在 Koishi 配置文件中启用插件:
    plugins:
      fishing: true

配置

插件支持以下配置项(可在 Koishi 配置文件中设置):

  • cooldown:钓鱼冷却时间(毫秒),默认 30000
  • baitCost:每次钓鱼消耗的鱼饵数量,默认 1
  • backpackLimit:背包容量限制,默认 50

命令

  • 钓鱼:开始钓鱼。
  • 背包:查看背包中的鱼类。
  • 出售 [fishName]:出售背包中的鱼类,支持 -a 选项一键出售所有鱼类。

鱼类数据

插件内置了多种鱼类,每种鱼类有以下属性:

  • id:唯一标识符。
  • name:鱼类名称。
  • rarity:稀有度(commonuncommonrareepiclegendary)。
  • basePrice:基础价格。
  • minWeightmaxWeight:重量范围。
  • description:鱼类描述。

示例

🎣 你抛出了鱼竿...
🎉 钓到了一条鱼!
✨ 鲤鱼 ✨
📏 重量: 1.5 kg
💰 估价: 15 金币
📝 常见的淡水鱼,味道鲜美

后续计划

  • 添加更多鱼类和稀有度。
  • 支持钓鱼竿升级和鱼饵购买功能。
  • 增加成就系统。

贡献

欢迎提交 Issue 或 Pull Request 改进插件!