Create Sprays
tip
If you need additional help, we'll be happy to help you on our Discord server.
note
Spray images should be 1:1 it's recommended to use 128x128 dimensional pictures to not lose the image quality. Supported image formats are JPEG, PNG, BMP, and WEBMP.
Spray category configuration file.​
- BedWars1058
- BedWarsProxy
- Standalone
File location:
plugins/BedWars1058/Addons/Cosmetics/Categories/spray.yml
File location:
plugins/BedWarsProxy/Addons/Cosmetics/Categories/spray.yml
File location:
plugins/BedWars1058-Cosmetics/Categories/spray.yml
Adding a new Spray cosmetic.​
Get your picture and put it in the directory according to your mode.
- BedWars1058
- BedWarsProxy
- Standalone
Folder location:plugins/BedWars1058/Addons/Cosmetics/Spray
Folder location:plugins/BedWarsProxy/Addons/Cosmetics/Spray
Folder location:plugins/BedWars1058-Cosmetics/Spray
Go to the spray's configuration file and add a new row under the
cosmetics
path, as shown in the snippet below.
spray.yml (snippet)
your-spray-identifier:
enabled: true
obtaining-methods: # The obtaining methods (e.g COIN, PERMISSION)
material: # The icon's item material.
amount: # The icon's item amount.
enchanted: # True if you want to have an enchanted icon otherwise false.
price: # The price (e.g 5.000, 10.000, 100.000).
rarity: # The rarity (e.g common, rare, epic, legendary).
path: # Spray's picture path (e.g new_spray.png).
- Open your desired language file for your mode and then add a new row under the
addons.cosmetics.cosmetics.spray
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-spray-identifier:
display-name: # The display name for current language.
description: # The description for current language.
- 'Description line 1'
- 'Description line 2'
- Save all these files and restart your server.
- You're done, now you should see your custom Spray on the Sprays menu via
/cosmetic menu spray
.