ArcLib Bukkit
ArcLib brings the Arc headless runtime and Rhino JavaScript API to Bukkit, Spigot and Paper servers.
Installation
Place arclib-bukkit-1.0.0.jar in the server's plugins/ directory and restart the server. Java 17 or newer is required; newer Minecraft server versions may require a newer Java runtime. Arc and Rhino are bundled, so no additional runtime library downloads are required.
This release targets Bukkit, Spigot and Paper on Minecraft 1.20.1, 1.21.1, 1.21.11 and 26.2. It is a server plugin and does not provide client rendering. Folia, proxy servers, hot reload and hybrid servers loading both the ArcLib mod and plugin are not supported.
API for plugin developers
Declare depend: [ArcLib] in your plugin's plugin.yml and use ArcLib as a compile-only dependency. Do not embed another copy of Arc or Rhino.
The plugin supplies Core, ArcLib.scripts(), headless lifecycle and tick events, and Core.app.post() for work on the server thread. Settings are stored in plugins/ArcLib/; local file paths resolve against the server working directory. Disabling ArcLib cancels its scheduled tick and disposes the runtime.
Source and license
Source code and API documentation: https://github.com/squi2rel/ArcLib
ArcLib is licensed under Apache-2.0. This is the Bukkit plugin edition of ArcLib; the Fabric, Forge and NeoForge editions remain available in the existing ArcLib mod project.

