
OpenJavascript
Плагин OpenJavascript для Майнкрафт позволяет создавать меню, команды, системы и целые плагины на JavaScript. С поддержкой Folia и мультипоточности - без компиляции и перезапусков сервера.
Оцените первым
2.3K
25
Список изменений
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.
Файлы
openjs-1.3.2.jar(2.36 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.3.2
Загрузчики
FoliaPaperPurpur
Версии игры
1.18–1.21.11
Загрузок
235
Дата публикации
30.01.2026
