Cosmetics Permissions
Each cosmetic has a corresponding permission, so you can simply grant a player the necessary permissions to allow them to have a cosmetic belonging to a particular category.
Here is the permission form: bedwars.cosmetics.cosmetic.<category>.<cosmetic>
Give a player a cosmetic from a category.​
Example: bedwars.cosmetics.cosmetic.bed-destroy.lady-bug
Give a player a whole category with their cosmetics.​
Exmaple: bedwars.cosmetics.cosmetic.victory-dance.*
Give a player all the categories and their cosmetics.​
Permission: bedwars.cosmetics.cosmetic.*
Category Identifiers​
Category Name | Permission Identifier |
---|---|
Projectile Trail | projectile-trail |
Victory Dance | victory-dance |
Final Kill Effect | final-kill |
Spray | spray |
Island Topper | island-topper |
Death Cry | death-cry |
Shopkeeper Skin | shopkeeper-skin |
Kill Message | kill-message |
Glyph | glyph |
Bed Destroy | bed-destroy |
Wood Skin | wood-skin |
Cosmetic Identifiers​
Those identifiers can be found in the each categories configuration file.
- BedWars1058
- BedWarsProxy
- Standalone
File location:
plugins/BedWars1058/Addons/Cosmetics/Categories
File location:
plugins/BedWarsProxy/Addons/Cosmetics/Categories
File location:
plugins/BedWars1058-Cosmetics/Categories
For example
bed-destroy.yml (snippet)
cosmetics:
squid-missile: # < This is the identifier
enabled: true
obtaining-methods: COIN,PERMISSION
material: MONSTER_EGG:94
amount: 1
enchanted: false
price: 5000
rarity: common
fireworks: # < This is the identifier
enabled: true
obtaining-methods: COIN,PERMISSION
material: FIREWORK
amount: 1
enchanted: false
price: 5000
rarity: common