Skip to content

PlaceholderAPI

neoramm edited this page Nov 5, 2026 · 1 revision

PlaceholderAPI

When PlaceholderAPI is installed, MetaEnchants adds placeholders that start with %metaenchants_. Use them in scoreboards, holograms, chat formats or any plugin that supports PlaceholderAPI. Nothing needs to be downloaded with /papi ecloud.

In the placeholders below, <id> is the id of a MetaEnchants enchantment, without metaenchants:, like vampirism or seismic-slam.

About the enchantments

These work without a player.

Placeholder Gives Example
%metaenchants_count% How many MetaEnchants enchantments exist. 10
%metaenchants_name_<id>% The name of the enchantment. Vampirism
%metaenchants_max_<id>% Its maximum level. 5
%metaenchants_rarity_<id>% The name of its rarity. Epic
%metaenchants_type_<id>% The name of its type. <gray>Normal

About a player

Placeholder Gives
%metaenchants_held_<id>% The level of the enchantment on the item in the main hand, or 0.
%metaenchants_slot_<slot>_<id>% The level on the item in a slot: mainhand, offhand, head, chest, legs or feet.
%metaenchants_level_<id>% The level the enchantment works with right now, looking at all its slots and its stack mode, like its triggers do.
%metaenchants_held_count% How many MetaEnchants enchantments the item in the main hand has.
%metaenchants_held_total% How many enchantments of any kind it has.
%metaenchants_limit% The maximum enchantments per item of the player (0 means no limit).

Examples:

Vampirism: %metaenchants_held_vampirism%/%metaenchants_max_vampirism%
Boots speed: %metaenchants_slot_feet_swiftness%

A wrong id or slot gives the placeholder back as written, so you can spot the mistake.

Placeholders inside MetaEnchants

MetaEnchants texts (messages, menus, triggers) can also use the placeholders of other plugins, like %vault_eco_balance%. See Menu and Messages.

Clone this wiki locally