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.
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

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
OpenJS Update 1.0.6
-
A Wiki for OpenJS has been created. Everything is documented from the ground up, although it is not yet fully complete.
-
Added official PlaceholderAPI support.
-
Introduced a new DiskAPI system for loading and saving files.
-
Added a permission system for custom commands.
-
Fixed an issue where custom commands were not appearing.
-
Fixed scheduling not working correctly.
-
Deprecated getVar and setVar due to a memory leak, in favor of the new DiskAPI.



