Skip to main content
Returns every rarity configured in the inventory settings, with its label and color. Useful to show the same rarity names and colors in your own shops, crafting menus or HUDs.

Parameters

None

Return value

Notes

  • Rarities are the ones set in the /inventory settings menu, and the export always returns the current ones, so you can call it whenever you need them instead of caching the result on start
  • The rarity ID is the value items use in their rarity field (see Get static item)