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-mcmotd-custplugin-canvas

v0.3.10

Published

一个不依赖于API查询 Java Edition / Bedrock Edition 服务器信息的Koishi插件(canvas 版)

Downloads

182

Readme

koishi-plugin-mcmotd-custplugin-canvas

npm

一个不依赖于API查询 Java Edition / Bedrock Edition 服务器信息的Koishi插件(canvas 版)

文档请参考 npm koishi-plugin-mcmotd-custplugin

更改如下

  1. 更换 koishi-plugin-skia-canvaskoishi-plugin-canvas
  2. 新增指令 mfonts 及其子指令 列表重置,用于查看可支持的字体和导入的字体、重置字体库
  3. 设置内增加 自定义字体列表,可以添加字体名称及其对应路径,根目录默认为koishi(本项目实例)。 例如:
    • familyName: HarmonyOS Sans SC
    • fontPath: fonts/HarmonyOS_Sans_SC_Regular.ttf 其中fonts文件夹就在该项目实例之下(得自己手动新建一下文件夹)

更新日志

0.3.10

修改

  • 明确日志中提示加载的字体为第三方字体。

0.3.9

修复

  • 图信息中第四排中间出现的乱码符号。(是个制表符,现已更换为空格)

修改

  • 按照功能和命令重新细分代码结构。

0.3.8

修复

  • 无法导入第三方字体的BUG。(实测0.3.7并未完全修复)

0.3.7

修复

  • 无法导入第三方字体的BUG。

0.3.6

修复

  • 因实现导入自定义字体功能而导致插件在没启用koishi-plugin-canvas时显示插件启动失败的BUG。