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-adventure-game

v1.0.2

Published

一个很好玩的(确信)克苏鲁风格文字冒险游戏插件

Downloads

62

Readme

Koishi 冒险游戏插件

一个为 Koishi 设计的冒险游戏插件,支持探索、收集物品、战斗和商店系统。

安装

# 使用 npm
npm install koishi-adventure-plugin

# 使用 yarn
yarn add koishi-adventure-plugin

# 使用 pnpm
pnpm add koishi-adventure-plugin

功能介绍

  • 探索系统:探索不同的地图,发现新的区域和资源
  • 物品系统:收集、使用和合成各种物品
  • 战斗系统:与怪物战斗,获取经验和物品
  • 商店系统:购买和出售物品
  • 积分系统:通过各种活动获取积分,用于购买物品或升级
  • 签到系统:每日签到获取奖励

命令列表

本插件支持中英文命令,所有命令均以 adventure冒险 为前缀。

基础命令

  • adventure / 冒险 - 开始冒险游戏

状态相关命令

  • adventure.status / 冒险.状态 - 查看角色状态
  • adventure.points / 冒险.积分 - 查看当前积分
  • adventure.checkin / 冒险.签到 - 每日签到获取奖励

物品相关命令

  • adventure.inventory / 冒险.背包 - 查看背包物品
  • adventure.use <item> / 冒险.使用 <物品> - 使用物品
  • adventure.craft <item> / 冒险.合成 <物品> - 合成物品

商店相关命令

  • adventure.shop / 冒险.商店 - 查看商店
  • adventure.buy <item> / 冒险.购买 <物品> - 购买物品

地图相关命令

  • adventure.map / 冒险.地图 - 查看地图
  • adventure.goto <location> / 冒险.前往 <地点> - 前往指定地点
  • adventure.explore / 冒险.探索 - 探索当前区域

帮助命令

  • adventure.help / 冒险.帮助 - 查看帮助信息

配置选项

在 Koishi 配置文件中,可以对插件进行以下配置:

export interface Config {
  // 初始积分
  initialPoints: number
  // 每日签到奖励
  dailyReward: number
  // 探索冷却时间(秒)
  exploreCooldown: number
  // 商店刷新间隔(小时)
  shopRefreshInterval: number
}

使用示例

> 冒险
欢迎来到冒险游戏!输入 冒险.帮助 查看更多命令。

> 冒险.签到
签到成功!获得 100 积分。

> 冒险.地图
当前可用地图:
1. 新手村
2. 森林
3. 洞穴

> 冒险.前往 森林
你已经来到了森林。

> 冒险.探索
你在森林中探索,发现了一个宝箱!获得:木材 x3,草药 x1。

> 冒险.背包
你的背包:
- 木材 x3
- 草药 x1
- 小刀 x1

> 冒险.商店
商店物品:
1. 治疗药水 - 50积分
2. 铁剑 - 200积分
3. 皮甲 - 150积分

> 冒险.购买 治疗药水
购买成功!花费 50 积分购买了治疗药水。

许可证

MIT