> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-housing/your-home.md).

# Your home

The CAS Housing home menu. Keys with roles (co-owner, roommate, guest), knocking at the door, locking, waking up in your bed, storage and the wardrobe.

## The home menu

Open it with `/home` inside your home, or with **Home menu** at its door:

* **Furniture**: build mode. See [Build mode](/script-documentation/cas-housing/build-mode.md).
* **Keys**: who holds a key, and giving a new one.
* **Lock the doors** / **Unlock the doors**.
* **Wake up here**: choose this home's bed.
* **Sell or hand over**. See [Selling](/script-documentation/cas-housing/selling.md).
* The rent line, when the home is rented, with **Pay**.

## Keys and roles

The owner gives keys from the menu: pick a player (anyone in the game, or only players standing near with `Config.Keys.AnyOnline = false`), choose the role, press **Give**.

* **Co-owner**: almost everything the owner may do.
* **Roommate**: lives there: the lock, storage, the wardrobe, the bed, building their own pieces.
* **Guest**: the lock only.

Change a key's role or take it back from the list of key holders. Each role's permissions are in [Configuration](/script-documentation/cas-housing/configuration.md#key-roles). Up to 8 keys per home (`Config.Keys.Max`).

## Knocking

A player without a key gets **Knock** at the door of an owned home and knocks with Rockstar's own knock. The key holders inside whose role may let people in read "*Name* is at the door" and answer:

* **Let in**: the doors open for that player alone for 60 seconds. The lock stays turned.
* **Ignore**, or no answer within 30 seconds: the visitor reads "No one came to the door".

All of it is in `Config.Knock`.

## The lock

Owners and key holders lock and unlock at the door (**Lock** / **Unlock** prompt) or from the menu. The server owns every lock, so every player sees the same door.

## Wake up here

**Wake up here** chooses this home's bed. Your spawn script then puts you there; see [For developers](/script-documentation/cas-housing/developers.md#spawning-at-home).

## Storage and the wardrobe

Storage and the wardrobe live in the furniture:

* Walk up to a placed **chest, trunk, cabinet or dresser** and press **Open**. It opens next to your own inventory.
* Walk up to an **armoire or a vanity** and press **Wardrobe**.

`Config.HomeMenu = { Storage = true, Wardrobe = true }` adds buttons for both to the home menu as well.
