Drive equipment from +0 to +N through a fully configurable star-enhancement system: per-star materials and odds, tempering that builds up on failure, protection materials, multiple failure outcomes, nested branch growth, milestone skills, live previews and
EmakiStrengthen is a GUI-based equipment enhancement module for the Emaki series. Players place a piece of gear and the required materials into the enhancement table, the module rolls the success chance for the target star, and the result is written directly into the equipment's PDC strengthen layer — then rebuilt into the final name and lore by EmakiCoreLib. Every star, every material, every success rate, every failure outcome and every branch is defined in YAML, so you control exactly how deep and how punishing the enhancement curve feels.
Nothing is hard-coded. A single recipe can run from +1 all the way to a configurable maximum star, hand out independent materials and odds at each step, unlock new attributes and skills at milestone stars, fork into multiple growth branches, and broadcast high-star achievements to the whole server. Attribute gains are only real when you declare them explicitly, so display text and real combat stats never drift apart.

limits.max_star, default 12 in the sample).success_chance_cap limits the final rate after tempering bonuses are added (default 90%), so even a heavily tempered attempt keeps a margin of risk.name, an effects list, required materials, and success/failure actions.item_sources and amount; the default recipe scales material counts at every single star for a real material sink.amount: -1 is only checked for possession, not consumed; combine it with optional: true so players are never forced to hold it.variables — expression-engine variables used for lore rendering and templates; they do not write real attributes on their own.ea_attribute — explicitly writes real EmakiAttribute PDC stats (e.g. physical attack, crit rate). Real combat power only comes from this, so display and reality never silently diverge.es_skill — binds an EmakiSkills skill at that star (the sample binds a crit passive at +5 and an ultimate at +12).lore_action — edits the item lore.name_action — edits the item name.max_temper caps how high tempering can stack; success_chance_cap caps the final boosted rate.temper_boost material can add extra tempering levels when inserted (the sample uses a potion at +12).%temper_color% placeholder turns the tempering line red when above zero and green otherwise, for instant visual feedback in lore.appends a fresh stat line; from +2 onward it uses replace_line with an anchor to update the existing number — so each stat always has exactly one lore line no matter how high the star.append a brand-new stat line as a new attribute unlocks.name_actions appends a [+star] suffix, and global lore_actions prepend a gradient enhancement-level line plus a tempering line on every success.actions.success, actions.failure_keep, actions.failure_downgrade, actions.failure_destroy, actions.protected, actions.guarantee).fork_after_star opens a branch-selection prompt after a chosen star (-1 disables forking).display_name, its own stars, and its own children, writing different attributes, skills and display along the way.source_ids precisely binds the recipe to specific EmakiItem / ItemSource ids (recommended).slot_groups matches coarse equipment groups (weapon / armor / offhand / generic).lore_contains matches by lore text, and stats_any matches items that already carry given attributes.%player%, %star%, %item% and %recipe% variables.
base_cost * star, so each star costs more).strengthen script module exposes a chance-rule hook (registerChanceRule) that can adjust the success rate, post-failure star, post-failure tempering and protection, with priority-ordered stacking and a final 0–100 clamp.onResult) runs after resolution for rewards or broadcasts.StrengthenResult returns the new item to replace the original; enhancement runs on the main thread.| Command | Description |
|---|---|
/estrengthen help |
Show help |
/estrengthen open |
Open the enhancement GUI |
/estrengthen reload |
Reload recipes, GUI, language and runtime resources |
/estrengthen inspect [player] |
Inspect the held item's strengthen layer and matching recipe |
/estrengthen refresh [player] |
Refresh the held item's display |
/estrengthen setstar <star> [recipe] |
Set the held item's star level |
/estrengthen clearstate |
Clear the held item's strengthen layer |
/estrengthen clearcrack |
Clear the held item's tempering |
/estrengthen givecatalyst <material> [amount] [player] |
Give enhancement materials |
/estrengthen debug <status|player|module|all> |
Runtime debug info |
Main command /emakistrengthen, alias /estrengthen.
emakistrengthen.use — use the enhancement GUI and basic commands (default: true)emakistrengthen.reload — reload configuration (default: op)emakistrengthen.debug — debug commands (default: op)emakistrengthen.admin — administrative commands (set star, clear state, give catalyst, etc.; default: op)Expansion identifier emakistrengthen (reads the main-hand item):
%emakistrengthen_mainhand_star% — current star%emakistrengthen_mainhand_temper% — current tempering level%emakistrengthen_mainhand_crack_level% — tempering (legacy field name)%emakistrengthen_mainhand_max_star% — recipe maximum star%emakistrengthen_mainhand_recipe% — matched recipe id%emakistrengthen_mainhand_eligible% — whether the item can be enhanced%emakistrengthen_mainhand_success_rate% — current success rate%emakistrengthen_mainhand_success_count% / %emakistrengthen_mainhand_failure_count% — success / failure counters| Item | Details |
|---|---|
| Java | 25 |
| Bukkit API | 1.21 |
| Server | Spigot / Paper and downstream forks |
| Folia | Supported |
| Required | EmakiCoreLib |
| Optional | EmakiAttribute, PlaceholderAPI |
EmakiCoreLib.jar first (required dependency).EmakiStrengthen.jar into plugins/.match.source_ids, adjust stars / materials / odds / branches, then /estrengthen reload.