Skip to content

Commands and Permissions

The main command of EmakiGem is /emakigem, with /egem and /eg as aliases. Commands are used to open gem GUIs, inspect gem state, clear debugging state, reload configuration, and print debug information.

CommandPermissionDescription
/emakigem helpnonePrint the command help list. Also shown when running /emakigem with no arguments.
/emakigem gui <inlay|upgrade|extract|reroll|recalibrate|open>emakigem.use or emakigem.adminOpen the selected gem GUI mode. The mode argument is required by the current command router; an unknown mode is treated as an argument error.
/emakigem reloademakigem.reload or emakigem.adminReload config, gems, socket item definitions, resonances, conditions, GUI files, and language files.
/emakigem inspect [player]emakigem.use or emakigem.adminInspect gem state on the held item of the target player or yourself.
/emakigem reroll <full|value|confirm|cancel|status>emakigem.use or emakigem.adminGenerate or accept a reroll candidate for the gem in the main hand. See Reroll commands.
/emakigem clearstateemakigem.adminClear gem layer state from the held item. Useful for debugging or repairing abnormal items.
/emakigem convert-legacy [confirm]emakigem.adminConvert the deprecated match block in items/*.yml into matcher plus a top-level slot_groups. Gem has no key-rename targets left beyond that. Without an argument it only previews; confirm (or --apply) rewrites the files and leaves a .bak backup each. The converted matcher still needs a manual pass, see Socket item definitions.
/emakigem debugemakigem.debug or emakigem.adminPrint runtime debug information.

GUI modes

ModePurpose
inlayInlay gems. Extraction can be toggled from inside the view.
extractOpen directly in extract mode.
upgradeUpgrade gems using EmakiStrengthen recipe materials.
rerollFull reroll: re-roll the affixes of the main-hand gem.
recalibrateValue reroll: re-roll only the values of existing affixes.
openOpen locked socket slots with socket openers.

Reroll commands

The reroll subcommands act on the gem in the main hand and require emakigem.use or emakigem.admin:

SubcommandPurpose
fullGenerate a full reroll candidate (re-rolls the affixes themselves) and charge full_cost immediately.
valueGenerate a value reroll candidate (values only) and charge value_cost immediately.
confirmConfirm the candidate and write it to the main-hand gem.
cancelAbandon the candidate and refund the charge.
statusShow the current candidate's type, original affix count, candidate affix count, and remaining seconds.

When an unfinished candidate session already exists, running full or value again returns that session without charging again or regenerating the candidate. Candidate lifetime is controlled by reroll.session_ttl_seconds in config.yml. Configuration and settlement rules are in Gem Definitions.

Examples

text
/emakigem gui inlay
/emakigem gui open
/emakigem gui upgrade
/emakigem reroll full
/emakigem reroll confirm
/emakigem inspect Steve
/emakigem reload

Gem items should be distributed through item sources, shops, rewards, or other server-side systems.