Create Rarities
tip
If you need additional help, we'll be happy to help you on our Discord server.
This addon lets to create custom rarities and apply them to any cosmetic you want.
Default built-in rarities.​
- Common has a priority of 1.
- Rare has a priority of 2.
- Epic has a priority of 3.
- Legendary has a priority of 4.
Add a new rarity.​
- Open to the configuration file for you corresponding mode.
- BedWars1058
- BedWarsProxy
- Standalone
File location:
plugins/BedWars1058/Addons/Cosmetics/config.yml
File location:
plugins/BedWarsProxy/Addons/Cosmetics/config.yml
File location:
plugins/BedWars1058-Cosmetics/config.yml
- Add a new row under the
rarities
path as shown in the snippet below.
The color
path should be a color from ChatColor.
config.yml (snippet)
your-rarity-name:
priority: # The priority of the rarity (Should be a number).
color: # The color of the rarity that's gonna be displayed.
- Open your desired language file for your mode and then add a new row under the
addons.cosmetics.rarities
path, as shown in the snippet below.
- BedWars1058
- BedWarsProxy
- Standalone
File location:
plugins/BedWars1058/Languages/messages_(lang).yml
File location:
plugins/BedWarsProxy/Languages/messages_(lang).yml
File location:
plugins/BedWars1058-Cosmetics/Languages/messages_(lang).yml
messages_(lang).yml (snippet)
your-rarity-name:
display-name: # The name you want it to be displayed for the current language.
- Save all these files.
- You're done, now you can use it for any cosmetic you want, as shown below.
Example usage of your custom rarity
example-cosmetic:
enabled: true
material: DIAMOND_BLOCK
amount: 1
enchanted: true
price: 500000
rarity: your-rarity-name