Skip to content

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

CommandArgumentsDescription
/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:

LegacyEquivalent
/assign_location [stateId] [locationId]/housing_give
/tp_house [locationId]/housing_tp

Teleport & debug

CommandArgumentsDescription
/housing_tp[locationId]Teleport to property interior
/housing_tp_door[locationId] [door]Teleport to exterior door (default door 1)
/housing_nearbyNearest property within search radius
/housing_contextFull debug context for nearest property (F8 console)
/housing_debugToggle Config.Debug and F8 log level

Search radius for nearby/context commands: Config.Admin.searchRadius (default 150.0 m).

Access

CommandArgumentsDescription
/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

CommandArgumentsDescription
/register_housingOpen property creator (mark doors, then save)
/edit_housing[locationId]Edit existing location metadata
/free_load[locationId]Toggle unlimited furniture placement
/show_accessOpen world zone access menu
/housing_give_furniture[model]Give placeable furniture item
/housing_give_keyGive 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).

CommandArgumentsDescription
/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

CommandArgumentsDescription
/housing_projectlist [housingId|locationId]List saved projects
/housing_projectsave [housingId|locationId] [name]Save current property state as project
/housing_projectapply [housingId|locationId] [id|name]Apply project and set as active
/housing_projectdelete [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

  1. Ensure prp-housing-v2, ox_doorlock, and housing shells are started.
  2. Create or pick a location — Creating properties.
  3. /housing_give [stateId] [locationId] — assign test property.
  4. /housing_tp_door [locationId] 1 — stand at the door.
  5. /housing_context — verify owner, ox door id, access, lock state in F8.
  6. Interact with the door (target or E) — with access, door should open when openOnAccess is enabled.

Server console

CommandDescription
generate_housing_jsonExport locations from DB to housing_locations.json
fix_old_storagesMigrate legacy cabinet storage categories

Debug logging

  • Default: Config.Debug = false in config/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.