Greasy Fork

Greasy Fork is available in English.

PPPC

Pixel Place Parallel Connections

当前为 2022-04-24 提交的版本,查看 最新版本

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/443907/1043376/PPPC.js

作者
Exnonull
版本
1.11
创建于
2022-04-23
更新于
2022-04-24
大小
4.6 KB
许可证
MIT

const scheme = JSON.parse(await PPPC.show());

await PPPC.remove(username);
await PPPC.add(username, scheme);

await PPPC.save();

const ws = await PPPC.connect(username, serverId);
ws.set(x,y,p);

await PPPC.load(?scheme);