▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/OpenJavascript
OpenJavascript

OpenJavascript

Плагин OpenJavascript для Майнкрафт позволяет создавать меню, команды, системы и целые плагины на JavaScript. С поддержкой Folia и мультипоточности - без компиляции и перезапусков сервера.

Оцените первым
2.3K
25
Все версииOpenJavascript 1.3.2 (Hotfix)

OpenJavascript 1.3.2 (Hotfix)

Release30.01.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,000KB through code cleanup and a complete rewrite of the UpdateChecker.
  • Fixed an error where task.bindToUnload would crash because the plugin attempted to schedule tasks during the shutdown sequence.
  • Resolved a ConcurrentModificationException that occurred when destroying an inventory immediately upon a player closing it.

Custom-Menus Api Updates

  • Menu.setTitle(String): Added the missing setTitle method.
  • Setting any Menu/Inventory slot to null now 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

Загрузчики

Folia
Paper
Purpur

Версии игры

1.18–1.21.11

Загрузок

235

Дата публикации

30.01.2026

Загрузил

ID версии

Главная