Adds JavaScript scripts directly on the server!
JavaScript support directly on the server for your Minecraft events.
A highly flexible mod for script-based events.

Coding directly in Minecraft.
// Script Type (once or loop)
scriptType("loop");
// log in server console
log("=== PING-PONG Script start! ===");
// chat events
on("chat", (msgText, p) => {
if (msgText === "!ping") {
let w = World.overworld();
//print in ActionBar
actionbar(p, "pong!");
}
});
ScriptAPI documentation is available here.
Thanks to Froska729 for creating the mod icons!❤️