0r Apartment V2 is an apartment and room management script for ESX and QBCore servers. Script only: no MLO or map files are included, so you need to add your own apartment MLOs or maps and set them up in the config.
Features
- Rent rooms in apartment buildings through a tablet-style interface, with sample apartments already set up in
shared/config.lua - Live stash: create multiple stashes inside your room
- Room theft: optional entry into rooms without permission using a lockpick (configurable)
- Utility management for electricity, water, gas and power, which you can connect to other scripts
- Room CCTV, custom wall colors and light switches
- Furniture placement with object_gizmo support
- Room permissions and transfer of ownership to friends
- Weed DLC: grow, dry and process weed using your room’s water
- Metadata Support: stores room metadata
- Elevator for apartment buildings, with a
/elevatorfixcommand if it gets stuck - Configurable room limit per player and starting apartment option
Compatibility
- Framework bridges for ESX and QBCore
- Inventory: ox_inventory, qb-inventory, qs-inventory or custom
- Target: ox_target or qb-target; text UI: ox_lib, qb or drawtext
- Notifications: ESX, QBCore or custom
- Phone: qb-phone, Stache phone, LB Phone, LS phone, qs-smartphone or custom
Requirements
ox_libandoxmysql- 0R Lib (
0r_lib), not included in this download - Your own apartment MLO or map resources
Supplied package and installation
The archive contains the 0r-apartment script, manifest version 2.0.0, and no streamed map assets. Supply the MLO or shell resources required by your configuration separately. The manifest loads ox_lib and oxmysql, requires 0r_lib and declares a Cfx asset-pack dependency.
Review database.sql before importing it into an existing database. Configure shared/config.lua, the matching framework bridge and integration functions in client/utils.lua. The included README documents /elevatorfix for elevator issues.