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 🙏

© 2024 – Pkg Stats / Ryan Hefner

keli-signplus

v1.0.4

Published

keli 的积分签到插件升级版,在原功能基础上增加打劫功能,积分可以花出去了,兼容签到数据

Downloads

9

Readme

积分签到 for keli

npm-version dm

keli 的积分签到插件升级版,提供积分签到功能,打劫功能,支持分群、自定义积分名等。

安装

/plugin add signplus

启用

/plugin on signplus

使用

签到
积分排行
我的积分
打劫 @keli
@keli 打劫

管理员指令

签到命令保持和原插件命令一样,追加打劫命令

# 启用/禁用当前群,默认禁用
/sign on/off
# 设置数据备份群号
/sign group <备份群号>
# 给当前群对应用户(支持艾特)增加/扣除对应数的积分
/sign inc/dec <qq> <count>
# 查看今日所有群的签到统计信息
/sign stat
# 查看备份数据到群文件(需要机器人是备份群的群管理)
/sign backup
# 群员指令 打劫功能(新增)
打劫 @keli
@keli 打劫

可选配置

与``keli-sign共用data目录,积分数据目录data.json无需修改,只需要修改或者直接删除config.json`文件,即可无缝衔接签到,重载插件生效。

若之前使用过签到,存在签到数据,建议修改以下config.json,增加"gameCmd": "打劫",successTips,failTips,robbedTips只需将下面对应的三项配置复制过去即可。也可直接删除config.json,然后重载插件。

若未使用过签到插件,则无需任何修改,开箱即用。

编辑 data/plugins/keli-sign/config.json 文件,重载插件生效。

{
  // 备份群号,可以使用命令 `/sign group <群号>`
  "group": 0,
  // 积分名称
  "unit": "积分",
  // 每日随机获取的积分范围
  "range": [3, 10],
  // 启用群列表,可以使用命令 `/sign on/off`
  "enableGroups": [],
  // 排行榜显示最大人数
  "max": 6,
  // 成员相关命令
  "cmds": {
    // 签到命令
    "sign": "签到",
    // 排行榜命令
    "rank": "积分排行",
    // 积分查询命令
    "mine": "我的积分",
    //打劫命令
    "gameCmd": "打劫"
  },
  //打劫 成功/失败/反被抢 提示词
  "successTips": [
    "⭐⭐⭐⭐⭐⭐⭐⭐\n打劫成功,获得【[c]】[u]!\n当前[u]数量【[s]】\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n不讲武德,啪的[r]声很快啊\n获得【[c]】[u]!\n当前[u]数量【[s]】\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n歪比歪比歪比巴卜\n获得【[c]】[u]!\n当前[u]数量【[s]】\n⭐⭐⭐⭐⭐⭐⭐⭐"
  ],
  "failTips": [
    "⭐⭐⭐⭐⭐⭐⭐⭐\n此树是我栽,此路是我开...\n哎呀呀,一不小心就让对方逃了\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n对方正在天台吹风,要一起吗!\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n对方喝了过期的牛奶蹲厕所中!\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n对方吃了老坛酸菜蹲厕所中!\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n己方吃了华莱士蹲厕所中!\n晚点再去试试看\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n对方在练习御剑飞行,要一起吗!\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n对方暂时不在家,\n晚点再试试看吧!\n⭐⭐⭐⭐⭐⭐⭐⭐"
  ],
  "robbedTips": [
    "⭐⭐⭐⭐⭐⭐⭐⭐\n对面是一个1米9的大汉,\n打不过只能乖乖交出【[c]】[u]求放过!\n当前[u]数量【[s]】\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n对方的[u]有毒,快去请如来佛祖...\n丢失【[c]】[u]!\n当前[u]数量【[s]】\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n对方集齐了七龙珠召唤出神龙\n快去请如来佛祖...\n丢失【[c]】[u]!\n当前[u]数量【[s]】\n⭐⭐⭐⭐⭐⭐⭐⭐",
    "⭐⭐⭐⭐⭐⭐⭐⭐\n由于对方未带口罩...\n己方丢失【[c]】[u]!\n当前[u]数量【[s]】\n⭐⭐⭐⭐⭐⭐⭐⭐"
  ]
}

注意: 配置中不能带有注释,此处注释仅用作解释说明。