跳到正文

ScriptEngine

Again Boring modification for Fabric 26.2

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Can Run .script file as commands

ScriptEngine lets you place text files in your world folder and execute them as Minecraft commands.

All Scripts must be in saves/yourworld/ScriptEngine/scripts

Example:

saves/MyWorld/ScriptEngine/scripts/startup.script
saves/MyWorld/ScriptEngine/scripts/demo.txt

Each line in the script is executed as a separate Minecraft command.

Example script:

# Example script
say Hello from ScriptEngine!
time set day
gamemode creative

Use:

/scriptengine run startup.script

The mod also automatically checks for startup.script when the world loads and runs it if it exists.

This mod is designed for Fabric 26.2 and works as a lightweight script runner without requiring heavy frameworks like Mappet.

常见问题

ScriptEngine 支持哪些 Minecraft 版本?

ScriptEngine 支持 Minecraft Java 版 26.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

ScriptEngine 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

redbuttonthere 的其他作品

查看全部 →