
About this Mod
English
Added the following to KubeJS's JsonIO:
writeAndCreateDirectories- Creates parent directories when writing a JSON filefindJsonInDirectory- Can be used to find paths of all JSON files in a directory
Added JSIO:
getAllowSuffix- Check allowed file suffixes for operationsread- Read a file and return aList<String>exists- Check if a file existswrite- Write to a file and create parent directoriesdelete- Delete a filefindJSInDirectory- Can be used to find paths of all JS files in a directory
中文
向KubeJS的JsonIO里面添加了
writeAndCreateDirectories- 在写json文件的时候创建其所属的文件夹findJsonInDirectory- 可以查询一个目录下面的所有json文件的路径
添加了JSIO
getAllowSuffix- 查询允许操作的文件后缀名read- 读取一个文件返回List<String>exists- 检测一个文件是否存在write- 写入一个文件,并创建其所属的文件夹delete- 删除文件findJSInDirectory- 可以查询一个目录下面的所有js文件的路径
Available Versions
How to Install JavaScriptJS on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.6).
Install Mod
Open the mod browser in the dashboard and search for "JavaScriptJS". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.6, 1.20.5, 1.20.4 (+9 more)
Server-side
~ OptionalRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
JavaScriptJS server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.
Is JavaScriptJS compatible with forge?
JavaScriptJS officially supports forge for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with JavaScriptJS – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if JavaScriptJS consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install JavaScriptJS with just one click on your server.