✪ ItemRarity ✪ | Rarity system for RPG servers [1.13-1.21]
1.3Rarity system for your items | Support for custom items & NBT
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.
◈ 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.
➜ /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.
Depends: [item-nbt-api]
Soft-Depends: [ItemRarityGlow, ItemsAdder]
config.yml
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 hererarities.yml
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!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta