Skip to content

Commands and Permissions

The main command of EmakiAttribute is /emakiattribute, with /eattribute and /ea as aliases. Players usually do not need to run these commands directly. Administrators use them to reload configuration, resync attributes, preview item contribution, dump combat state, and debug damage calculations.

Commands

CommandPermissionDescription
/ea helpnone (gated by emakiattribute.use)Print command help; running /ea with no arguments is equivalent.
/ea reloademakiattribute.reload or emakiattribute.adminReload configuration, attributes, conditions, damage types, lore formats, and related registries.
`/ea resync [playerall]`emakiattribute.resync or emakiattribute.admin
/ea preview [player] [slot]emakiattribute.debug or emakiattribute.adminPreview the attribute contribution of a specific equipment slot.
/ea dump [player] [sources [attribute]|json]emakiattribute.debug or emakiattribute.adminDump a player's combat attribute snapshot and resource state; optionally add source tracing or JSON output.
/ea debug [player] [toggle/on/off]emakiattribute.debug or emakiattribute.adminToggle or set combat debug output; also forwards status, on, off, player, and module.
/ea source <player> <attribute>emakiattribute.debug or emakiattribute.adminList each contribution to one attribute and whether its condition passed.
/ea trace last|list|export|clear <player>emakiattribute.debug or emakiattribute.adminInspect, export, or clear a player's damage resolution trace records.
/ea points view/open/add/reset ...emakiattribute.points or emakiattribute.adminView points, open the GUI, allocate parent-attribute points, or reset your own allocation.
/ea points set/grant/setreset player amountemakiattribute.points.admin or emakiattribute.adminSet available points, grant points, or set reset points for a player.
/ea lintemakiattribute.reload or emakiattribute.adminCheck configuration references, attribute ids, formats, damage types, and read conditions before reloading.

Permissions

PermissionDefaultDescription
emakiattribute.usetrueAllows root command access.
emakiattribute.reloadopAllows reload and lint.
emakiattribute.resyncopAllows attribute resync.
emakiattribute.debugopAllows preview, dump, and debug output.
emakiattribute.pointstrueAllows viewing points, opening the points GUI, allocating your own points, and paid self-reset.
emakiattribute.points.adminopAllows viewing/opening other players' points, setting available points, granting points, setting reset points, and free resets.
emakiattribute.adminopAdministrative fallback permission.

Common operations

Reload after linting

text
/ea lint
/ea reload

Run lint first after changing attributes/, conditions/, damage_types/, lore_formats/, presets, or PDC read rules. Then reload if no blocking issues are reported.

Resync all online players

text
/ea resync all

Use this after changing attribute definitions, default values, equipment parsing, or other rules that affect currently online players.

Preview an equipment slot

text
/ea preview Steve main_hand

Common slots include:

  • main_hand
  • off_hand
  • helmet
  • chestplate
  • leggings
  • boots

preview reads the item in the requested slot and shows its item snapshot, signature, and non-zero values.

Dump combat state

text
/ea dump Steve

Use this when a player's final combat attributes or resources do not match expectation. It prints the combat snapshot and resource states used by the runtime.

Trace where an attribute comes from

text
/ea source Steve physical_attack
/ea dump Steve sources physical_attack

Lists each contribution value, source type, and source label for that attribute; contributions whose condition failed are marked. Omitting the attribute id in /ea dump <player> sources lists every attribute source, and /ea dump <player> json additionally prints the source trace as JSON.

Review a damage resolution

text
/ea trace last Steve
/ea trace list Steve
/ea trace export Steve
/ea trace clear Steve

last prints the summary and per-stage input/output of the most recent hit, list prints recorded trace summaries, export prints the most recent record as JSON, and clear removes that player's records.

Open the points GUI and allocate points

text
/ea points open
/ea points view
/ea points add strength 1

points add allocates your own available points into an attribute marked with parent_attribute: true. It fails when points are insufficient, the attribute ID does not exist, or the target is not a parent attribute. Console execution must provide a player target.

Grant and reset attribute points as admin

text
/ea points grant Steve 5
/ea points set Steve 10
/ea points setreset Steve 1
/ea points reset Steve free

grant adds available points, set replaces available points, and setreset sets how many paid resets the player has. Admin resets for another player, or resets with free, do not consume the player's reset points.

Enable combat debug output

text
/ea debug Steve on
/ea debug Steve off

Use debug output only while troubleshooting. Do not leave large-scale player debug enabled on production servers.