VehiclesMajor rebuild

drs_garages

Safer storage for personal, property, impounded, and work vehicles.

Stores cars, boats, and aircraft on Qbox, QB-Core, and ESX servers. It includes property garages, impounds, job fleets, and checks that help prevent lost or duplicated vehicles.

QboxQBCoreESXAlso works with 10 other systems
Download latest code This is the latest code from GitHub, not a packaged release. Test it before using it on a live server.
Setup guide
Version
2.6.0-drs.1
Updated
Aug 29, 2026
License
GPL-3.0
Code access
Open-source code
Status
Stable
Resource previewVehicle browser
1 of 6
screenshotVehicle browser

Browse stored personal and society vehicles with live fuel, engine, body, and availability status.

Vehicle browserBrowse stored personal and society vehicles with live fuel, engine, body, and availability status.
01 / OVERVIEW

What it does

Type
Vehicle garage system for several frameworks
Best for
Personal, property, impounded, and job-owned vehicles
Coverage
Car, boat, and aircraft garages

drs_garages turns Lunar Garage into a DRS garage system for Qbox, QB-Core, and ESX. Players use a compact menu to browse, park, and retrieve personal or job-owned cars, boats, and aircraft. Servers can offer several interaction styles, including point-and-click targets, TextUI, radial menus, and keybinds.

Before a vehicle is parked, retrieved, impounded, or transferred, the server checks who owns it, what it is, where it is, whether someone is inside, and whether another garage action is already running. If the database or a required connection is not ready, the action stops instead of risking bad data.

02 / HOW IT WORKS

How parking and retrieval work

  1. 01

    Open a garage you can use

    Use the attendant, TextUI point, nearby radial menu, or keybind. The server checks whether it is a personal, job, or property garage.

  2. 02

    Retrieve the saved vehicle

    Before creating it, the server checks ownership, job rank, stored state, vehicle type, spawn space, active copies, and vehicle identity. It then locks the vehicle and gives the player keys.

  3. 03

    Park the same vehicle

    While parking, the script checks movement, passengers, location, access, and the networked vehicle before saving that exact vehicle back to the database.

  4. 04

    Recover safely after changes or restarts

    Impounds, property access, transfers, job fleets, and server restarts use saved records and locks so the script does not blindly repeat an old action.

03 / FEATURES

Core features

01

Safer parking and retrieval

Check the exact database record, owner, vehicle type, stored state, active copies, location, passengers, and running garage actions before parking or retrieval.

02

Database checks before use

Add only missing QB or Qbox fields, require unique full plates, leave unclear records untouched, and stop database actions when a safety check fails.

03

Impound and property operations

Protect reasoned enforcement impounds, fees, delayed towing, property owner and keyholder access, garage interiors, and recovery across restarts.

04

Vehicle transfers and job fleets

Save boss-approved donations and fleet changes, enforce garage and minimum-rank rules, and support checked job purchases through drs_vehicleshop.

What changed in this edition

Support for three frameworks

The drs_garages folder includes connections for Qbox, QB-Core, and ESX, with clear requirements for OneSync, ox_lib, and oxmysql.

Safer database and storage checks

Global, specific-garage, and property storage modes use non-destructive database checks, consistent plate rules, per-vehicle locks, and duplicate-vehicle checks.

Impounds, properties, transfers, and fleets

Enforcement impounds, property garages, restart recovery, vehicle transfers, job-fleet management, and DRS Vehicle Shop delivery use the same checked parking system.

Several ways to open a garage

Players can use the compact built-in menu, an ox_lib menu, point-and-click targets, TextUI, a nearby radial menu, interior parking, or the existing E/G keys.

More features8 more items
  • Searchable personal and society vehicle panel with live status and condition
  • Dynamic property garages with owner and keyholder access
  • Stock QB housing discovery and apartment-safe public parking
  • Protected reason, fee, officer, and delayed-tow impound records
  • Fleet Manager for bosses and administrators, with job-rank access
  • Automatic ox_fuel, LegacyFuel, ps-fuel, cdn-fuel, BigDaddy-Fuel, or native fuel handoff
  • English and Czech locales
  • Restricted setup checker with clear PASS, WARN, and FAIL results
04 / SETUP OPTIONS

What you can change

These are the main parts you can adjust for your server. The setup guide lists every option and example.

  • Global, exact-garage, or property-aware storage mode
  • Automatic database upgrade or read-only checks
  • Point-and-click targets, TextUI, radial menus, keybinds, and menu style
  • Public, job, property, interior, and impound locations
  • Parking time, speed, distance, passenger, and spawn-space checks
  • Enforcement jobs, reasons, fees, release rules, and ambient removal
  • Vehicle-transfer actions, permissions, distances, and recovery rules
  • Job-fleet garages, models, ranks, approved scripts, and job banking
  • Keys, fuel, properties, housing, and vehicle-shop integrations
See every setup option
05 / REQUIREMENTS

What it works with

Server framework
QboxQBCoreESX
Required
ox_lib, oxmysql, and OneSync
Interaction
Optional ox_target, qb-target, or qtarget; TextUI fallback
Keys
qbx_vehiclekeys, qb-vehiclekeys, or a custom ESX hook when enabled
Resource name
Must remain drs_garages
Also works with
QBX PropertiesQB HousesDRS Vehicle ShopQBX RadialmenuQB Radialmenu
See all requirements and setup options
Technical details3 details
Runtime
FiveM Lua with OneSync
Interface
HTML, CSS, JavaScript NUI with ox_lib fallback
Database
oxmysql with framework vehicle rows and DRS recovery records
06 / LIMITATIONS

Known limitations

  • There is no packaged GitHub release yet. Save the exact tested code version used by your server instead of automatically following future changes.
  • Qbox full vehicle persistence also controls vehicles in the world. Set it to semi or turn it off before the DRS database checks can pass.
  • The default ESX database layout supports global storage only. ESX servers must also turn off key handoff or connect their own key script.
  • Vehicle transfers allow only boss-approved donations from a player to a job by default. Player sales and withdrawals from a job fleet must be enabled separately.
More limitations2 more items
  • The enforcement vehicle action is not available through TextUI and requires a supported point-and-click target system.
  • Property garages require the current DRS-ready qbx_properties build. The folders must keep the names drs_garages and qbx_properties, and drs_garages must start first.
07 / ORIGINAL PROJECT

Changes from the original

Original projectLunar Scripts lunar_garage
Base version2.0.3

This edition keeps the GPL-3.0 Lunar foundation, renames the resource, and expands its framework support, database checks, garage access, vehicle operations, and connections to other DRS resources.

Differences between Lunar Scripts lunar_garage and this drs_Dev edition
AreaOriginaldrs_Dev edition
Name and APIlunar_garage name and functionsdrs_garages name with documented DRS functions
FrameworksBuilt mainly for ESX and QBLoads Qbox, QB-Core, or ESX and warns when setup is unclear
StorageShared garage behaviorGlobal, specific-garage, and property modes with vehicle-type and access checks
DatabaseNormal framework storage updatesSafe additive upgrades, startup checks, unique plates, action locks, and recovery records
FeaturesGarages and basic impoundsSafer parking, enforcement, transfers, job fleets, properties, and vehicle-shop delivery
08 / INSTALLATION
Ready to install?

Open the setup guide

The guide covers requirements, installation, server setup, connections to other resources, and troubleshooting.

Read the installation guide
09 / VERSION & SOURCE CODE

Version and source code

Latest version

v2.6.0-drs.1Public release · Aug 29, 2026
  • Added Contract V2 with separate transfer rules, recovery after interruptions, and tools for administrators to review transfers.
  • Added managed job fleets with donations, grade policy, garage moves, retirement, ACE issuance, and protected society purchases through drs_vehicleshop.
  • Includes the safer database, storage, impound, property, radial-menu, parking, and compact-interface work from DRS versions 2.2 through 2.5.
View change history

Credits and license

Project type
Major rebuild
Maintainer
DrSnyder
License
GPL-3.0
Code access
Open-source code

DRS-maintained GPL-3.0 rework of Lunar Scripts lunar_garage 2.0.3. Lunar Scripts attribution and the original GPL license remain in the public repository.

View source code on GitHub