🔧Built-in Placeholders
Available placeholders:
{enchants} - Display item's enchantments. We don't auto hide enchants of the item, you have to add HIDE_ENCHANTS flag to item by yourself!
{empty_slots} - Display item's empty slots.
{enchant_amount} - Display item's enchantment amount.
{slot_amount} - Display item's max slot amount.
{used_slot_amount}
You can further set options for the {enchants}
, {empty_slots}
placeholder in auto-lore.placeholder
option in config.yml
file.
{enchants} Placeholder
Available sub placeholders for {enchants}
:
{enchant_name}
{enchant_level}
{enchant_used_slot}
{enchant_level_roman}
{raw_enchant_name} - Without ratity color exist in supported custom enchantment plugins.
Enchantment Sort for {enchants} Placeholder
EnchantmentSlots supports auto enchantment sort in {enchants}
placeholder: we will hook into EcoEnchants v10+ or ExcellentEnchants v4 and use it's API to get enchantment display sort in those plugins, for vanilla enchantments, it's depend on how long it was obtained.
To use this feautre, you need enable sort
option in config.yml
file.
Custom Enchantment Name for {enchant_name} sub placeholder
By default, other plugins can not get enchantments name that displayed in client. You have to set them in config.yml
to make EnchantmentSlots correctly display enchantment name for custom enchantments. For example of vanilla enchantments:
But, EnchantmentSlots will hook into EcoEnchants v10+ or ExcellentEnchants v4 (v3 is supported in version before 3.2.0) and use it's API to get enchantment name, so if you are using the 2 plugins, you don't need manually set enchantment name at config.yml
.
Custom Enchantment Level for {enchant_level} sub placeholder
By default, plugin will print number itself at {enchant_level}
sub placeholder, if you want to override the result of this sub placeholder, you can do that in config.yml
file.
For example of better number display:
Custom Enchantment Used Slot Display for {enchant_used_slot} sub placeholder
By default, plugin will print number itself at {enchant_used_slot}
sub placeholder, you can override it's result in config.yml
file. For example:
Auto Add Space
If enabled, plugin will auto add space if the placeholder has valid result.
Last updated