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

koishi-plugin-toutai

v1.0.8

Published

欢迎来到投胎模拟器,你可以在这里模拟投胎到中国或世界各地,支持QQ官方MD模板、图片化输出、数据统计以及排行榜系统等。

Downloads

1,041

Readme

🚀 koishi-plugin-toutai

npm

🎐 简介

模拟投胎到中国或世界各地,支持QQ官方MD模板、图片化输出、全数据统计以及排行榜系统等。

🎉 安装

您可通过 Koishi 插件市场搜索并安装该插件。

🌈 使用

  1. 启动 Puppeteer 服务,以便生成图片。
  2. 建议在 指令管理 中为该插件添加自定义别名。

⚙️ 配置项

  • imageType: 发送的图片类型。
  • defaultMaxDisplayCount: 排行榜默认显示的人数。
  • isMapImageIncludedAfterRebirth: 是否在投胎后包含地图图片。
  • nextReincarnationCooldownSeconds: 投胎的冷却时间,单位是秒。
  • shouldPrefixUsernameInMessageSending: 是否在发送消息时加上 @用户名。
  • retractDelay: 自动撤回等待的时间,单位是秒。值为 0 时不启用自动撤回功能。
  • isTextToImageConversionEnabled: 是否开启将文本转为图片的功能(可选),如需启用,需要启用 `markdownToImage` 服务。
  • isEnableQQOfficialRobotMarkdownTemplate: 是否启用 QQ 官方机器人的 Markdown 模板,带消息按钮。
    • customTemplateId:自定义模板 ID。
    • key:文本内容中特定插值的 key。
    • numberOfMessageButtonsPerRow:每行消息按钮的数量。

🌼 指令

  • toutai: 显示投胎模拟器帮助。
  • toutai.投胎中国: 模拟投胎到中国。
  • toutai.投胎世界: 模拟投胎到世界各地。
  • toutai.中国投胎记录.总览/成功历史/地区分布/性别分布/第一次出现: 查看中国投胎记录。
  • toutai.世界投胎记录.总览/成功历史/夭折历史: 查看世界投胎记录。
  • toutai.中国投胎排行榜.成功次数/夭折次数/男孩次数/女孩次数: 查看中国投胎排行榜。
  • toutai.世界投胎排行榜.成功次数/夭折次数/亚洲/欧洲/非洲/北美洲/南美洲/南极洲/大洋洲: 查看世界投胎排行榜。
  • toutai.改名: 更改玩家名字。

🌸 测试图(部分功能)

投胎中国

db0f4138bfd833c11fdd32f49ad98b32

投胎世界

cfef361e06a5a296f0d8bb5ecc5b6dd4

性别分布

46ea7c879a8fa3501e8fc9e4cb817fac

地区分布

20bd046909b1e36ed9f0a837f5ed4e43

...

🍧 致谢

🐱 QQ 群

  • 956758505

✨ License

MIT License © 2024

希望您喜欢这款插件! 💫

如有任何问题或建议,欢迎联系我哈~ 🎈