Housing System V2 by TK Scripts is an all-in-one FiveM housing script for ESX and QBCore: admins create properties in game, players buy or rent them, furnish them and park vehicles in garages. The framework-specific code sits in separate files, so another framework can be added.
Creating properties
- Admins and real estate agents create properties within seconds, houses and garages in the same script.
- Shells, IPLs and MLOs/YMAPs as interiors; price, rent, yard, doors, interiors and image are configurable.
- Rent is paid automatically in configurable intervals, and when a player cannot pay, the ownership of the property is removed.
- A premade property list in the config with more than 500 entries and over 180 K4MB1 shells listed (most of them are paid shells).
- A fallback for shells that are not installed: the loader tries known alternatives when the model does not load.
Living in the property
- Property codes, locking and unlocking doors, lockpicking and doorbell; other players can lockpick with a lockpick item.
- Permission system that defines what each player may do in the property.
- Furnishing menu to place, move and remove furniture, with a furniture cart and a gizmo mode for precise placement.
- Storage boxes and wardrobes with their own codes and permissions.
- Yard areas that are customized like interiors, with yard furniture that only shows nearby.
- Property list to buy and sell properties; admins can create, edit and remove properties in game.
Requirements and setup
- ESX or QBCore with mysql-async or oxmysql; the framework is switched in
config.lua(Config.Framework). - ox_target is used for the interaction zones, ox_lib is optional; the inventory system is configurable (default, ox, quasar, qb-core) and the clothing system too (default, illenium).
- English and Finnish are included in
locales, every text can be translated. - Import
tk_housing.sqlinto your database, drop the resource into yourresourcesfolder and starttk_housingin yourserver.cfg.