我使用buildPlugin
和 buildPluginLegacy
重新编译了一份
Posts made by Dituon
-
RE: Petpet - 生成各种奇怪的图片
配置文件中有
headless
配置项,默认为false
更改为true
- 打开
Mirai/config/petpet/PetPet.yml
- 将
headless: false
更改为headless: true
常见问题:
Could not initialize class java.awt.Toolkit?
对于无输入输出设备的服务器 需要启用headless - 打开
-
RE: Petpet - 生成各种奇怪的图片
Linked class org.w3c.dom.Node in Plum-1.0-SNAPSHOT.mirai.jar but plugin not depend on it.
检查
Plum-1.0-SNAPSHOT.mirai.jar
-
RE: Petpet - 生成各种奇怪的图片
@q981612327 jvm参数
java -Xmx1G -Dfile.encoding=utf-8 -jar mcl.jar