Dressing rooms
Settings for /bc dressingroom: rooms that players walk into to try cosmetics on. They are in the dressing-rooms section of config.yml, apart from the showcase. Rooms work with showcase.enabled: false, and for players without boxcosmetics.showcase.
enabled
With false, doors do nothing, and /bc dressingroom replies with the dressing-room.disabled message. Default: true.
# config.yml
dressing-rooms:
enabled: true
rooms
The file ships with none (rooms: {}). Here is a room called lobby:
# config.yml
dressing-rooms:
enabled: true
rooms:
lobby:
world: world
door: # optional: stepping into this box enters the room
from: [3, 64, 10] # one corner block
to: [5, 64, 10] # the opposite corner block
stage: [4.5, 64, 4.5, 180] # optional: where the player is moved on entering (x, y, z, yaw)
leave: [4.5, 64, 12.5, 0] # optional: where they go when they leave (x, y, z, yaw, pitch)
worldis needed. A room without one is left out, with a warning in the console.dooris a box between two corner blocks. Stepping into it from outside enters the room. Standing on its top blocks counts, so a door can be laid in the floor. Withoutdoor, the room opens by command only.stagetakes[x, y, z]or[x, y, z, yaw]. Without a yaw, the player keeps the way they were facing. Withoutstage, the player is not moved.leavetakes[x, y, z], with a yaw and then a pitch after them if you like. Withoutleave, they stay where they are.- Players leave by sneaking,
/bcor the Wardrobe button, and are then moved toleave. A death, a quit or a teleport ends it, and nobody is moved. - A
leaveinside the door does not send them back in. The door takes them again only after they step out of it. A jump on a door laid in the floor is not a step out. A drop onto it from a ledge beside it enters. - Rooms do not use
showcase.anywhereorshowcase.areas.showcase.teleportdecides whether a teleport keeps a room open. - Run
/bc reloadafter an edit.