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-lottery-lizard

v0.0.3

Published

适配monetary的自定义积分彩票插件,有刮刮乐和大乐透

Readme

koishi-plugin-lottery-lizard

npm

🎲 lottery-lizard 插件使用说明

提供群聊大乐透玩法、开奖与积分分配,附赠刮刮乐小游戏!

玩法简介:

  • 每次下注消耗至少 20积分,选择 1~18 中的 7 个数字下注。
  • 前 5 个数字为“前区”(不能重复),后 2 个为“后区”(可重复)。
  • 每人可多次下注,全部独立结算。
  • 开奖后按照前区命中数量 加权分配奖池
  • 后区每猜中 1 个,固定奖励 5积分
  • 参与人数大于 3 人后,每多 1 人,奖池额外 +5积分。

指令说明:

查看当前群聊大乐透下注情况:

  • 显示当前下注次数、奖池积分、下注号码列表

进行一次大乐透下注:

  • 不输入下注的积分则默认消耗20
  • 下注后跟根据提示输入下注号码,数字范围为 1~18,前 5 个不能重复,后 2 个可重复

开奖:

  • 自动生成开奖号码,结算所有下注者的奖励,中奖与否都可获得奖池份额

示例开奖机制:

  • 前区命中 5 个:权重最高(奖池分最多)
  • 前区命中 4 个:权重其次,以此类推
  • 后区猜中每个号码:+5积分,固定奖励,不影响奖池

玩法简介:

  • 消耗积分购买一次刮刮乐,系统自动返回中奖结果。可一次购买多张
  • 限制一次最多购买数量,由于方差太大,购买数量过高时会导致盈利概率飙升
  • 可以参考控制台给出的期望方差等信息调整奖项权重设置

指令说明:

购买刮刮乐:

  • 默认购买1张,可选购买数量,即时返回结果

可以点这里创建议题~

可以请我喝可乐,没准就有动力更新新功能了~