Staff commands
Staff commands require admin permission (Config.Admin.permission, default group.admin). They are registered through prp-bridge.
Use /housing_help in-game for a quick list.
Property management
| Command | Arguments | Description |
|---|---|---|
/housing_give | [stateId] [locationId] | Assign a property to a character (creates housing record) |
/housing_revoke | [locationId] | Remove ownership and housing data for a location |
/housing_transfer | [locationId] [stateId] | Transfer ownership to another character |
/housing_info | [locationId] | Show location and owner info (nearest location if omitted) |
/housing_list | [stateId] | List properties for one character, or all owned properties |
Legacy aliases
These call the same handlers as the housing_* commands above:
| Legacy | Equivalent |
|---|---|
/assign_location [stateId] [locationId] | /housing_give |
/tp_house [locationId] | /housing_tp |
Teleport & debug
| Command | Arguments | Description |
|---|---|---|
/housing_tp | [locationId] | Teleport to property interior |
/housing_tp_door | [locationId] [door] | Teleport to exterior door (default door 1) |
/housing_nearby | — | Nearest property within search radius |
/housing_context | — | Full debug context for nearest property (F8 console) |
/housing_debug | — | Toggle Config.Debug and F8 log level |
Search radius for nearby/context commands: Config.Admin.searchRadius (default 150.0 m).
Access
| Command | Arguments | Description |
|---|---|---|
/housing_access_list | [locationId] | List keyholders |
/housing_access_add | [stateId] [locationId] | Add keyholder |
/housing_access_remove | [stateId] [locationId] | Remove keyholder |
Legacy: /add_access_to_house, /remove_access_to_house.
Creator & tools
| Command | Arguments | Description |
|---|---|---|
/register_housing | — | Open property creator (mark doors, then save) |
/edit_housing | [locationId] | Edit existing location metadata |
/free_load | [locationId] | Toggle unlimited furniture placement |
/show_access | — | Open world zone access menu |
/housing_give_furniture | [model] | Give placeable furniture item |
/housing_give_key | — | Give master key item |
Step-by-step creator guide: Creating properties.
Shells & real estate
Shell commands and the real estate panel are available to housing staff as defined by Config.HousingStaff.mode / jobs, gated further by job grade (Config.RealEstate.grades).
| Command | Arguments | Description |
|---|---|---|
/importshellpack | [file] | Convert an external shell config from shells/import/[file].json into a native pack |
/testshell | [packId.shellId] | Open the door-offset finder for a shell |
Open the panel with the realtor_tablet item or the real estate radial. Agents can list/sell properties, manage owners, and create shell-backed properties. See Real estate.
Related
Maintenance fees are active (payer / auto-charge / seizure). Full rent is available — Rent. Market / auctions: Market, Auctions & offers.
Property projects
| Command | Arguments | Description |
|---|---|---|
/housing_project | list [housingId|locationId] | List saved projects |
/housing_project | save [housingId|locationId] [name] | Save current property state as project |
/housing_project | apply [housingId|locationId] [id|name] | Apply project and set as active |
/housing_project | delete [housingId|locationId] [id|name] | Delete a project |
Players with SETTINGS privilege use the in-property radial menu or /housing_menu for the same project actions.
Testing workflow
- Ensure
prp-housing-v2,ox_doorlock, and housing shells are started. - Create or pick a location — Creating properties.
/housing_give [stateId] [locationId]— assign test property./housing_tp_door [locationId] 1— stand at the door./housing_context— verify owner, ox door id, access, lock state in F8.- Interact with the door (target or E) — with access, door should open when
openOnAccessis enabled.
Server console
| Command | Description |
|---|---|
generate_housing_json | Export locations from DB to housing_locations.json |
fix_old_storages | Migrate legacy cabinet storage categories |
Debug logging
- Default:
Config.Debug = falseinconfig/sh_config.lua. - Toggle at runtime:
/housing_debug(admin only). - Logs appear in the F8 client console via
lib.print.debug(ox_lib print level).
Do not rely on debug mode for permissions — admin commands always require admin ACE/group.