Unofficial site, not affiliated with modrinth.com.What is this?
Плагины/OpenJavascript
Все версии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.

Метаданные

Канал релиза

Release

Номер версии

1.3.2

Загрузчики

Folia
Paper
Purpur

Версии игры

1.13–1.21.11

Загрузок

219

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

4 мес. назад

Загрузил

ID версии

Главная