Skip to content

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)
  • world is needed. A room without one is left out, with a warning in the console.
  • door is 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. Without door, the room opens by command only.
  • stage takes [x, y, z] or [x, y, z, yaw]. Without a yaw, the player keeps the way they were facing. Without stage, the player is not moved.
  • leave takes [x, y, z], with a yaw and then a pitch after them if you like. Without leave, they stay where they are.
  • Players leave by sneaking, /bc or the Wardrobe button, and are then moved to leave. A death, a quit or a teleport ends it, and nobody is moved.
  • A leave inside 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.anywhere or showcase.areas. showcase.teleport decides whether a teleport keeps a room open.
  • Run /bc reload after an edit.