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.
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.
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.
Depends: [item-nbt-api]
Soft-Depends: [ItemRarityGlow, ItemsAdder]
Spoiler: config.yml
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
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
Spoiler: rarities.yml
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.
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:
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.13, 1.14, 1.15
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
✪ ItemRarity ✪ | Rarity system for RPG servers [1.13-1.21] is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15, 1.16 and newer. Downloaded 3,007 times (via Spigot). Download it and open it directly in the game.