ModsFinder

JavaScriptJS

by yiran1457

JavaScriptJS is a Forge utility that lets KubeJS scripts create, read, check and delete files from the game's directories.

ForgeClient or server, optionalGNU General Public License v3.0 or laterOpen source1.19 – 1.20.6

What it does

Scripts run through KubeJS can write a JavaScript file to disk, and the mod creates any missing parent directories before writing. The same applies to JSON files, so a script can save generated data as structured output. A helper finds the paths of all JSON or JS files inside a given directory, which lets a script list what it has to process.

Before any file operation runs, the mod checks that the file suffix is on its allowed list. A script can also check whether a file exists before it reads or deletes it. Deletion is available as its own operation. Because the functions are exposed to KubeJS, the mod has no screens or commands of its own and is used only from scripts.

JavaScriptJS requires KubeJS. It is published for Forge only, in 12 release versions 1.19 – 1.20.6. Either side can run it, and neither needs it, so it works on a client alone, a server alone or both. The code is released under the GNU General Public License v3.0 or later and is open source.

Key features

  1. Write JavaScript files

    Scripts can write a JavaScript file to a chosen path through KubeJS.

  2. Suffix filtering

    File operations are allowed only for suffixes on the mod's list, which limits what scripts can touch.

  3. Check and delete

    Scripts can test whether a file exists and remove a file when it is no longer needed.

Compatibility

Latest build for each game version and loader.

1.20.x7 of 7 versions with builds
1.20.62001-1.0.1
1.20.52001-1.0.1
1.20.42001-1.0.1
1.20.32001-1.0.1
1.20.22001-1.0.1
1.20.12001-1.0.1
1.202001-1.0.1
1.19.x5 of 5 versions with builds
1.19.42001-1.0.1
1.19.32001-1.0.1
1.19.22001-1.0.1
1.19.12001-1.0.1
1.192001-1.0.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

KubeJSEdit recipes, add new custom items, script world events, all in JavaScript!
Required

Use cases

Generated data files

A pack script can produce JSON data files at build or startup and store them in nested folders without creating the folders by hand.

Batch processing

A script can list every JS or JSON file in a folder and run a step on each one.

Who it’s for: Modpack authors and server owners who write KubeJS scripts that need to read or write files on disk.

How it compares

Full comparison

Global Server Config is server-side only, open source under The Unlicense, and covers 1.18.2 – 1.20.4 on Forge, so it does not overlap with JavaScriptJS's version range beyond 1.20.4. KubeJS ProjectE Fork is a Forge fork for 1.20.1 that runs on client and server and is open source under the MIT License, while GeckoJS is also Forge-only for 1.20.1, client and server, and open source under the GNU Lesser General Public License v3.0 only.

ModLoadersGame versionsEnvironmentUpdated
JavaScriptJSForge1.19 – 1.20.6Client or server, optional2025-04-17
Global Server ConfigForge1.18.2 – 1.20.4Server-side only2024-03-21
KubeJS ProjectE ForkForge1.20.1Client and server2024-07-13
GeckoJSForge1.20.1Client and server2024-02-25

Questions

Does JavaScriptJS need KubeJS?

Yes. KubeJS is a required dependency, and the functions of JavaScriptJS are called from KubeJS scripts.

Does the server need JavaScriptJS?

No. Either side can run it, and neither needs it, so installing it on the server alone is enough, and clients may also run it.

Which game versions does JavaScriptJS support?

Forge files exist for 12 versions 1.19 – 1.20.6, with 2001-1.0.1 for 1.20.6 as the latest file.

In the catalog

JavaScriptJS is one of 36,990 Utility mods on ModsFinder, and one of 14,575 Utility mods for Forge. 11,154 mods support Minecraft 1.20.6.

More from yiran1457

All projects

Similar mods

Official listing

Owner
yiran1457
Published
2025-04-17
Updated on Modrinth
2025-04-17
Facts verified
2026-10-15

Tags