Who wears it, and where
These keys decide where a cosmetic goes and who has it: the slots it may go in, the permission that puts it in a Collection, the group it shares with other cosmetics, and whether it is an accessory.
slot
The slots the cosmetic may go in, with commas or as a list, in any case. slots works too. Default: any slot.
# cosmetics/hats.yml
ufo-hat:
item: itemsadder:alien_pack:ufo_hat
slot: helmet, head # the helmet slot or the Head list
| Name | Menu slot |
|---|---|
head |
Head list: turns with the head |
wear |
Wear list: on the body, such as wings or a tail |
balloon |
Balloon list |
helmet, chestplate, leggings, boots |
One each, shown over armour (equipment) |
hand, offhand |
Held items |
- A name that is not in the table is warned about and passed over. If no name is left, the cosmetic may go in any slot.
- When the cosmetic is put in a slot it may not go in, it moves to its first free slot. If none is free, it is refused with the
cosmetic-misplacedmessage. - If you change
slot, a piece already in a slot it may no longer use stays there, but is not worn.
permission
Players with this permission have the cosmetic in their Collection, without keeping a piece. Any permission name works: Cosmetic permissions. Default: none.
# cosmetics/hats.yml
fire-hat:
item: LEATHER_HELMET
slot: head
permission: cosmetics.fire
Then give the permission to the groups that should have the cosmetic, here the vip group of LuckPerms:
/lp group vip permission set cosmetics.fire true
- When a player loses the permission, a piece taken from the Collection by the permission leaves its slot within about 2 seconds. A piece from the player's own item stays worn. With
permission-locks-item: true, that piece stays in its slot, but is not worn until the permission comes back. - The cosmetic never needs
boxcosmetics.<slot>to go in a slot. /bc giveand/bc collection addignore its permission.
group
Only one cosmetic of a group is worn at a time. A group is any word, with no setup, and the rule holds across every slot and list. Default: none.
# cosmetics/back.yml
neon-jetpack:
item: FIREWORK_ROCKET
slot: wear
group: jetpack
dragon-wings:
item: FEATHER
show: meg:dragon_wings
slot: wear
group: jetpack # only one of the two is worn at a time
When a cosmetic goes on while another of its group is worn:
| Put on | Result |
|---|---|
By a click (with it in hand, or in the Collection), or /bc equip |
Replaces the worn cosmetic of its group, which goes to the Collection or the hand |
| By hand into a menu slot | Refused with cosmetic-grouped (messages.yml) |
- For several groups, use commas or a list.
groupsworks too. Case does not count:Jetpackandjetpackare one group. - On stands: The item slots.
accessory
With true, the cosmetic is worn only in the accessory slots its slot names, out of head, wear, balloon and offhand. With no slot, it goes in all four. With false, it is a cosmetic like any other: it goes in the cosmetic slots and in the Collection. Default: false.
# cosmetics/neon-knight.yml
set-drone:
item: ECHO_SHARD
show: meg:neon_knight_set/hi_group5
slot: head, wear
accessory: true # only in the Head and Wear accessory slots
- It is drawn as a cosmetic of that slot, with its
position. - Without an
item, it is not an accessory. Any other slot thatslotnames is warned about and passed over. Ifslotnames none of the four, the cosmetic is left out. - On a stand, it goes in the lists of those slots.
- With
wardrobe.accessories: false, accessories go in the matching cosmetic slots instead. - A player's piece that sits in a cosmetic slot when its cosmetic becomes an accessory moves to the matching accessory slot at the next
/bc reloador when the player joins. If that slot has no room, the piece goes back to the player's inventory. - Of one group, the accessory shows first: a cosmetic sharing its group hides while the accessory is worn, and shows again when it comes off.
- The accessory off-hand slot always covers the cosmetic off-hand slot.
Out of the Collection
An accessory has no place in the Collection. Drags, shift-clicks, /bc store and /bc collection add refuse it.
/bc unequipsends it to the inventory.- Pieces already stored in the Collection move to the inventory at the next
/bc reloador when the player joins, or to the ground when the inventory is full.