koishi-plugin-mcmotd-custplugin-canvas
v0.3.5
Published
一个不依赖于API查询 Java Edition / Bedrock Edition 服务器信息的Koishi插件(canvas 版)
Downloads
206
Maintainers
Readme
koishi-plugin-mcmotd-custplugin-canvas
一个不依赖于API查询 Java Edition / Bedrock Edition 服务器信息的Koishi插件(canvas 版)
文档请参考 koishi-plugin-mcmotd-custplugin
更改如下
- 更换
koishi-plugin-skia-canvas
为koishi-plugin-canvas
- 新增指令
mfonts
及其子指令列表
和重置
,用于查看可支持的字体和导入的字体、重置字体库 - 设置内增加
自定义字体列表
,可以添加字体名称及其对应路径,根目录默认为koishi(本项目实例)。 例如:- familyName: HarmonyOS Sans SC
- fontPath: fonts/HarmonyOS_Sans_SC_Regular.ttf 其中fonts文件夹就在该项目实例之下(得自己手动新建一下文件夹)