CoderJSLoader 1.2.0

Ultra-lightweight native JavaScript execution for Coder

Latest Lightweight 12 KiB
Download
Download Addon

Download the latest CoderJSLoader jar for your server.

Download .jar
View Repository

View the repository of this addon on GitHub.

View Repo
System Requirements
  • Server: Paper 1.21+
  • Java: OpenJDK 21 – 25
  • Coder Plugin: v1.3.6 or newer
Compatibility Note: CoderJSLoader targets the Coder v1.3.6 API. It may work on newer versions but is not guaranteed.
Features
  • Native .js Extension Parsing: No file masking or workarounds — just type /coder run script.js and it works
  • Pre-Baked API Variable Injections: Automatically maps bukkit (Server instance), api (Coder API handle), and sender (Command Executor) into every script's scope
  • Pure Performance Engine: Powered by a shaded Mozilla Rhino JSR-223 runtime that is highly optimized and easy on server RAM
  • Remapper Protection: Built using the modern paper-plugin.yml layout to completely bypass Mojang's plugin remapper bytecode corruption and Error T10 security blocks
  • Ultra-Lightweight: The entire addon weighs in at just 12 KiB — one of the smallest scripting addons for Coder
Available Script Variables
Variable Description
bukkitBukkit Server instance
apiCoder API handle
senderCommand executor (player or console)
Installation & Quick Start
Installation
  1. Drop CoderJSLoader-1.2.0.jar into your server's /plugins/ folder.
  2. Restart your server.
  3. Verify the startup console shows:
    [JS Reflection] SUCCESS! Surgically modified Coder's executor to support .js extension.
Write & Run a Script

Place .js files in /plugins/Coder/scripts/. Example hello.js:

sender.sendMessage("§a[JS Engine] Hello!");

Then run it in-game or via console:

/coder run hello.js
Release Info
Version

1.2.0

Publisher

firesmasher-c6

Size

12 KiB

Status

Stable

Built for

Coder v1.3.6+

License

MIT


Features
  • Native .js Support
  • Pre-Baked API Injections
  • Mozilla Rhino JSR-223
  • Remapper Protection
  • Java Reflection Hooks
  • Ultra-Lightweight (12 KiB)