Skip to content

Placeholder Reference

PlaceholderAPI Placeholders

Expansion identifier: emakistrengthen

When PlaceholderAPI is installed, EmakiStrengthen registers the following placeholders. All placeholders read strengthen data from the player's main-hand item.

PlaceholderDescriptionExample
%emakistrengthen_mainhand_star%Current star level (0 if not eligible).7
%emakistrengthen_mainhand_temper%Temper level.3
%emakistrengthen_mainhand_recipe%Associated recipe ID (empty if none).weapon_basic
%emakistrengthen_mainhand_eligible%Whether the item is eligible for strengthening.true
%emakistrengthen_mainhand_success_count%Cumulative success count.5
%emakistrengthen_mainhand_failure_count%Cumulative failure count.2

Usage Example

yaml
lore:
  - '<gray>Star: <white>%emakistrengthen_mainhand_star%'
  - '<gray>Temper: <white>%emakistrengthen_mainhand_temper%'
  - '<gray>Recipe: <white>%emakistrengthen_mainhand_recipe%'
  - '<gray>Eligible: <white>%emakistrengthen_mainhand_eligible%'

Internal Template Variables

StrengthenSnapshotBuilder provides the following variables in recipe structured_presentation, name_actions, lore_actions, and stat line templates.

General Variables

VariableDescriptionExample
%star%Current star level.7
%temper%Temper level.3
%max_temper%Recipe max temper limit.10
%temper_color%Color tag (<red> if temper > 0, else <green>).<red>

Stat Line Variables

Used in stat line templates:

VariableDescriptionExample
%id%Stat ID.physical_attack
%sign%Sign character.+
%value%Formatted absolute stat value.15.5
{<stat_id>}Any cumulative stat value (dynamic).120

Template Example

yaml
structured_presentation:
  lore_actions:
    - action: "append"
      content:
        - ""
        - "<yellow>★ Strengthen Level: +%star%"
        - "%temper_color%Temper: %temper%/%max_temper%"
        - "<gray>Attack: <white>%sign%%value%"

Notes

  • All PlaceholderAPI keys are prefixed with mainhand_ and read main-hand item data.
  • When the main-hand item has no strengthen data, star and temper return 0, recipe returns empty.
  • Internal template variables only work within Strengthen's structured_presentation.
  • {<stat_id>} is dynamic and depends on stat keys configured in the recipe.