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

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!

863
16
Все версииOpenJavascript 1.3.2 (Hotfix)

OpenJavascript 1.3.2 (Hotfix)

Release4 нед. назад

Список изменений

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

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

Загрузчики

Bukkit
Folia
Paper
Purpur
Spigot

Версии игры

1.13–1.21.11

Загрузок

104

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

4 нед. назад

Загрузил

ID версии

Главная