> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_housing/features/commands-and-permissions.md).

# Commands and Permissions

`rcore_housing` exposes a small set of player and admin commands. Most are bound to ACE permissions, framework admin groups, or job grades.

## ⌨️ Slash Commands

| Command            | Config Key                          | Default           | Audience                     |
| ------------------ | ----------------------------------- | ----------------- | ---------------------------- |
| `/housing`         | `Config.Commands.PropertyManager`   | `housing`         | Admins + real-estate agents  |
| `/peditor`         | `Config.Commands.PropertyEditor`    | `peditor`         | Inside owned/rented property |
| `/pfurniture`      | `Config.Commands.PropertyFurniture` | `pfurniture`      | Inside owned/rented property |
| `/realestate`      | `Config.Commands.Business`          | `realestate`      | Real estate agency staff     |
| `/marketplace`     | `Config.Commands.Marketplace`       | `marketplace`     | Everyone                     |
| `/housing_console` | `Config.Commands.DebugConsole`      | `housing_console` | Debug-permission only        |

Rename any command in `config.lua` - see [main config](/paid-resources/rcore_housing/configuration/config.md).

## 🖥️ Console Commands

| Command                 | Description                                                   |
| ----------------------- | ------------------------------------------------------------- |
| `rcore_housing_debug`   | Dump diagnostic info about active bridges and loaded players. |
| `rcore_housing_players` | List currently loaded players and their housing state.        |

## 🛡️ Admin Groups

```lua
Config.PropertyCreator.AdminGroups = { god = true, admin = true }
```

Per-framework admin groups are defined in `configs/config.integrations.lua` - see [integrations configuration](/paid-resources/rcore_housing/configuration/integrations.md). Anyone in one of these groups receives every `nil`-permission in the property creator.

## 🪪 Property Creator Permissions

`Config.PropertyCreator.Permissions` maps each action key to a **minimum job grade**. A value of `nil` means *admin only*.

| Key                           | Default Grade | Action                                  |
| ----------------------------- | ------------- | --------------------------------------- |
| `PAGE_CREATE_PROPERTY`        | `0`           | Open Create Property page.              |
| `PAGE_ALL_PROPERTIES`         | `nil`         | Open All Properties page.               |
| `PAGE_ALL_FURNITURE`          | `nil`         | Open All Furniture page.                |
| `PAGE_INTERIOR_CREATOR`       | `nil`         | Open Interior Creator.                  |
| `PROPERTY_CREATE`             | `0`           | Create standard properties.             |
| `PROPERTY_CREATE_BUILDING`    | `1`           | Create buildings / apartment complexes. |
| `PROPERTY_CREATE_UNIT`        | `0`           | Create units inside a building.         |
| `PROPERTY_BATCH_CREATE_UNITS` | `1`           | Batch-create multiple units at once.    |
| `PROPERTY_IMPORT_PRESET`      | `nil`         | Import property from a preset file.     |
| `PROPERTY_VIEW_ALL`           | `nil`         | View all properties on the server.      |
| `PROPERTY_TELEPORT`           | `0`           | Teleport to a property.                 |
| `PROPERTY_SET_GPS`            | `0`           | Set a GPS waypoint to a property.       |
| `PROPERTY_EXPORT_PRESET`      | `nil`         | Export a property as a preset.          |
| `PROPERTY_DELETE`             | `3`           | Delete a single property (boss only).   |
| `PROPERTY_BATCH_DELETE`       | `3`           | Batch-delete properties (boss only).    |
| `FURNITURE_BROWSE`            | `nil`         | Browse the furniture database.          |
| `FURNITURE_ADD`               | `nil`         | Add new furniture items.                |
| `FURNITURE_EDIT_METADATA`     | `nil`         | Edit furniture metadata.                |
| `FURNITURE_DELETE`            | `nil`         | Delete furniture.                       |
| `FURNITURE_BATCH_DELETE`      | `nil`         | Batch-delete furniture.                 |
| `FURNITURE_TAKE_PHOTOS`       | `nil`         | Take furniture photos for listings.     |
| `FURNITURE_PROCESS_PHOTOS`    | `nil`         | Process queued furniture photos.        |
| `FURNITURE_SEARCH_PROPS`      | `nil`         | Search server props.                    |
| `FURNITURE_BULK_ADD`          | `nil`         | Bulk-add furniture from presets.        |
| `INTERIOR_CREATOR`            | `nil`         | Create / delete custom SHELLs and IPLs. |

## 🧑‍💼 Job & Business Access

```lua
Config.PropertyCreator.EnableForAllBusinessJobs = true
Config.PropertyCreator.JobAccess = {}
Config.PropertyCreator.JobOverrides = {}
```

`EnableForAllBusinessJobs` grants property-creator access to every job in `Config.Business.Jobs`. Override per job with `JobOverrides`, or restrict to a hand-picked list with `JobAccess`.

## 🔑 ACE Permissions

| Permission      | Used For                                                                     |
| --------------- | ---------------------------------------------------------------------------- |
| `housing.debug` | Open `/housing_console` even when the player is not in `AllowedIdentifiers`. |
