
EmakiCoreLib | Script-Powered Modular Plugin Framework
The unified core library for the Emaki plugin suite — action engine, JavaScript scripting, and cross-plugin infrastructure.
Оцените первым
244
0
Список изменений
EmakiCoreLib 4.0.0 Release
A major update introducing a JavaScript scripting engine, reversible item modification system, and new built-in actions for the Emaki plugin family.
New Features
- JavaScript Scripting Engine: Execute custom
.jsscripts via therunjsaction (aliases:runscript,javascript). Scripts access player data, trigger context, item info, random utilities, shared state, and action dispatch via the built-inemakiglobal object. Powered by GraalJS with configurable timeout (default 1000ms), content-hash caching, and security sandboxing. dropitemAction: Drop items at specified world coordinates with relative coordinate support and all item source types (vanilla / CraftEngine / ItemsAdder / Nexo).placeblockAction: Place blocks at specified coordinates, supporting vanilla and custom blocks. Properly firesBlockPlaceEventfor compatibility with other plugins.- Item Operation Ledger: Reversible item name/lore modification system stored in item PDC. Supports precise single-operation revert or batch revert by namespace. Provides unified text modification infrastructure for gem socketing, strengthening, forging, etc.
- EmakiAttribute Bridge API: Stable interface for soft-depending on EmakiAttribute — read resources, consume resources, query attribute values, and invoke the damage pipeline.
- Enhanced Condition System: New
none_ofcondition type and nested condition groups (type: group) for combiningall_of/any_of/none_ofin complex logic.
Improvements
- Config and language files auto-merge new keys on upgrade without manual editing.
- YAML loading errors now show specific error messages and file locations in console.
- Item text read/write uses legacy format for better compatibility with plugins using traditional color codes.
Upgrade Notes
- Config version updated to
4.0.0with newscriptsection (auto-merged on upgrade). - Script engine enabled by default; set
script.enabled: falseto disable. - Script files are placed in
plugins/EmakiCoreLib/scripts/— categorized subdirectories and example scripts are auto-created on first startup.
View Full Documentation | Join Discord Community | QQ Group
Файлы
EmakiCoreLib-4.0.0.jar(584.53 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
4.0.0
Загрузчики
PaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
45
Дата публикации
11.05.2026
