
OpenJavascript
Create custom menus, commands, plugins, systems, basically anything with scripts in Javascript! With multithreading and Folia support! Everything is fully documented in the documentation!
OpenJavascript 1.3.2 (Hotfix)
release31 января 2026 г.This release is just a hotfix, containing crucial fixes and new features.
General Fixes & Improvements
- Migrated from Nashorn 15.6 to 15.7 for better JavaScript compatibility and performance.
- Reduced plugin file size by
~1,000KBthrough code cleanup and a complete rewrite of theUpdateChecker. - Fixed an error where
task.bindToUnloadwould crash because the plugin attempted to schedule tasks during the shutdown sequence. - Resolved a
ConcurrentModificationExceptionthat occurred when destroying an inventory immediately upon a player closing it.
Custom-Menus Api Updates
- Menu.setTitle(String): Added the missing
setTitlemethod. - Setting any Menu/Inventory slot to
nullnow automatically converts it to Air instead of throwing a null pointer error.
FileManager Api Updates
The FileManager service has received a few new methods
New Methods:
getFile(path): Retrieves a specific file.removeFile(path): Deletes a file.getFolder(path): Retrieves a directory.removeFolder(path): Deletes a directory and its contents.getFiles(path): Returns an array of all files within the specified folder.
FileManager path prefixes for easier navigation:
..(Parent Directory): Jump up one level out of the current folder./(Script Root): Quickly reference the directory where your script is currently located.- Example:
FileManager.getFiles("/");returns everything in the script's local folder.
OpenJavascript 1.3.0
release12 января 2026 г.Improvements
- Fixed DiskApi issues that caused unexpected behavior
- DiskApi now removes datastore entries when values are
NULL - DiskApi now persists active files on script reload
- Fixed rare ConcurrentModificationException issues when:
- Registering commands
- Syncing commands
- Improved error handling: script exceptions now log as ERROR instead of WARN
- All scripts now unload before any other shutdown logic
- Scripts unload asynchronously on the main thread, allowing tasks to finish safely
Additions
- Completely rewritten script management & I/O system
- Significantly reduces unnecessary disk operations
- Added official folder support for scripts
- Scripts are automatically loaded when added while the server is running
- Added requireScript
- Introduced global
[script]class - Fixed scripts failing to load via command due to parsing errors
- Added
task.bindToUnload(function)to register unload handlers - Yielding operations now block unload until execution completes
- Cache behavior improved:
- Cache drops only after I/O operations complete
- Fully handled automatically by scripts
APIs & Services improvements
-
Introduced Services API
- ProtocolLib and PlaceholderAPI are now service-based
-
PlaceholderAPI improvements:
- Fully thread-safe (fixes random unregister issues)
- OfflinePlayer support
- Parsing support for offline players
-
Added FileSystem Service
-
Added InventoryApi service for simplified menu & inventory management
-

Commands & Runtime fixes
- Refactored addCommand / registerCommand
- Added
removeCommand(commandName)- Allows scripts to override existing plugin commands
Deprecations
- Added
importClass()for runtime class importing - Deprecated
//!import xxx.xxxin favor ofimportClass() - Deprecated feature flags / service flags
Configuration & Automation
- Added
autoReloadScriptsconfig option- Toggle automatic reload when scripts change or are added
Threading & more Folia Support
- Added
task.thread(function)for parallel execution- This means you can multithread scripts on non-Folia servers now
- Services and PlaceholderAPI are now fully thread-safe
Documentation
- Added "Advanced Guides" section that also explains how to use the new folder support
- Reconstructed everything to find APIs and Methods faster
- Added 3 new example scripts: Food Bait, Nuke Menu and Spawn Menu
- All old example scripts have been updated to use the latest non deprecated methods
OpenJavascript 1.2.0 ( Biggest update )
release31 июля 2025 г.OpenJS v1.2.0
Major Changes
- Added official internal support for ProtocolLib
- Introduced BridgeEngine system for external plugin bridges
- Task library now supports creating Java listeners/proxies from scripts
- Universal cleanup system for listeners and proxies
- PlaceholderAPI support now lazy-loads for better performance
- Ported PlaceholderAPI integration to the new BridgeEngine system
Fixes
- Commands now properly unregister
- Fixed placeholders being unregistered after PlaceholderAPI reload
- Fixed
nullFailed to unregister all script commandserror - Fixed missing script source name in rare ghost error cases
- Fixed missing tab-completion for the
versioncommand
Optimizations
- Minimized IO operations during script loading
- Improved error catching to prevent script freezing
- Removed feature flag limitations
Additions
- Added removePlaceholder(String prefix) for scripts
- Added new commands:
/documentationand/page - Added missing unregisterEvent() method
Documentation
- Updated and extended documentation:
- Added missing entries: getMethod, removePlaceholder, ProtocolLib
- Split into cleaner sections to reduce clutter
- documented how to make scripts interact with external plugins
- added script example that modifies packets to create custom fluids
Sorry for the update delay, I'm currently working on my driving license.
Thanks for your patience and enjoy the update.
OpenJavascript 1.1.0 (Huge update)
release28 июня 2025 г.Update Log
- Rewritten the async system for full Folia compatibility
- Now finally stable on Folia, a major milestone
- Introduced a new task library: simpler, more intuitive, and fully cross-platform compatible
- Added support for loading
.jarfiles directly into scripts - Upgraded from ECMAScript 5.1 to ECMAScript 6.0
(Modern JavaScript features are now available in OpenJS) - Implemented script security enforcement
- Completed documentation for all previously half-documented components
- added new example script that runs a local ai with the new features
- registerEvent can now take functions directly instead of having to put them in a array
We also have a dedicated server now
Need help or want to share your scripts?
Join our Discord for support and discussion

OpenJavascript 1.0.7
release28 мая 2025 г.Small patch with new additions
-
Fixed Schedules not unregistering on Folia Servers
-
Fixed Plugin breaking if PlaceholderApi is not installed
-
Fixed /oj reload command on Folia servers
-
Added Bstats opt-out option in the configuration file
-
Fixed a few weird errors that only occurred on Folia servers
-
Fixed the no hit cooldown example script causing errors
-
Added 2 new example scripts: hitstand script & Knockback-stick script to the documentation
-
Fixed Bstats silently failing to load on Folia servers
