Gives every item on the server a rarity: a minecraft:tooltip_style component plus a MiniMessage gradient wrapped around its name. Works with vanilla items and ItemsAdder custom items.
- Every item falls back to a configurable
default-rarity. materials:maps a vanillaMaterialto a rarity.itemsadder-items:maps an ItemsAdder namespaced id to a rarity.enchant-triggers:bumps an item's rarity when it carries a given enchant at or above a level.- If more than one rule matches, the highest-ranked rarity wins.
- Rarity tiers (
common,rare,epic,legendaryby default) are fully admin-defined inconfig.yml— add, remove, or reorder freely. Each tier must use a unique tooltip-style key, including its namespace.
Tooltips get applied on join, inventory clicks, crafting, pickup, item drops, anvil renames, and on ItemsAdder reload, plus a periodic sweep that catches anything else (hoppers, dispensers, other plugins spawning items).
Renaming an item in an anvil keeps your custom text — the rarity gradient just wraps around whatever name is currently on the item.
/iatooltips (permission iatooltips.admin):
reload— reloadconfig.ymlset <material|ia-id> <rarity>— add or change a mapping, saved toconfig.ymlrefresh <player|all>— force a reapply right nowapply <rarity|tooltip-style>— apply a configured tier to your held item. Both a tier ID such ascommonand its configured full style ID such aslzblocks:tooltip/commonwork; the command applies that tier's tooltip style and name gradient, then persists it as a manual override so automatic scans do not replace it.
- Paper 1.21.4+
- ItemsAdder (hard dependency)