已解决 求找个(或做)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) => {});
});
怎么换行呢?
 

在线会员

  • LeLeawa
  • HUILIYI0103
  • LELEXIAOLL
  • 净空残阳
  • 晚是帅哥
  • k kkljlk
  • joestar
  • JimmyXiao-outlook
  • mc_xiaoQAQ_
  • YUS2026
  • yi lucky
  • LanHuan
  • Shepred_T
  • OddFriend
  • recha
  • Schneider_1022
  • 黎明吖
  • 覆水难收
  • 七裳
  • JJXFCJW
...和 7 更多。
后退
顶部 底部