Skip to content

Advanced Housing v0.6.0 ​

Advanced Housing (sd-housing) is a property system for FiveM: ownership, keys, door locks, a home panel on the wall of every house, security, decorating and an admin panel. It is built for the walk-in houses of sd-housing-interiors and the apartment towers of sd-housing-towers, and it also works for any building with doors.

Beta

Advanced Housing is in beta. It is a heavy work in progress: expect bugs, optimisation work and frequent updates until version 1.0.0. Back up your database before every update and read Updating.

First time installing?

Start with Installation. It covers all four resources, the start order and the first import of the walk-in houses.

The Four Resources ​

ResourceWhat it is
sd-housingThe script: properties, keys, locks, the home panel, security, decorating, the realtor and the admin panel.
sd-housing-assetsEvery model and texture sd-housing streams. Required.
sd-housing-interiorsThe walk-in pack: generated interiors inside 180 of the game's own houses, with 15 detached garages and 25 working garage doors.
sd-housing-towersFour apartment towers with 502 flats, lobbies, lifts and P1 garages.

Key Features ​

Three kinds of property ​

KindHow players get inside
Walk-in housesThrough the house's own front door. The rooms are inside the building, so there is no teleport and no loading screen. Most houses have a basement reached by stairs.
Tower flatsThrough the tower's lobby and its lifts, then the flat's own door on its floor. The flats are inside the tower. The lifts of Eclipse Towers, Tinsel Towers and Del Perro Heights move players between stops with a screen fade.
Teleport propertiesAt an entrance in the world. The inside is a GTA interior, a shell model or a shell built in game with the Shell Creator, and every property is a world of its own.

A property can also be made by hand at any building: an admin stands at its door, adds the property and picks its doors from the world.

Buying and selling ​

  • A realtor page with every house for sale: a list beside a map, search, sorting, photos, floor plans, a GPS route and a look at the house from the street.
  • An agency desk anyone can walk up to, and a realtor job whose players sell a house to the client beside them for a commission.
  • Selling back to the market for a share of the price, or giving the property to another player.

Keys and locks ​

  • Every door of a property is in the game's door system and locked or unlocked by the server.
  • Keys can be limited to doors, stash, wardrobe, garage or decorating, and lent for an hour, a day, a week or until taken back.
  • A property page lists every property a player owns or holds a key to.

Home panel and security ​

  • A wall tablet inside every house shows the time and the floor plan, and opens the property page on its screen.
  • Doorbell, intercom with voice, notes for the household and a mailbox for letters and parcels.
  • Cameras placed by hand, an alarm with a keypad and PIN, lockpicking, safes that can be cracked and a police battering ram.

Decorating ​

  • A catalogue of 446 furniture pieces, plus 86 light fittings that light the room, picture frames and safes.
  • Walls, floors, stairs and doors built in the room. Tall houses can become two storeys.
  • Paint, wallpaper and flooring for the house's own surfaces, door styles, window glass and treatments, garage door designs and joinery.

Admin panel ​

One panel (/housingadmin) with an overview, every property in a drawer, a map of all houses, every lock on the server and a log.

Compatibility ​

SystemSupported
FrameworkQbox / QBCore or ESX, detected at start
Shared utilitiesox_lib (required)
Databaseoxmysql (required)
Targetox_target, qb-target or qtarget. Without one, sd-housing shows a prompt. The towers need ox_target.
Inventoryox_inventory for stashes, safes and parcels
Garagesqbx_garages
WardrobeA clothing resource, opened through a client event (illenium-appearance by default)
Phoneslb-phone, qb-phone, sd-phone, npwd, qs-smartphone-pro, qs-smartphone, gcphone, gksphone, yseries, roadphone, codem-phone
Dispatchps-dispatch, cd_dispatch, lb-tablet, origen_police, tk_dispatch, rcore_dispatch, fd_dispatch, mt_dispatch, qs-dispatch, redutzu-mdt, sd-phone (its MDT)
Voicepma-voice for intercom calls

The inventory, garage and wardrobe integrations are optional. A property only offers what is running.

File Structure ​

text
sd-housing/
├── fxmanifest.lua
├── configs/
│   ├── config.lua              # Debugging and the list of config files
│   └── shared/                 # One file per feature
├── bridge/                     # Framework, target, inventory, phone, dispatch, voice, society
├── locales/                    # Translations
├── docs/                       # Technical notes shipped with the resource
└── web/build/                  # Admin panel, decorate mode, property page, home panel, realtor

bridge/ and configs/ ship open in the escrowed version.