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
| Resource | What it is |
|---|---|
sd-housing | The script: properties, keys, locks, the home panel, security, decorating, the realtor and the admin panel. |
sd-housing-assets | Every model and texture sd-housing streams. Required. |
sd-housing-interiors | The walk-in pack: generated interiors inside 180 of the game's own houses, with 15 detached garages and 25 working garage doors. |
sd-housing-towers | Four apartment towers with 502 flats, lobbies, lifts and P1 garages. |
Key Features
Three kinds of property
| Kind | How players get inside |
|---|---|
| Walk-in houses | Through 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 flats | Through 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 properties | At 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
| System | Supported |
|---|---|
| Framework | Qbox / QBCore or ESX, detected at start |
| Shared utilities | ox_lib (required) |
| Database | oxmysql (required) |
| Target | ox_target, qb-target or qtarget. Without one, sd-housing shows a prompt. The towers need ox_target. |
| Inventory | ox_inventory for stashes, safes and parcels |
| Garages | qbx_garages |
| Wardrobe | A clothing resource, opened through a client event (illenium-appearance by default) |
| Phones | lb-phone, qb-phone, sd-phone, npwd, qs-smartphone-pro, qs-smartphone, gcphone, gksphone, yseries, roadphone, codem-phone |
| Dispatch | ps-dispatch, cd_dispatch, lb-tablet, origen_police, tk_dispatch, rcore_dispatch, fd_dispatch, mt_dispatch, qs-dispatch, redutzu-mdt, sd-phone (its MDT) |
| Voice | pma-voice for intercom calls |
The inventory, garage and wardrobe integrations are optional. A property only offers what is running.
File Structure
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, realtorbridge/ and configs/ ship open in the escrowed version.
Quick Links
- Installation: dependencies, start order, permissions, items and the first import.
- Configuration: which file controls each feature.
- Walk-in Houses: the interiors pack, import, pricing and regions.
- Apartment Towers: flats, the front desk, starter flats and the admin command.
- Realtor, Buying & Selling: listings, the agency, the realtor job and sales.
- Keys, Locks & Property Page: doors, keys, stash, wardrobe and garage.
- Home Panel, Doorbell & Mailbox: the wall tablet and what it does.
- Security: cameras, intercom, alarm, break-ins, safes and the battering ram.
- Decorating & Building: furniture, walls, floors, finishes, windows and doors.
- Teleport Properties & Shell Creator: GTA interiors, shell packs and built shells.
- Admin Panel: permissions, tabs and making properties.
- Commands, Exports & Events: the API for other resources.
- Updating and Troubleshooting.
