PlaceholderAPI Placeholders
EmakiGem provides a set of PlaceholderAPI external placeholders for use in scoreboards, HUDs, and any PAPI-compatible plugin.
Prerequisite
PlaceholderAPI must be installed on the server. EmakiGem will automatically detect and register on startup — no manual configuration needed.
Identifier
emakigemMain Hand Gem State
All placeholders read from the player's current main hand item. If the item has no gem data, numeric values return 0 and strings return empty.
Overview
| Placeholder | Description | Example |
|---|---|---|
%emakigem_mainhand_opened_slots% | Number of opened socket slots | 3 |
%emakigem_mainhand_total_slots% | Total socket slots (defined by template) | 5 |
%emakigem_mainhand_filled_slots% | Number of slots with gems inlaid | 2 |
Per-Slot Query
Slot index starts from 0.
| Placeholder | Description | Example |
|---|---|---|
%emakigem_mainhand_slot_<n>_gem% | Gem ID at slot n | ruby_attack |
%emakigem_mainhand_slot_<n>_level% | Gem level at slot n | 3 |
%emakigem_mainhand_slot_<n>_opened% | Whether slot n is opened | true / false |
Examples
%emakigem_mainhand_opened_slots% → 3
%emakigem_mainhand_total_slots% → 5
%emakigem_mainhand_filled_slots% → 2
%emakigem_mainhand_slot_0_gem% → ruby_attack
%emakigem_mainhand_slot_0_level% → 3
%emakigem_mainhand_slot_0_opened% → true