For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Follow these steps to install rcore_housing for the first time.

📋 Prerequisites

Before installing, make sure your server has:

Requirement
Notes

Artifact 5104 or newer

Older artifacts can break the resource.

OneSync

Required for property instances and synced entities.

Database

oxmysql

Framework

ESX, QBCore, QBox

Inventory

Needed for property_key, lockpick, battering_ram, and any storage furniture.

🛠️ First Time Installation

1

Download the resource

Download rcore_housing from the CFX Portal.

2

Move the folder

Move the folder into your server 📁resources folder.

📁 server
└── 📁 resources
    ├── 📁 [housing]
    │   └── 📁 rcore_housing
    └── 📁 (other resources)
3

Add inventory items

Items auto-deploy on script start - no action needed.

Copy the items from rcore_housing/assets/inventory/ into your inventory resource.

Copy item images from rcore_housing/assets/inventory/inventory_images/ into your inventory's image folder (e.g. ox_inventory/web/images/).

See the inventory integration page for the per-inventory item definitions.

4

Configure the real-estate job

The realestate job is auto-defined on first boot - no action needed.

Copy the job from rcore_housing/assets/jobs/jobs.lua into your shared jobs config (e.g. qb-core/shared/jobs.lua or qbx_core/shared/jobs.lua):

['realestate'] = {
    label = 'Real Estate',
    defaultDuty = true,
    offDutyPay = false,
    grades = {
        ['0'] = { name = 'trainee',    label = 'Trainee Agent',   payment = 100 },
        ['1'] = { name = 'agent',      label = 'Sales Agent',     payment = 150 },
        ['2'] = { name = 'senior',     label = 'Senior Agent',    payment = 200 },
        ['3'] = { name = 'supervisor', label = 'Sales Supervisor',payment = 250 },
        ['4'] = { name = 'manager',    label = 'Office Manager',  payment = 300 },
        ['5'] = { name = 'director',   label = 'Director',        payment = 400 },
    },
},

The job name (realestate) and grade 5 (director) are the defaults used by the real-estate business module. Rename them in config.lua if you change the job here.

5

Enable dynamic door creation

rcore_housing creates property doors at runtime. Add this convar to your server.cfg:

setr game_enableDynamicDoorCreation "true"

Without it, doors on dynamically spawned interiors will not be interactable.

6

Install and ensure your shells

rcore_housing comes with built-in support for K4MB1 shells, but the shell resource itself is not part of the package. Think of it this way: rcore_housing knows how to use the shells, but it does not contain them.

Two important rules:

  1. Shell resources must start before rcore_housing — otherwise the script won't find the shell models when it loads.

  2. Do not put shell resources inside the [housing] folder — keep them in their own separate folder.

Here is how your server.cfg and folder structure should look using K4MB1 shells as an example:

📁 resources
├── 📁 [shells]
│   └── 📁 K4MB1-StarterPack       ← your shell resource (NOT inside [housing])
├── 📁 [housing]
│   └── 📁 rcore_housing
└── 📁 (other resources)
# server.cfg — ensure order matters!

ensure [framework]
ensure [database]
ensure [inventory]

# Shells MUST come before housing
ensure K4MB1-StarterPack

# Housing comes after shells are loaded
ensure [housing]

See the Shells & IPLs page for the full list of supported shells and how to register custom ones via the in-game Interior Creator.

7

Ensure the resource

Add rcore_housing to your server.cfg after your framework, database, inventory, target, dispatch, and shell resources:

ensure [framework]
ensure [database]
ensure [inventory]


ensure [housing]
8

Start the server

Start the server once. rcore_housing creates all of its database tables automatically on first boot and seeds the default SHELL and IPL interior catalog.

Join the server and run /housing in-game to open the property manager.

9

Seed prepared properties (optional)

To populate the map with a set of ready-made properties, run the following command in the server console:

rcore_housing_seed_houses

This creates the bundled prepared properties so you have something to work with right away.

Once the command finishes, restart the script and enjoy your predefined properties.

🗄️ Database

rcore_housing creates its own database tables automatically on startup. You do not need to import an SQL file manually.

See the database integration page for the full table list.

Used for furniture previews, marketplace listings, and custom uploads. Without it, metadata still saves - just no images.

1

Create an API key

Sign in at fivemanage.com via Discord and create an API key.

2

Configure the service

Open sconfig.lua and set:

3

Restart the resource

The "photo-disabled" warning in the admin panel disappears once the key is active.

Leave Service = PhotoStorageType.NONE to keep photos off.

🏠 Custom shells (optional)

Ships with built-in K4MB1 shells and pre-made offsets ready to use. Any other shell or IPL can be registered in-game as admin via /housingInterior Creator - no config file editing required.

See the shells & IPLs integration page for the full built-in list and creator walkthrough.

Last updated