JavaScriptJS

JavaScriptJS

allow kubejs write js file

by
2.1K Downloads
forgeutility
Rent Server with this Mod

About this Mod

English

Added the following to KubeJS's JsonIO:

  • writeAndCreateDirectories - Creates parent directories when writing a JSON file
  • findJsonInDirectory - Can be used to find paths of all JSON files in a directory

Added JSIO:

  • getAllowSuffix - Check allowed file suffixes for operations
  • read - Read a file and return a List<String>
  • exists - Check if a file exists
  • write - Write to a file and create parent directories
  • delete - Delete a file
  • findJSInDirectory - Can be used to find paths of all JS files in a directory

中文

KubeJSJsonIO里面添加了

  • writeAndCreateDirectories - 在写json文件的时候创建其所属的文件夹
  • findJsonInDirectory - 可以查询一个目录下面的所有json文件的路径

添加了JSIO

  • getAllowSuffix - 查询允许操作的文件后缀名
  • read - 读取一个文件返回List<String>
  • exists - 检测一个文件是否存在
  • write - 写入一个文件,并创建其所属的文件夹
  • delete - 删除文件
  • findJSInDirectory - 可以查询一个目录下面的所有js文件的路径

Available Versions

JavaScriptJS 2001-1.0.1release
MC 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
April 17, 2025

How to Install JavaScriptJS on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.6).

3

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

forge

Minecraft Versions

1.20.6, 1.20.5, 1.20.4 (+9 more)

Server-side

~ Optional

Recommended 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.

Rent Modded Server

Install JavaScriptJS with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 or later
Server-side
Optional

Supported Versions

1.20.61.20.51.20.41.20.31.20.21.20.11.201.19.41.19.31.19.2+2 more