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

# Exports

<details>

<summary>Server Side</summary>

It gives the table of all the houses owned by the person through the identifier. If you make the 2nd parameter, includeKeys, true, it gives the table with the houses owned by the key.<br>

```lua
exports['cylex_housing']:getOwnedHouses(identifier, includeKeys)
```

It gives the data of all the houses.

```lua
exports['cylex_housing']:getHousesData()
```

</details>
