EmakiCoreLib | Shared Runtime for the Emaki Series
4.8.0One pipeline syntax, one item-source identity and one pre-check for every Emaki module.
4.8.0latestEmaki CoreLib 4.8.0Aug 31, 2026 Added
- Weighted action branches, restricted JavaScript stages, logical item matchers, shared material allocation, PDC conversion tools, and trigger registration/dispatch APIs.Changed
- PDC writes use flattened keys with non-destructive legacy migration. - Shared execution, scheduling, UI, persistence, and configuration boundaries follow the current lifecycle and owner-thread contracts.Breaking Changes
- Legacy action conversion, configured-item conversion, and obsolete script/trigger entry points were removed; migrate integrations to the current pipeline, matcher, and trigger APIs.Upgrade Notes
- Upgrade CoreLib before dependent modules, back up all data, run/corelib pdc-convert all --dry-run, and stage-test actions, matchers, triggers, scripting, and Folia ownership.4.7.0Emaki CoreLib 4.7.0Aug 11, 2026 Added
- Vanilla dialog support, built on the server's own dialog capability, so a plugin can show a screen with explanatory text, input fields and buttons. Needs a client on 1.21.6+; older clients are unverified. Newdialogblock:dialog.enabled(defaulttrue) is the master switch,dialog.directory(defaultdialogs) is the definition folder relative toplugins/EmakiCoreLib/, and every.ymlin it is loaded. - A heavily commented sample definition inside the plugin jar,dialogs/example_notice.yml, covering the three types (noticeone button,confirmationyes/no,multi_actionseveral), body text and inputs, the four button actions (none,command_template,run_command,open_url), and thecan_close_with_escape,pauseandafter_actionswitches. The sample is not written out to your data folder: create your own.ymlfiles in the folder named bydialog.directory(defaultplugins/EmakiCoreLib/dialogs/) and use the one in the jar as a reference. A definition missing a required inputkeyor its buttons is reported and skipped at load time. Plugins can also embed dialogs in their own config files, parsed the same way. - Newdisplayblock, the shared layer behind floating text and displayed items, used by damage indicators, cooking station text and item displays.display.backend(defaultauto):bukkitspawns real entities visible to everyone nearby with no extra plugin,packetsends virtual entities that stay out of the world save, use no server entities and can be shown to specific players only (needs PacketEvents on 1.19.4+),autouses packets when PacketEvents is present,inheritfollowsgui.backend. An unavailable packet backend always falls back tobukkit.display.view_distance_blocks(default48) anddisplay.refresh_interval_ticks(default20) apply to the packet backend only. - Newgui.click_interval_ms(default100ms), a minimum interval between menu clicks that stops autoclickers and macros from settling the same click twice. Normal clicking never trips it, a blocked click is dropped safely so the menu stays consistent and the player sees no message, and0disables it. Above500is not recommended. Both menu backends honour it. - Newminimessage.default_no_italic(defaulttrue). Vanilla italicises item names and lore, so with this on every Emaki text (menu item names and lore, menu titles, chat messages, dialogs) renders upright unless italics are written out. It is a default, not a lock:<i>and<italic>still work. - Newvanilla_languageblock for server-side vanilla item and block names, needed by anything that localises them server-side such as searching storage by name.vanilla_language.enableddefaults tofalse; turning it on downloads the language file from Mojang's official asset index once, caches it inplugins/EmakiCoreLib/lang-cache/and never goes online again. A failed download does not stop the server.vanilla_language.locale(defaultzh_cn) matches the client language file names. - Newaction.pipelineblock, all three limits checked at config load time, with an over-limit config rejected in favour of the last working one rather than quietly lowered:action.pipeline.max_repeat_times(default100) capsevery <interval> times <count>and thetimesargument ofstart_task,action.pipeline.max_sequence_depth(default8) caps nestedruncalls, andaction.pipeline.max_branch_depth(default16) caps nestedif ... [ ... ]. - Item lore can expand across multiple lines: a line holding nothing but one placeholder whose value is a list becomes several lines. Applies tominecraft:loreonly. - Readable diagnostics for a broken action line, pointing at line and column, naming what is missing and which values are accepted, and reporting how many more problems remain on the same line. Bare internal key names are no longer printed.Changed
- Every Emaki plugin uses a new action syntax, and you do not have to rewrite anything yourself. Near the end of startup CoreLib rewrites the.ymlconfigs in everyplugins/folder whose name starts withEmaki, once only, then drops a hidden.action-v2-migratedmarker inplugins/EmakiCoreLib/. Each edited file keeps the original beside it with a.legacy-backupsuffix, written once and never overwritten. Conversion only touches Emaki's own folders and skipslang/directories. - Every converted line is compiled before installation. Lines that pass are rewritten, lines that do not are left exactly as they were, and the console lists the file, line and reason for each. If no line in a file passes, the original is untouched and the result goes into a separate.v2-failedfile. While any line is rejected or any file could not be read or written, the marker is withheld so the next update retries. The console prints a report of files and lines changed plus every skip and failure; a server already fully converted prints no summary. - Syntax changes, using CoreLib's ownaction.templatessample:
- Action names gained underscores:# old - 'sendmessage text="<green>got %result_item_name%</green>"' - '@delay=10t playsound sound=minecraft:entity.experience_orb.pickup volume=0.8 pitch=1.2' # new - 'self | send_message text="<green>got %var.result_item_name%</green>"' - 'self | after 10t | play_sound sound=minecraft:entity.experience_orb.pickup volume=0.8 pitch=1.2'sendmessage→send_message,playsound→play_sound,spawnparticle→spawn_particle,givepotioneffect→give_potion_effect,runcommandasconsole→run_command_as_console. - Each line starts with a segment naming who it acts on:self,inherited,looking_at,nearby,trigger. Omitted meansself. One per line, and it must come first. Segments are separated by|and run left to right. Akeepsegment hands the selected targets to a later phase, which reads them back withinherited. - Old line prefixes became segments:@delay=10t→after 10t |,@chance=0.3→chance 0.3 |,@if='cond'→where cond |.@ignore_failureis gone and unnecessary, since continuing past a failed segment is the default. - Real branches useif <condition> [ ... ], optionally withelse [ ... ]. Automatic conversion never emits brackets: it turns@ifintowhere, because the old syntax had no else arm. - Durations carry a unit suffix, soticks=200→duration=200t. Units aret,sandms; a bare number counts as ticks. - Placeholders were renamed:%player%and%player_name%→%caster.name%,%player_uuid%→%caster.uuid%,%player_world%→%caster.world%,%player_x%%player_y%%player_z%→%caster.x%%caster.y%%caster.z%,%target_name%→%target.name%,%target_uuid%→%target.uuid%,%has_target%→%target.present%. - Your own variables are written%var.name%; a bare%name%is rejected at load time with a message saying what to write. Aset name=valuesegment writes variables mid-pipeline, and theexpressionfield of a variable definition is nowvalue. - Calling a named sequence changed from@template=nametorun name key=value. - Four old actions need editing by hand; the converter recognises them and says so in the console:loopsyncandloopasync→start_task,cancelloop→stop_task,usetemplate→run <sequence>. Loop parameters changed too:mode=replace→on_conflict=replace,stop_if_offline→stop_when_offline.start_taskalso acceptsstop_when_dead,stop_when,stop_on_failure,initial_delayandkey. - What used to beaction.loop.templatesare now named sequences, called withrun nameand optionalkey=valuearguments. A sequence line that does not compile is named in the console, that sequence is unavailable and the rest still work. -/corelib action runtakes a whole pipeline line instead ofrun <actionId> key=value ..., for example `/corelib action run self |4.6.0Emaki CoreLib 4.6.0Jul 27, 2026 Added
- 15 built-in actions usable in any action list:giveitem,takeitem,setitem,damageitem,repairitem,setblock,breakblock,explosion,ignite,extinguish,feed,killentity,spawnentity,bossbarshow,bossbarhide. -/corelib actionwithaction listandaction run <actionId> [key=value ...]to inspect and directly fire registered actions. -/corelib debug all on|off|statusruntime global debug toggle, backed by the new config keydebug.global_all(defaultfalse). - Unified gameplay event layer: one shared listener republishes kill / block break / block place / craft / fish / tame / brew / furnace-extract / MythicMobs-kill events to dependent Emaki plugins, configured through the newgameplay_eventsblock (enableddefaulttrue,last_damager_expire_ticks200,brew_attribution_expire_ticks6000). - Configured-item / item-component pipeline for config authors and API consumers, plus a shippeditem-components.ymlcatalog documenting eachminecraft:*component id, itssinceversion, and accepted format. - EcoItems as an item source, declared as an optional soft dependency. - Config keyrelease_default_data(defaulttrue); setfalseto stop writing the bundledscripts/examplessample files. - Shared chat-input service so plugins can ask a player to type a value in chat outside a GUI. - Localizable config precheck output instead of hardcoded English. - AdditiveEmakiCoreLibApisurface: compatibility report, configured-item create/apply, item component capabilities, and third-party action registration. All previously released methods still exist.Changed
- GUI click vocabulary expanded from 3 to 11 types:CLICK,LEFTCLICK,RIGHTCLICKplusSHIFT_LEFTCLICK,SHIFT_RIGHTCLICK,MIDDLECLICK,DOUBLECLICK,NUMBER_KEY,SWAP_OFFHAND,DROP,CONTROL_DROP. - The packet GUI backend resolves click types explicitly, so its click types match the Bukkit backend across the full vocabulary. -script.enableddefault flippedtrue->false; JavaScript is now opt-in. -script.server_api.enableddefault flippedtrue->false; scripts calling the server API need it re-enabled explicitly. - Runtime library loading now uses Paper's official plugin-loader classpath API instead of injecting jars at enable time. - bStats is shaded into the plugin instead of shipping as a separate bundled runtime-library jar. No config key change. - Message prefix switched to a new brand gradient. - Descriptor migrated fromplugin.ymltopaper-plugin.ymlwith a loader entry; soft-depends became structured server dependencies.api-versionraised1.21->1.21.8. Java target unchanged at 25. - Commands are no longer declared in the descriptor; the root command plus thecorelib/emakicorealiases register at runtime. Owner-facing usage is unchanged.Fixed
- Config precheck messages were hardcoded English and ignored thelanguagesetting; they now route through language keys present in bothen_US.ymlandzh_CN.yml.Removed
- The built-in Web Console, including its bundled frontend, theweb-console.ymlresource, and the wholeweb_console:config block (host, port, auth username/password, session timeout, security mode, request body limit, allowed modules, config-browser limits, history/snapshot settings). - The commands/corelib web(aliaseswebconsole,url,link) and/corelib webdebug [frontend|backend|all]. - The permissionemakicorelib.web, including its child entry underemakicorelib.admin. - The language sectionsweb_console:andweb_debug:and their keys; custom language files carrying them now have dead entries. - Support for plain Spigot. Paper or a Paper fork is required.Notes
- Update CoreLib before the other Emaki plugins that depend on it. - Upgrade actions: delete the staleweb_console:block andweb-console.yml, removeemakicorelib.webgrants, re-addscript.enabled: trueandscript.server_api.enabled: trueif scripting was in use, and confirm the server is Paper 1.21.8+. - Servers below 1.21.8 are out of contract.folia-supported: truewas already declared before this release. - Back upplugins/EmakiCoreLib/before updating production, then verify GUI clicks, action triggers, and/corelib debug all status.4.5.0Emaki CoreLib 4.5.0Jul 14, 2026 Added
- Public CoreLib Action API for third-party custom action registration with owner/source cleanup. - More built-in actions for boss bars, blocks, entities, inventory, held items, item repair/damage, and item give/take flows. - Shared gameplay-event channel used by modules such as Codex and Level. - EcoItems item source support. - Manifest v2 Web Console platform with module manifests, schemas, diagnostics, plugin API capabilities, and stale reload cleanup. -/api/web/*aggregation and diagnostics endpoints.Improved
- Command suggestions now appear immediately after typing the root command plus a space. - Refactored Web Console CONFIG and SCRIPT surfaces. - bStats is now bundled and relocated inside CoreLib instead of a separate runtime module. - Migrated topaper-plugin.ymland Paper command registration. - Hardened scheduler, async, and localized item text handling.Notes
- Update CoreLib before other Emaki plugins. - Requires Paper-family 1.21.8+ behavior. - Breaking: Action aliases were removed; use canonical action IDs. -showachievementtoastis now provided by EmakiCodex. - Install plugin jars on the server; API jars are only for developers.4.4.0Emaki CoreLib 4.4.0Jun 29, 2026 Added
- Config precheck on startup and reload, with a console report and/emakicorelib check; failed prechecks cancel the reload and keep the previous config. - Loop actions (loop-sync / loop-async / cancel-loop) with interval, iteration, and concurrency limits. - Packet GUI backend that reuses the same window across row changes, switchable viagui.backend(bukkit / packet / auto); packet only needs PacketEvents. - Oraxen item source and block bridge support, shared by all modules. - Public Bukkit event infrastructure with cancellable subscriptions and per-plugin cleanup. - JavaScript extensions: custom conditions, expression functions, host object proxies, and script text APIs, plus/emakicorelib script. -checkanddebugsubcommands for/emakicorelib.Fixed
- Fixed item rebuilds wiping Lore and custom names added by other plugins. - Fixed huge values being zeroed out when output in scientific notation by the expression engine. - Fixed enchanted/starred item names losing translatable text. - Fixed low-frequency stability issues around action registry, PDC null inputs, cache diagnostics, and cached preview items.Refactored
- Switchable GUI backend abstraction (bukkit / packet); default behavior unchanged. - Packet GUI backend split out then merged back, now built-in (needs PacketEvents).Improved
- Per-module debug log prefixes and externalized debug text. - Centralized runtime library and bStats handling.Notes
- Update CoreLib before other Emaki plugins. - Breaking:web_console.security.allow_config_write→web_console.security.mode(defaultreadonly). - Breaking: script action aliasesrunscript/javascriptremoved; userunjs. - Breaking: legacy condition/GUI/Mythic-bridge fields removed; migrate to the new structure. - New softdepends (Oraxen, PacketEvents) and new config keys; compare or regenerate your config.4.3.0Emaki CoreLib 4.3.0Jun 16, 2026 Added
- Web Console Insight search, reference tracking, and dependency graph views. - Web Console history snapshots, diffs, and confirmed rollback support. - Plugin read-only/preview API routes. - Layered item preview infrastructure. - Shared condition blocks. -language: "zh_CN"in the default CoreLib config.Fixed
- CoreLib config now includes and applies thelanguagekey. - Fixed wildcard glob paths being used instead of concrete child files. - Fixed custom editor surface path resolution. - Fixed nested list editor layout issues. - Fixed hex color preview support for MiniMessage. - Fixed item operation replay during Assembly rebuilds.Refactored
- Split Web Console styles into focused modules. - Refactored document path resolution and extension host exports. - Refactored shared condition and item preview pipelines.Improved
- Better Web Console layout, responsive behavior, field outlines, and editors. - Better localized file titles and descriptions. - Centralized runtime library and bStats handling.Notes
- Update CoreLib before other Emaki plugins. - Change language inplugins/EmakiCoreLib/config.yml.4.2.0Emaki CoreLib 4.2.0Jun 5, 2026 CoreLib v4.2.0 is mainly a foundation update. Scripts are more modular, runtime libraries are cleaner, and shared Web Console behavior is more consistent across the Emaki series.Highlights
- Newemaki.module("...")script access style. - Global JavaScript actions, placeholders, controlled Bukkit event scripting, and CoreLib MythicMobs JS mechanics. - Versioned config/language update notices during startup.Improved
- Centralized bStats and runtime library handling in CoreLib. - Friendlier display names for managed item sources. - More consistent shared Web Console editors.Notes
- Review custom scripts before updating production servers. - Update CoreLib before the other Emaki plugins.4.1.0Emaki CoreLib 4.1.0Jun 2, 2026 EmakiCoreLib v4.1.0
Built-in Web Console, Folia scheduler support, unified placeholder syntax, and more.
---
#### Built-in Web Console Manage all Emaki plugin configurations directly from your browser. The web console provides: - GUI Editor — visually edit YAML-based GUI configurations - Item Editor — configure custom items with a structured interface - Source Code Editor — CodeMirror-powered editor with syntax highlighting - YAML Preview — real-time preview of parsed YAML output - Multi-language I18n — full internationalization support - Theme Switching — light and dark themes - File Version Control & Search — track changes and find files quickly - Extension System — sub-plugins can register their own editors declaratively #### Folia Scheduler Support EmakiCoreLib now fully supports Folia servers. All async task scheduling has been refactored to use a unified scheduler, ensuring compatibility and stability across both Paper and Folia environments. #### Unified Placeholder Syntax All placeholders now consistently use theNew Features
%variable%wrapping format, eliminating the previous mix of different placeholder styles. #### Random Character Variables New support for random, weighted-random, and conditional character variables, enabling more dynamic and varied lore text and messages. #### Equipment Slot Matching New equipment slot matching logic with proper attribute and skill activation handling, ensuring equipment effects only apply to their intended slots. #### Recipe Completion Conditions A new condition system allows executing additional checks and actions after a recipe is completed. #### Item Component Inspection A new command for inspecting item persistent data, useful for debugging custom item configurations. #### General Resource Files Support for extracting resource files from JARs, making it easier to distribute templates and example configurations.
- Fixed Web Console incorrectly loading CONFIG files as structured YAML through glob paths. - Fixed number input field issues and improved session management.Bug Fixes
- Refactored the condition system with unified variable and action naming conventions. - Unified async task scheduling, replacing scattered task handles with a consistent interface. - Refactored the item operation ledger and debug logging system with unified debug support. - Cleaned up large amounts of redundant comments and deprecated code. - Optimized cache usage and code reuse across modules.Improvements
4.0.0Emaki CoreLib 4.0.0May 11, 2026 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. - `dropitem` Action: Drop items at specified world coordinates with relative coordinate support and all item source types (vanilla / CraftEngine / ItemsAdder / Nexo). - `placeblock` Action: 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: Newnone_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 to4.0.0with newscriptsection (auto-merged on upgrade). - Script engine enabled by default; setscript.enabled: falseto disable. - Script files are placed inplugins/EmakiCoreLib/scripts/— categorized subdirectories and example scripts are auto-created on first startup. [View Full Documentation](https://jiuwu02.github.io/Emaki_Series/) | [Join Discord Community](https://discord.gg/FV4GFQbvCM) | [QQ Group](https://qm.qq.com/q/GqGrzHp0wU)3.5.1Emaki CoreLib 3.5.1May 4, 2026 EmakiCoreLib 3.5.1 Release
This release fixes MiniMessage rendering for item display names and lore on standard Spigot API by improving the bridge between Adventure Components and Bukkit ItemMeta string fields. - Fixed MiniMessage tags not rendering when item display names and lore are written through CoreLibItemTextBridge. - Converted Adventure Components to Spigot-compatible legacy section strings before writing to BukkitItemMeta#setDisplayNameandItemMeta#setLore. - Read existing item display names and lore from legacy section strings back into Adventure Components for consistent CoreLib text handling. - No Paper API is introduced; standard Spigot API compatibility is preserved.Upgrade Notes
- Existing Emaki plugins built for EmakiCoreLib 3.5.0 generally do not need to be re-released; updating CoreLib to3.5.1is recommended. - Plugins that directly inspect BukkitItemMeta#getLore()withoutItemTextBridgemay now see legacy§color strings for newly written item lore instead of raw MiniMessage tags. [View Full Documentation](https://jiuwu02.github.io/Emaki_Series/) | [Join Discord Community](https://discord.gg/FV4GFQbvCM) | [QQ Group](https://qm.qq.com/q/GqGrzHp0wU)3.5.0Emaki CoreLib 3.5.0May 4, 2026 EmakiCoreLib 3.5.0 Release
This release improves the shared runtime used by the Emaki plugin family, with new MythicMobs action support, EmakiItem source integration, GUI item improvements, and expression parsing cleanup. - Addedcastmythicskillas a built-in CoreLib action. - Added MythicMobs as a soft dependency and fail-safe runtime provider. - Added EmakiItem to the shared item source registry. - Improved GUI item construction for custom item sources. - Split and refined expression parsing rules. - Removed deprecated resource cleanup behavior during default file synchronization.Upgrade Notes
- MythicMobs is required only when usingcastmythicskill. - Retest custom formulas and action scripts if they rely on complex numeric parsing. [View Full Documentation](https://jiuwu02.github.io/Emaki_Series/) | [Join Discord Community](https://discord.gg/FV4GFQbvCM) | [QQ Group](https://qm.qq.com/q/GqGrzHp0wU)3.4.0Emaki CoreLib 3.4.0Apr 28, 2026 EmakiCoreLib 3.4.0 Dev Update
This dev update adds a custom block bridge system, refactors the PDC attribute API away from reflection, and replaces all reflection-based item source resolvers with direct plugin API calls. - Custom block bridge: newCustomBlockBridgeinterface shared by CraftEngine, ItemsAdder, and Nexo. Returns safe defaults when the plugin is not installed. - PDC attribute API refactor:ReflectivePdcAttributeGateway→PdcAttributeGateway, now discoversPdcAttributeApivia BukkitServicesManager. - Item source resolver refactor: allReflective*resolvers replaced with direct API calls. CraftEngine resolver listens toCraftEngineReloadEventfor auto-refresh. - Skill PDC gateway rename:ReflectiveSkillPdcGateway→SkillPdcGateway. - Caffeine library declaration: added toplugin.ymllibraries for automatic download, fixingNoClassDefFoundErroron pure Spigot servers.Upgrade Notes
No upgrade notes. [View Full Documentation](https://jiuwu02.github.io/Emaki_Series/) | [Join Discord Community](https://discord.gg/FV4GFQbvCM) | [QQ Group](https://qm.qq.com/q/GqGrzHp0wU)3.3.0EmakiCorelib 3.3.0Apr 25, 2026 EmakiCoreLib 3.3.0
EmakiCoreLib 3.3.0 refreshes the shared baseline used by the entire Emaki suite. This release standardizes versioned YAML files around theversionkey, moves the build baseline to Java 25, updates the economy integration wording toExcellentEconomy, and continues tightening common runtime utilities used by Forge, Strengthen, Gem, Cooking, Attribute, and Skills. - Unified version fields: versioned config and language resources now useversionas the current schema key. - Java 25 baseline: the parent build and module dependency line now target Java 25 and CoreLib 3.3.0. - Economy integration refresh: the current soft-dependency wording targets ExcellentEconomy while Vault support remains available. - Reusable action templates: shared action lists can be called through@template, reducing duplicated success/failure feedback in upper modules. - Runtime cleanup: caching, async helpers, expression evaluation, GUI parsing, text bridges, and YAML utilities received maintenance and performance-focused cleanup. - Integration-ready foundation: PlaceholderAPI, MMOItems, and CraftEngine hooks continue to serve downstream Emaki modules.Upgrade Notes
- Use Java 25 for this release. - Replace customconfig_versionorlang_versionfields withversion. - Update old CoinsEngine deployment copy to the current ExcellentEconomy wording where relevant. - Move repeated action lists into templates when you maintain larger configs. [View Full Documentation](https://jiuwu02.github.io/Emaki_Series/) | [Join Discord Community](https://discord.gg/FV4GFQbvCM) | [QQ Group](https://qm.qq.com/q/GqGrzHp0wU)3.2.0EmakiCorelib 3.2.0Apr 24, 2026 EmakiCoreLib 3.2.0
EmakiCoreLib 3.2.0 is the release that fully consolidates the Emaki suite around the newer structured-presentation runtime, the unified vanilla item-source syntax, and the lighter runtime loading path. The most visible benefit for administrators is not a single flashy mechanic, but a cleaner base: layered name and lore rendering is more stable, rollback flows are more precise, vanilla item and block sources now follow one shared shorthand rule, CraftEngine-backed block matching has a proper bridge in CoreLib, and runtime libraries are no longer carried through the old bundled packaging path. - Structured presentation is now the main display path. The old item-presentation compiler, editor, and lore-search insertion chain were removed in favor of the newer template, validation, and rendering stack. - Layer removal is explicit now, and the cooking namespace is wired in. Item assembly can remove one or multiple layers directly, and CoreLib now registers the cooking namespace for downstream rebuild, rollback, and cleanup flows. - Vanilla source parsing is now standardized. CoreLib only acceptsminecraft-,mc-,v-, or bare vanilla identifiers for item and block sources, while the legacyminecraft:item_idformat is no longer treated as a valid source input. Runtime shorthand output is normalized to theminecraft-item_idstyle. - CraftEngine block integration is cleaner. CoreLib now exposes a reusable CraftEngine block bridge, and both GUI preview building and item-source resolution share the same vanilla material parsing path. - Item text handling is more reliable. The text bridge preserves translation-key based names and provides stable helpers for effective names, plain text, and hover-linked display output. - Runtime packaging and YAML loading were simplified. Adventure platform libraries, serializers,exp4j, andboosted-yamlare now loaded through Spigotlibraries, the previous bundled Gson / SnakeYAML path has been cleaned out, and YAML IO is consolidated around BoostedYaml.Upgrade Notes
- Migrate any remainingminecraft:item_iditem or block source entries tominecraft-item_id,mc-item_id,v-item_id, or a bare vanilla id. - Migrate any remaining legacy display editing configs tostructured_presentation. - Make sure the server environment can resolve the declared Spigot runtime libraries on first boot. - If your deployment still carries older defaults-based resource layouts, re-check them against the current bootstrap synchronization path instead of relying on the removed legacy migration behavior.[View Full Documentation](https://jiuwu02.github.io/Emaki_Series/) | [Join Discord Community](https://discord.gg/FV4GFQbvCM) | [QQ Group](https://qm.qq.com/q/GqGrzHp0wU)
3.1.0EmakiCorelib 3.1.0Apr 16, 2026 EmakiCoreLib Changelog
[3.1.0] - 2026-04-16
Added
- Added sharedAbstractEmakiPlugin,AbstractConfigurableEmakiPlugin,BaseAppConfig, and a reusableGuiTemplateLoaderso gameplay modules can share one runtime, config, and GUI template foundation. - AddedItemSourceService.displayName,InventoryItemUtil, andPlayerSessionMapto unify item display-name lookup, inventory counting/removal, and per-player session tracking.Improved
- Refactored the reflective CraftEngine, ItemsAdder, MMOItems, NeigeItems, and Nexo item resolvers behind shared base classes so availability checks, loaded-state detection, and fallback behavior stay consistent. - UpdatedGuiService,GuiSession,GuiTemplateParser, andItemComponentParserto supportsounds.left_click/sounds.right_click,hide_tooltip, andtooltip_display, while tightening session switching during async GUI rendering. - Normalized item-source comparisons and text bridging sominecraft:prefixes,itemName, vanilla translation keys, and custom names all flow through one display pipeline.Fixed
- Fixed a race where an older GUI session could overwrite a newer one after async rendering completed, reducing stale pages, orphaned sessions, and mismatched close callbacks. - Fixed item-name handling so it no longer depends ondisplayNameonly;itemNameand vanilla translated names now work without relying on runtime-specific APIs. - Fixed vanilla item-source matching when one side used aminecraft:prefix and the other did not.3.0.0EmakiCorelib 3.0.0Apr 12, 2026 EmakiCoreLib 更新日志 / Changelog
中文版
- 物品文本桥接:新增特性
ItemTextBridge.java新增 - 提供跨版本文本 API 兼容性支持 - 确保在不同 Paper/Spigot 版本间的文本显示一致性 - MiniMessages 支持:MiniMessages.java新增/增强 - 新增 MiniMessage 格式解析支持 - 提供更丰富的文本格式化能力 - IndexedLineInsertActionParser: 新增 Lore 插入解析器 - 支持从顶部/底部插入 Lore 行 - 支持统计行插入模式 - 生命周期框架: 新增抽象生命周期协调器 -AbstractLifecycleCoordinator.java: 抽象基类 -RuntimeComponents.java: 运行时组件抽象 - 服务注册表:EmakiServiceRegistry.java新增 - 提供服务注册和查找功能 - 支持服务依赖注入 - YAML 抽象重构: 新增完整的 YAML 抽象层 -YamlConfigLoader.java: YAML 配置加载器 -VersionedYamlFile.java: 版本化 YAML 文件支持 -YamlSection.java: YAML 节抽象接口 -BoostedYamlSection.java: 增强型 YAML 节实现 -MapYamlSection.java: Map backed YAML 节实现 -SnakeYamlSupport.java: SnakeYAML 底层支持 - Bootstrap 包: 新增 bootstrap 包结构 - 提供插件启动引导支持 - Entity 包: 新增 entity 包结构 - 提供实体相关功能 - Integration 包: 新增 integration 包结构 - 提供第三方插件集成支持
- YAML 合并逻辑优化: 修复配置合并时的类型处理问题 - 改进问题修复
mergeMissingValues方法,使用 YamlSection 替代 ConfigurationSection - 优化版本比较逻辑,新增compareVersions方法
- YAML 文件重构:优化与改进
YamlFiles.java大量重构 - 简化版本升级逻辑 - 优化配置合并流程 - 改进类型转换处理 - 文本工具增强:Texts.java优化 - 新增文本空白检测方法 - 优化文本处理性能 - 配置版本升级: -config.yml: 2.3.0 → 3.0.0 -lang/zh_CN.yml: 2.3.0 → 3.0.0 - MessageService 优化: 重构消息服务 - 优化消息发送逻辑 - 改进文本格式化
- 核心服务重构: 多个核心服务类进行重构和优化 - 改进服务注册和获取流程 - 优化服务依赖管理 - 依赖管理: 优化 Maven 依赖配置 - 减少传递依赖冲突 - 更新库版本 - 代码格式化: 统一代码风格和导入格式 ---架构与底层
English Version
- Item Text Bridge:Features
ItemTextBridge.javaadded - Provides cross-version text API compatibility support - Ensures text display consistency across different Paper/Spigot versions - MiniMessages Support:MiniMessages.javaadded/enhanced - Added MiniMessage format parsing support - Provides richer text formatting capabilities - IndexedLineInsertActionParser: New Lore insertion parser - Supports inserting Lore lines from top/bottom - Supports stat line insertion modes - Lifecycle Framework: Added abstract lifecycle coordinator -AbstractLifecycleCoordinator.java: Abstract base class -RuntimeComponents.java: Runtime components abstraction - Service Registry:EmakiServiceRegistry.javaadded - Provides service registration and lookup functionality - Supports service dependency injection - YAML Abstraction Refactoring: Added complete YAML abstraction layer -YamlConfigLoader.java: YAML configuration loader -VersionedYamlFile.java: Versioned YAML file support -YamlSection.java: YAML section abstraction interface -BoostedYamlSection.java: Enhanced YAML section implementation -MapYamlSection.java: Map-backed YAML section implementation -SnakeYamlSupport.java: SnakeYAML low-level support - Bootstrap Package: Added bootstrap package structure - Provides plugin startup bootstrap support - Entity Package: Added entity package structure - Provides entity-related functionality - Integration Package: Added integration package structure - Provides third-party plugin integration support
- YAML Merge Logic Optimization: Fixed type handling issues during configuration merging - ImprovedBug Fixes
mergeMissingValuesmethod, using YamlSection instead of ConfigurationSection - Optimized version comparison logic, addedcompareVersionsmethod
- YAML File Refactoring:Improvements & Optimizations
YamlFiles.javaextensively refactored - Simplified version upgrade logic - Optimized configuration merging process - Improved type conversion handling - Text Utility Enhancements:Texts.javaoptimized - Added text blank detection method - Optimized text processing performance - Configuration Version Upgrade: -config.yml: 2.3.0 → 3.0.0 -lang/zh_CN.yml: 2.3.0 → 3.0.0 - MessageService Optimization: Refactored message service - Optimized message sending logic - Improved text formatting
- Core Service Refactoring: Multiple core service classes refactored and optimized - Improved service registration and retrieval process - Optimized service dependency management - Dependency Management: Optimized Maven dependency configuration - Reduced transitive dependency conflicts - Updated library versions - Code Formatting: Unified code style and import formattingChores & Refactoring
2.3.0EmakiCorelib 2.3.0Apr 9, 2026 EmakiCoreLib Changelog
\[2.3.0] - 2026-04-09
Added
#### Expression-aware name and lore replacement -ItemRenderServicenow supportsname_append_if_unchangedandname_append_if_changed, which helps strengthen and forge pipelines decide whether another suffix should be appended after a previous name change. - Regex replacement in names and lore now supports capture groups and expression blocks inside the replacement template, making it easier to combine matched text with runtime variables. -ExpressionEngine.replaceVariablesis now exposed as a reusable entry point so name templates, lore templates, and replacement templates share the same variable-expansion behavior. #### Startup diagnostics and loader issue collection - Startup logs now print the list of economy providers that actually became available, so operators can verifyVaultand other backends more quickly. -YamlDirectoryLoadernow accumulates load issues, allowing upper-layer plugins to expose lint, self-check, or admin diagnostics directly.Improved
#### Rendering and bridge infrastructure hardening -RegexLoreSearchMatchernow caches compiled regex patterns to reduce repeated compile overhead during frequent lore searches. -CacheManagernow tracks hits, misses, evictions, and expirations with atomic counters, which keeps shared cache statistics more stable. - Item source bridges now report more specific details while inWAITINGorINCOMPATIBLEstate, making load-order and API-compatibility diagnosis easier.Fixed
-ExpressionEnginenow rejects overly long expressions, dangerous characters, andNaN/Infinityresults so broken templates do not poison runtime calculations. - Regex-based rendering no longer flattens replacements too early, so$1-style capture groups and expression blocks can work together correctly.Upgrade Notes
- If your name or lore templates already use$1-style regex capture groups or[ ... ]expression blocks, regression-test those displays after upgrading. - Upper-layer plugins can now readYamlDirectoryLoader.issues()directly when implementing config self-checks or admin diagnostics. - Startup logs will now print ready economy providers; if an expected backend does not appear, first verify dependency startup order and provider registration.Known Issues
- None2.2.0EmakiCorelib 2.2.0Apr 8, 2026 2.2.0 - 2026-04-08
Overview
This version focuses on fixing the optional dependency loading forEconomyManager, constituting a compatibility and stability update.Changed
- Adjusted the economy backend registration process.VaultandCoinsEngineProviders are no longer directly hard-referenced and instantiated during the construction phase. -EconomyManagernow checks whether the corresponding plugin is enabled and if the required API classes are visible before deciding whether to register an optional Provider. - TheCoinsEnginerelated Provider has been changed to load reflectively based on runtime state to avoid premature class linking.Fixed
- Fixed the issue where, whenCoinsEngine / ExcellentEconomyis not installed on the server,EmakiCoreLibwould throw aNoClassDefFoundErrorduring theonEnablephase due to the absence ofsu.nightexpress.excellenteconomy.api.ExcellentEconomyAPI. - Fixed the issue where, despiteCoinsEnginebeing declared insoftdepend, the economy bridge class would still fail at runtime because it was resolved prematurely. - Fixed the issue where CoreLib could not gracefully degrade to a "register only available Providers" state when optional economy dependencies are absent.Compatibility
- Although the repository forExcellentEconomyis namedExcellentEconomy, the server plugin registration name and build artifact identifier still useCoinsEngine. - The existingsoftdepend: CoinsEngineconfiguration remains correct; no need to change it toExcellentEconomy. - Existing syntax in action DSL such asprovider=vault,provider=coinsengine, andcurrency=...remains compatible.Migration
- No configuration migration is required. - No data migration is required. - No command, permission, or language file adjustments are needed.2.1.0EmakiCorelib 2.1.0Apr 7, 2026 [2.1.0] - 2026-04-08
Added
#### Unified Item Source Bridge and Dependency Integration Timing - AddedItemSourceIntegrationCoordinator. During the startup phase, it uniformly registers item source resolvers forMMOItems,ItemsAdder,Nexo,NeigeItems, andCraftEngine. - Item source bridges now dynamically switch betweenREADY,WAITING, andINCOMPATIBLEstates based on external plugin enable/disable events and the official "item registration complete" event. - Added bridge status logs to the console, clearly distinguishing scenarios like "plugin not installed", "installed but resources not yet loaded", and "API version incompatible". -plugin.ymlhas been updated with relevant soft-dependencies. Upper-layer plugins no longer need to individually manage the loading sequence of external item plugins. #### Action System - New Temporary Item Workflow -ActionContextnow has shared state across actions, facilitating the reuse of temporary data within the same action chain. - Added built-in actions:createitem,edititem,senditem,clearitem. These allow directly creating items, modifying name/Lore, giving items to players, and clearing items by slot within the action DSL. - The temporary item workflow is now integrated with the unifiedItemSourceServiceandItemPresentationEditor, allowing direct item generation from item sources with presentation modifications applied. -clearitemsupports dual filtering by slot and item source, suitable for reuse in chains like forging, strengthening, and reward recovery. #### Expanded Foundation for Presentation Compilation and Document Editing - AddedItemPresentationEditor, supporting standardized editing of name and Lore for existingItemStacks at runtime. -YamlDirectoryLoadernow retains the originalYamlConfiguration, source file path, and parsing results, facilitating editor implementation, backups, and hot-reloading for upper-layer plugins. - AddedConditionEvaluator, a universal condition parser supporting numerical comparison, string comparison, and&&/||combination logic, providing a common foundation for configuration filtering and rule judgment in upper-layer plugins.Improvements & Optimizations
#### Standardization of Item Presentation Protocol -EmakiPresentationEntry,SearchInsertConfig, andLoreSearchInsertResulthave been unified into a standardized field structure, reducing ambiguity during serialization and data backfilling in the presentation layer. - The presentation compiler now only accepts standardized operation and field names. Validation, return status, and error details for Lore search-and-insert are also more explicit. - The collaboration betweenItemRenderServiceand the assembly of presentation entries has been further consolidated, making it easier for upper-layer modules likeEmakiForgeandEmakiStrengthento reuse directly. #### Action Execution Precision and Reusability -@chancenow uses high-precision threshold parsing, reducing floating-point probability boundary errors. - Shared state eliminates the dependency on external global containers for multi-step item processing within the same action chain. -ItemSourceTypehas been expanded with more complete type display names and alias resolution, unifying format recognition for sources likeItemsAdder/Nexo.Upgrade Notes
-EmakiForge 2.1.0andEmakiStrengthen 1.0.0are advised to uniformly depend on CoreLib'sItemSourceServiceand should no longer maintain external item bridges within their respective business modules. - If your action configurations still usegivecoins, please migrate before upgrading; this built-in action has been removed from the default registration list. - If your presentation configurations rely on old alias keys or field names, please revert to the standard写法 during upgrade, e.g.,action,content,target_pattern,regex_pattern,replacement. - After the server integratesItemsAdder,Nexo,NeigeItems,CraftEngine, orMMOItems, it is recommended to verify in the startup logs that the final bridge status isREADY.Known Issues
- None2.0.0EmakiCorelib 2.0.0Apr 3, 2026 EmakiCoreLib Changelog
[2.0.0] - 2026-04-04
Added
#### Asynchronous Infrastructure & Performance Monitoring - AddedAsyncTaskScheduler,AsyncFileService,AsyncYamlFilesto provide unified asynchronous execution capabilities for actions, file I/O, GUI, and assembly processes. - AddedPerformanceMonitor,PerformanceSnapshot, and an operation-level statistics model for continuous tracking of execution time, success rates, and warning counts. - Added genericCacheManager/CacheStatsfor caching high-frequency hotspot data such as preview results. #### GUI Asynchronous Rendering -GuiServicenow has anopenAsync(...)opening flow. - AddedAsyncGuiRenderer, supporting slot item preparation on async threads followed by a single batch fill-back on the main thread. -GuiSessiongained the ability to fill back rendering results, facilitating the decoupling of "computation" and "display" for complex GUIs. #### Item Assembly 2.0 -EmakiItemAssemblyServiceaddedpreviewAsync(...),giveAsync(...), and preview caching. - AddedAssemblyFeedbackHandler, allowing business plugins to receive feedback on Lore search-and-insert failures, regex errors, and configuration errors. - AddedItemPresentationCompiler,PresentationCompileResult,PresentationCompileIssue. - Name modification, Lore modification, and search-and-insert rules can now be compiled first and then rendered, making it easier for upper-level plugins likeEmakiForgeto reuse them.Changed
#### Action System Scheduling Upgrade - TheActioninterface added extension points:executionMode()andtimeoutMillis(). - AddedActionExecutionMode, currently supportingSYNCandASYNC_IO. -ActionDispatchSchedulerwill automatically choose between main-thread scheduling or async I/O scheduling based on the action's execution mode. -ActionExecutoruniformly integrates delay, timeout, failure fallback, and asynchronous execution pipelines. #### YAML & Resource Loading Optimizations -YamlDirectoryLoaderaddedloadAsync(), allowing directory-type configurations to directly utilize the CoreLib async scheduler. -EmakiCoreLibPluginwill now automatically migrate bundled resources from the legacydefaults/directory during startup. - Plugin initialization phase uniformly integrates the async file service, namespace registration, performance monitoring, and assembly service async configuration. #### Build & Dependencies - Module version upgraded to2.0.0. - Addedgsondependency and supplemented Shade filtering rules to avoid packaging conflicts withmodule-info.classand some manifest files.Upgrade Notes
- BothEmakiAttribute 2.0.0andEmakiForge 2.0.0are adapted based on this version of CoreLib. - Custom actions involving I/O operations (e.g., database, HTTP, file) are recommended to be explicitly declared asASYNC_IO. - Plugins relying on the assembly system can start using async preview, async distribution, and assembly feedback callbacks.Known Issues
- None1.11.0EmakiCorelib 1.11.0Mar 31, 2026 EmakiCoreLib Changelog
[1.11.0] - 2026-03-31
New Features
#### CoinsEngine Economy Support * Added theGiveCoinsActionaction, supporting currency operations for the CoinsEngine economy plugin. * Action Parameters: *amount(required): The amount of currency. *currency(required): The type of currency. * Automatically registered to the built-in action list, supporting templated configuration. * Requires the CoinsEngine plugin to be installed on the server.Improvements & Optimizations
#### Action System Improvements * All built-in Action IDs have been uniformly changed from underscore format to camelCase format. *send_message→sendmessage*play_sound→playsound*broadcast_message→broadcastmessage*send_title→sendtitle*send_action_bar→sendactionbar*give_money→givemoney*take_money→takemoney*set_money→setmoney*give_exp→giveexp*take_exp→takeexp*set_exp→setexp*set_health→sethealth*give_potion_effect→givepotioneffect*remove_potion_effect→removepotioneffect*clear_potion_effects→clearpotioneffects*spawn_particle→spawnparticle*run_command_as_player→runcommandasplayer*run_command_as_op→runcommandasop*run_command_as_console→runcommandasconsole*use_template→usetemplate#### Enhanced Error Messages * Improved error messages for missing actions (missingActionResult). * Automatically detects Action ID format and provides normalization suggestions. * Example: When usingsend_message, prompts "Use 'sendmessage' instead". * Helps developers quickly locate and fix configuration errors. #### ActionExecutor Optimization * AddedmissingActionResult()method to uniformly handle cases where actions are not found. * Improved Action ID normalization logic, removing underscores before lookup. * Optimized error message format to provide clearer migration guidance.Configuration Changes
#### Configuration Template Updates * Action IDs in the example configuration templates have been updated to the new format. * Comment examples have been synchronized, demonstrating the correct way to configure actions.Code Improvements
#### BuiltinActions * Added registration forGiveCoinsAction. * Maintained the registration order of other built-in actions. #### All Action Implementation Classes * Updated the return value of theid()method to camelCase format. * Kept action functionality and parameters unchanged.Usage Notes
#### Action ID Migration Important*: All action configurations must be migrated from underscore format to camelCase format. * The system will automatically detect and provide migration suggestions, but it is recommended to proactively update configuration files. * Affected configuration files: * Action templates inEmakiCoreLib/config.yml* Quality actions inEmakiForge/config.yml* Custom action configuration files * Action calls in scripts and plugins. #### CoinsEngine Integration * To use thegivecoinsaction, ensure the CoinsEngine plugin is installed on the server. * CoinsEngine is an optional dependency and does not affect core functionality. * Clear error messages are returned if the action execution fails. #### Compatibility * Maintains backward compatibility with configuration files from older versions. * Error prompts will help developers quickly locate issues. * It is recommended to back up configuration files before upgrading.Known Issues
* None1.10.0EmakiCorelib 1.10.0Mar 30, 2026 1.9.0Emaki Corelib 1.9.0Mar 29, 2026 1.8.0Emaki Corelib 1.8.0Mar 29, 2026 1.6.0Emaki Corelib 1.6.0Mar 28, 2026 1.3.0Emaki Corelib 1.3.0Mar 27, 2026
Similar projects
Plugin →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
WorldEdit
A Minecraft Map Editor... that runs in-game! With selections, schematics, copy and paste, brushes, and scripting. Use it in creative, or use it temporarily in survival.
11.6MSueta