KubeX

Quick rating

Community listing page, reviews here may not be monitored by the author.

KubeX

By wheedo07Owner

No reviews yet

Development toolkit for KubeJS with dedicated workspaces, Rhino compatibility and source-level debugging.

Mod Loaders
Minecraft

About

Description

KubeX

KubeX is a development workspace for KubeJS.

It keeps your source code in kubex/, builds it with esbuild, converts the output for Rhino/KubeJS, and synchronizes the final files into kubejs/.

Features

  • JavaScript and TypeScript workspace setup
  • /kubex init js and /kubex init ts
  • /kubex build runs npm install when needed, then npm run build
  • /kubex sync publishes scripts, assets, data, and config to KubeJS
  • Rhino compatibility post-processing
  • Source map support and /kubex doctor
  • Debug mode for callback errors
  • Optional rebuild and sync when the game server starts
  • /kubex export creates a standalone KubeJS mod JAR

ProbeJS

KubeX works with ProbeJS.

ProbeJS handles typings and editor metadata. KubeX copies .probe, .vscode, and jsconfig.json into the workspace when available, then handles the build and runtime workflow.

Export

/kubex export packages the compiled workspace as a separate mod.

The exported JAR requires KubeJS, but does not require KubeX. It includes processed KubeJS scripts, assets, data, and a small plugin that loads the scripts from the JAR.

Requirements

  • KubeJS
  • Node.js for workspace builds

Commands

/kubex init js
/kubex init ts
/kubex build
/kubex sync
/kubex export
/kubex debug on
/kubex debug off
/kubex doctor <group> <line> [column]