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-bella-sign-in

v2.1.4

Published

[![npm](https://img.shields.io/npm/v/koishi-plugin-bella-sign-in?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-bella-sign-in)

Readme

koishi-plugin-bella-sign-in

更新本插件前请停止本插件

npm

贝拉bot的自用签到插件
参考:

配置说明

1、随机横图api目前只支持网络url,是必填项
2、签到积分随机最大范围(最小为1)

插件说明

  • 1、每次签到获得的积分可自定义
  • 2、目前有10个签到等级对应关系如下

| 等级 | 积分线 | 说明 | |-----|---------|---------| | 1 | 1000 | 1->2 级 | | 2 | 3000 | 2->3 级 | | 3 | 7000 | 3->4 级 | | 4 | 15000 | 4->5 级 | | 5 | 30000 | 5->6 级 | | 6 | 50000 | 6->7 级 | | 7 | 80000 | 7->8 级 | | 8 | 170000 | 8->9 级 | | 9 | 350000 | 9->10级 | | 10 | 800000 | 10级封顶 |

  • 3、抽奖的中奖概率为40%,中奖倍率以及概率如下
    0.2 0.5 0.8 1.2 1.5 2.0倍率的概率都是1/9, 3.0倍率的概率是5/90, 4.0倍率的概率是3/90
  • 4、打工获得积分的公式是:(有效时间(分钟)/2)*等级

积分迁移至通用货币

  1. 将本插件更新至2.1.0及以上版本
  2. 安装 monetary 插件并启用,使用权限等级大于等于3的管理员对着bot使用命令" bella-tranferData "即可完成迁移
  3. 迁移命令仅需运行一次即可,本插件币种为"Bella"

注意

插件内置4张涩图,可以开箱即用
imgurl支持本地文件夹绝对路径和http(s) url直接返回图片的api
随机文件夹内图片时请注意路径`C:/user/path/to/`不要把后面的/忘了

CHANGELOG

2.1.4

优化

  • html新增渲染结束块,以便检测html是否已经完全渲染,确保背景图片能正确输出

2.1.3

新增

  • 新增图片渲染输出质量配置项,输出的图片终于小多了
  • 图片输出质量拉到顶时输出png格式,无损

2.1.1

修复

  • 修复了因多次同步monetary导致重复添加货币的问题

2.1.0(unpublished)

更新

  • 接入通用货币系统 monetary,需要安装monetary插件并启用
  • 新增了bella-tranferData命令,使用权限大于等于3级的管理员对bot发送该命令,bot会自动将签到数据同步到通用货币系统
  • 该插件币种为Bella

2.0.6

修复

  • 修复了签到系统中商店购买长时间不输入内容会触发多次的问题
  • 修复了积分补充的权限问题

2.0.4

更新

  • 更新了版本号(bushi)

修复

  • 修复文件不见了的问题

2.0.2

更新

  • 更新了版本号(bushi)

修复

  • 修复渲染图片完成后报错的问题

2.0.1

修复

  • 修复签到时本次获得积分随机的问题

2.0.0

重构

  • 重构了代码,把index.tsx中的命令整合成class signin
  • 重构了UI,UI布局参考了Omega Miya的签到插件
  • 重构了imgurl的配置,可以使用本地文件夹绝对路径了

新增

  • 新增了jryspro的运势
  • 新增了 “排行榜” 命令

修复

  • 修复了不配置imgurl无法使用的问题

1.0.6

新增

  • 加入了callme,可以调用callme了

1.0.4

修正

  • 适配了一下新版本

1.0.2

修正

  • 修正表示错误,修正文本错误
  • 最高打工时间应该为9h

修改

  • 积分商店可以连续购买了!(最多5次)

1.0.1

修复

  • 把1.0.0的问题修复了

1.0.0

更新

  • 把版本号更新到1.0.x(仅此而已)

新增

  • 新增积分商店命令, 目前只有两个商品可以购买
  • 新增等级,增加到10级了

变化

  • 打工系统稍微有点变化:可以购买打工时长增加卡和打工积分翻倍卡

0.4.1

修改

  • 修改了命令格式: /givepoint (count) (user)无用户则为自己补充
  • 修改了负数判断,可以为负数

0.4.0

更新

  • 更新一条命令: bella/givepoint 给目标>count<积分

修改

  • 修改了点日期的ui

0.3.4

修改

  • 修改count,判断抽奖积分是否小于0,小于则无效 我不知道为什么你们的负数会被判定成正整数

0.3.3

修改

  • 修改抽奖概率为自定义,中奖(抽中倍率)概率可以自定义了,概率详情如下见v0.3.2

0.3.2

修改

  • 修改小瑕疵
  • 修改抽奖概率为6,4分,中奖概率为6,概率详情如下:
    0.2 0.5 0.8 1.2 1.5 2.0 倍率的概率都是1/9, 3.0倍率的概率是5/90, 4.0倍率的概率是3/90 1.0倍率概率是(1/9)+(1/18)+(7/90)
    最后,祝大家玩的开心=^v^=

0.3.1

修改

  • 限制渲染图大小减小渲染时间,不知道为甚么,我明明限制的360px渲染出来的图却是720px的
  • 改了点shi山

v0.3.0

新增

  • 新增打工系统

修改

  • 由于判断私聊api使用的是新的api所以决定将兼容版本往上提

(-->下面日志也别看了<--)

v0.0.1

发布了第一个版本

  • 暂无配置项
  • 贝拉bot(作者的bot)定制
  • v0.x.x

v0.0.2

修改

  • 修改了一下一言的字体大小
  • 将主指令改为层级指令

v0.1.0

新增

  • 加入了赌狗系统
  • 加了个shishan函数

修改

  • 改动了一点shishan代码

v0.1.1

修改

  • 把一些冗长的代码简化了

v0.2.0(已废弃)

增加

  • 新增横图api配置项
  • 新增可自定义签到最大最小值

修改/修复

  • 改了下进度条UI
  • 修复下签到成功次数和总积分不增加的问题
  • 改了下等级数值

v0.2.1(已废弃)

修改

  • 修改了一下下逻辑错误

v0.2.2

修改

  • 修改了致命错误,我最大最小值没改!