> For the complete documentation index, see [llms.txt](https://sbscripts.gitbook.io/sb-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sbscripts.gitbook.io/sb-scripts/sb-multispawn/housing.md).

# Housing

* **Houses:** `Config.Housing.Houses = true` shows every house the character owns in `player_houses`, with its entrance and label from `houselocations`. This is the same lookup qb-spawn uses.
* **Apartments:** `Config.Housing.Apartments = true` shows the character's apartment from the `apartments` table. Building entrances are set in `Config.Housing.ApartmentLocations`. The keys must match the apartment `type` column, which is `apartment1` to `apartment5` by default.
* **Starter apartments:** `Config.Housing.StarterApartments = true` lets new characters choose one of those buildings as their starter apartment.
* **Custom providers:** add them to `Config.Housing.Custom`. Each one has a server `fetch` that returns properties, and a client `spawn` that puts the player inside.

### House not showing?

Set `Config.Debug = true`. The server console then prints why each house or apartment was skipped.
