ModsFinder

NetworkJS-Reloaded

by INITIALFOX

NetworkJS-Reloaded lets KubeJS scripts on a NeoForge server make HTTP requests and query PostgreSQL databases, with network access off until an operator turns it on.

NeoForgeServer-side onlyMIT LicenseOpen source1.21.1

What it does

Once an operator enables it with the networkjs enable command, server scripts can fetch data from web endpoints or talk to a Discord bot, using both synchronous and asynchronous request helpers. Database access goes through postgresQuery and postgresExecute, and the mod builds the JDBC URL from the settings it reads, so scripts only pass queries.

Scripts live under the server root, one file per world, and are loaded from the kubejs folder inside the world directory. Helpers for broadcasting colored messages and reading the player list are included. In singleplayer the integrated server must run the same enable step before database queries work. Requires the KubeJS addon for NeoForge 1.21.1, which needs KubeJS 2101.7.1 or newer, and a newer NeoForge build for 1.21.1. The mod is open source under the MIT License and is published for NeoForge only, for 1.21.1.

Key features

  1. HTTP requests from scripts

    Scripts can fetch URLs synchronously with fetch or asynchronously with fetchAsync, for calls to web services and Discord bots.

  2. PostgreSQL access

    Scripts read and write a PostgreSQL database through two helpers, one for queries and one for statements that change data.

  3. Off by default

    Network access stays disabled until an operator runs the enable command, so scripts cannot reach outside hosts without a deliberate choice.

  4. Per-world server scripts

    Each world loads its own server script file, and the same scripts run on a dedicated server or in singleplayer.

Compatibility

Latest build for each game version and loader.

1.21.11.2.0
ReleaseBetaAlphaNot available

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

How it compares

Full comparison

KubeUI is a NeoForge mod for 1.21.1 – 26.1.2 under the MIT License and runs on client and server, so both sides need it. NeoGeckoJS is NeoForge 1.21.1 only, runs on client and server, and uses a custom license that is not open source. Box3JS is NeoForge 1.21.1 with an Apache License 2.0 and is optional on either side, so a server can run it without clients installing it. NetworkJS-Reloaded is server-side only, so players join without installing anything.

ModLoadersGame versionsEnvironmentUpdated
NetworkJS-ReloadedNeoForge1.21.1Server-side only2026-05-23
KubeUINeoForge1.21.1 – 26.1.2Client and server2026-08-10
NeoGeckoJSNeoForge1.21.1Client and server2026-06-15
Box3JSNeoForge1.21.1Client or server, optional2026-05-22

Questions

Does NetworkJS-Reloaded need KubeJS?

Yes. It works with the KubeJS addon for NeoForge 1.21.1, which requires KubeJS 2101.7.1 or newer.

Do players need to install NetworkJS-Reloaded?

No. Players join without it, since only the server has to run the mod.

Why do database queries fail in singleplayer?

Network access is off until the networkjs enable command is run. Run it first, then reload scripts with kubejs reload server.

How does the server reach PostgreSQL?

The PostgreSQL server must accept connections from the Minecraft server IP, which may require editing pg_hba.conf and opening the firewall.

In the catalog

NetworkJS-Reloaded is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 32,366 mods support Minecraft 1.21.1.

Similar mods

What the author says

NetworkJS Reloaded is a server-side addon for KubeJS on NeoForge 1.21.1. It lets your KubeJS server scripts make HTTP requests, connect to a Discord bot, and run SQL queries against PostgreSQL. You write logic in JavaScript under kubejs/server_scripts like any other KubeJS script. Scripts can live at the server root…
INITIALFOX, on the Modrinth page

Official listing

Owner
INITIALFOX
Published
2026-05-23
Updated on Modrinth
2026-05-23
Facts verified
2026-10-15

Tags