ModsFinder

EventJS

by ZZZank

EventJS replaces the native event listening method in KubeJS so that event listeners can be reloaded without restarting the game, and it is built for Forge.

ForgeClient and serverGNU General Public License v3.0 or laterOpen source1.16.5 – 1.20.1

What it does

Normally a KubeJS script that listens to a Forge event stays registered until the whole game restarts. EventJS adds a reloadable native events layer: a listener can be added, changed or removed while the game runs, and a reload applies the change. The layer is exposed as NativeEvents and is available in three script types, client, server and startup, so a listener can be limited to the side where it has to run. A client-only listener in a client script never fires on the server.

The mod requires KubeJS, and it is published only for Forge, across two release versions: 1.16.5 and 1.20.1. The latest file is 1.4.0 for 1.20.1, released on 2025-05-27. Installation covers the server and each player's game. The code is open source under the GNU General Public License v3.0 or later, and the source code and issue tracker are public.

Key features

  1. Reloadable native events

    Forge event listeners set up in scripts can be reloaded without relaunching the game.

  2. NativeEvents in three script types

    The NativeEvents API works in client, server and startup scripts, so each listener runs where it is declared.

  3. Sided event listening

    A listener written in a client script only fires on the client, and one in a server script only fires on the server.

  4. No new scripting to learn

    Existing KubeJS scripts keep their event syntax, and the reloadable layer is used by installing the mod.

Compatibility

Latest build for each game version and loader.

1.20.11.4.0
1.16.51.4.0
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

Who it’s for: Pack developers and server owners who use KubeJS scripts for Forge events on Minecraft 1.16.5 or 1.20.1 and want to avoid full restarts while editing listeners.

Questions

Does EventJS need KubeJS to run?

Yes. KubeJS is a required dependency, and EventJS works by replacing how KubeJS registers native Forge events.

Does EventJS have to be installed on both sides?

Yes. A server running it needs every connecting player to have it too.

Which game versions does EventJS cover?

Files exist for 1.16.5 and 1.20.1. The latest file is 1.4.0 for 1.20.1.

In the catalog

EventJS is one of 36,990 Utility mods on ModsFinder, and one of 14,575 Utility mods for Forge. 34,764 mods support Minecraft 1.20.1.

More from ZZZank

All projects

Similar mods

What the author says

is a KubeJS addon that adds reloadable native events for KubeJS. By default, EventJS will replace the original native event listening method to make it reloadable. So you actually don't need to learn anything new in order to use EventJS, just install it and you Forge event listening is reloadable now.
ZZZank, on the Modrinth page

Official listing

Owner
ZZZank
Published
2025-05-27
Updated on Modrinth
2025-05-27
Facts verified
2026-10-15

Tags