已解决 求找个(或做)LLBDS公告个插件

有没有可能你可以找魔法先生定制 :evil:
 
JavaScript:
"use strict";

const path = "plugins/Notice/notice.txt";
if (!File.exists(path)) File.writeTo(path, "");
mc.listen("onJoin", (pl) => {
    const fm = mc.newSimpleForm();
    fm.setTitle("公告");
    const notice = File.readFrom(path);
    fm.setContent(notice);
    pl.sendForm(fm, (_pl, _arg) => {});
});
大佬太牛逼了吧??
 
JavaScript:
"use strict";

const path = "plugins/Notice/notice.txt";
if (!File.exists(path)) File.writeTo(path, "");
mc.listen("onJoin", (pl) => {
    const fm = mc.newSimpleForm();
    fm.setTitle("公告");
    const notice = File.readFrom(path);
    fm.setContent(notice);
    pl.sendForm(fm, (_pl, _arg) => {});
});
怎么换行呢?
 

在线会员

  • bast_l
  • 卖饼翁
  • 秦羽
后退
顶部 底部