✪ ItemRarity ✪ | Rarity system for RPG servers [1.13-1.21] icon

✪ ItemRarity ✪ | Rarity system for RPG servers [1.13-1.21] -----

Rarity system for your items | Support for custom items & NBT



ItemRarity.png
ItemRarity is a plugin that allows you to apply rarity to any item in the game, it is helpful for RPG servers looking to identify objects by rarity.

You can add lore for certain rarities as shown below.

javaw_DKTya0pIrq.png

Features.png
◈ Infinite rarities
You can define your own rarities without limits, the plugin will manage the rest.
◈ Plugin compatibility
ItemRarity defines rarities with NBT Tags so any other plugin can hook with it, also you can hook this plugin with ItemRarityGlow.
◈ Hex color support
Of course, you can use hex colors to show the rarity in lore.

◈ ItemsAddder support

This plugin can hook into ItemsAdder for an easier way to add rarities to your items.


Commands.png
/ir reload(ir.admin)
Reload the plugin config and the rarities.yml file.

/ir update <all/player name> (ir.admin)
Update the player/s inventory in case you changed some rarity prefix inside rarities.yml so you don't have to generate the item again.
Dependencies.png
Depends: [item-nbt-api]
Soft-Depends: [ItemRarityGlow, ItemsAdder]

Media.png
javaw_0byLIVox2h.png javaw_DKTya0pIrq.png

Code (YAML):
Config:
  checkerTime
: 10 #in ticks;
  debug-mode
: false
  lore-format
:
   - "{item-lore}"
    - ""
    - "&7Rarity
: {rarity-prefix } "
  enable-glow: true
  inventory-blacklist:
    - "
Example inventory title " #<- Inventory title here
Code (YAML):
Rarities:
    1
:
      identifier
: Common
      name
: '&f&lCOMMON' # #FFFFFF for hex color codes
      weight
: 1
      glow
: 'WHITE'
    2
:
      identifier
: Uncommon
      weight
: 2
      name
: '&a&lUNCOMMON'
      glow
: 'GREEN'
    3
:
      identifier
: Rare
      weight
: 3
      name
: '&9&lRARE'
      glow
: 'AQUA'
    4
:
      identifier
: Epic
      weight
: 4
      name
: '&5&lEPIC'
      glow
: 'DARK_PURPLE'
    5
:
      identifier
: Legendary
      weight
: 5
      name
: '&6&lLEGENDARY'
      glow
: 'GOLD'
Items
:
  Common
: #Identifier
    list
:
   - 'DEFAULT' #This would add all items to the Common rarity if they don't have a rarity set below
  Uncommon
:
    list
:
   - 'DIAMOND'
    - 'IRON_INGOT'
    - 'GOLD_INGOT:12345' #MATERIAL:Custom Model Data
    - 'ENCHANTED_BOOK:efficiency 5'
    - 'ITEMSADDER:magic_wand' #ItemsAdder item name
  Rare
:
    list
:
     - 'IRON_SWORD:sharpness 1'
      - 'POTION:invisibility true:false' #POTION:(effect_name) (extended:upgraded)
  Custom
: #These have more priority than the above ones, you should add them by command.
If you have downloaded and used the plugin on your server, please leave a review!

Report bugs and get support here:
discord-button.png
Resource Information
Author:
----------
Total Downloads: 2,026
First Release: Sep 27, 2022
Last Update: Jan 6, 2025
Category: ---------------
All-Time Rating:
8 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings