VehiclesRework

drs_garages

A safer lifecycle for personal, property, impound, and fleet vehicles.

A multi-framework car, boat, and aircraft garage system with protected storage, impounds, property access, managed job fleets, and deployment diagnostics.

QboxQBCoreESX+10 integrations
Download Current main branch snapshot, not a tagged release package
Documentation
Version
2.6.0-drs.1
Updated
Aug 29, 2026
License
GPL-3.0
Source
Open source
Readiness
Stable
Resource previewVehicle browser
1 / 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.
On this page10 sections
01 / OVERVIEW

What it does

Type
Multi-framework vehicle garage system
Best for
Protected personal, property, impound, and job-fleet storage
Coverage
Car, boat, and aircraft garages

drs_garages reworks Lunar Garage into a DRS-namespaced storage system for Qbox, QB-Core, and ESX. Players can browse personal and society vehicles through a compact NUI or ox_lib fallback, retrieve and park from target, TextUI, radial, or keybind paths, and keep cars, boats, and aircraft in their intended storage pools.

Database-backed actions fail closed until the framework schema, full-column plate uniqueness, OneSync, and configured integrations pass readiness checks. Server-side ownership, identity, type, position, occupancy, state, and operation-lock validation protects takeout, parking, impound, property, contract, and managed-fleet transitions.

02 / HOW IT WORKS

One validated vehicle lifecycle

  1. 01

    Open an accessible garage

    Use its attendant, TextUI point, nearby radial action, or configured keybind; the server resolves the current personal, society, or property scope.

  2. 02

    Retrieve the trusted record

    The server revalidates ownership, grade, storage state, type, spawn clearance, active entities, and vehicle identity before presenting a locked vehicle and issuing keys.

  3. 03

    Park through the same authority

    A cancellable progress step monitors movement, occupants, location, access, and network identity before the exact database row and entity are committed to storage.

  4. 04

    Recover and manage deliberately

    Impounds, property access, contracts, fleet mutations, and restart reconciliation use dedicated records, locks, diagnostics, and review states rather than blind replay.

03 / WHAT CHANGED

What changed in this edition

01

DRS runtime and framework paths

The exact drs_garages namespace ships with loaded Qbox, QB-Core, and ESX adapters plus explicit OneSync, ox_lib, and oxmysql dependencies.

02

Storage and schema safeguards

Global, exact-garage, and property-aware storage modes sit behind non-destructive schema checks, normalized plate rules, per-plate locks, and active-entity validation.

03

Operational vehicle systems

Protected enforcement impounds, property garages, restart recovery, Contract V2, job-fleet management, and DRS Vehicle Shop handoff share the same authoritative lifecycle.

04

More ways to reach a garage

Compact NUI and ox_lib context views work with target, TextUI, nearby radial access, interior parking, and the existing E/G interaction path.

04 / FEATURES

Core features

01

Authoritative storage lifecycle

Validate the exact framework row, ownership scope, type, stored state, active entity, location, occupants, and operation lock before takeout or parking.

02

Non-destructive database readiness

Add only missing QB/Qbox compatibility fields, require full-column plate uniqueness, preserve ambiguous rows, and stop database actions when readiness 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

Managed contracts and job fleets

Journal boss donations and fleet mutations, enforce garage and minimum-grade policy, and support protected society purchases through drs_vehicleshop.

Additional capabilities8 supporting features
  • 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
  • Boss and administrator Fleet Manager with grade-aware access
  • Automatic ox_fuel, LegacyFuel, ps-fuel, cdn-fuel, BigDaddy-Fuel, or native fuel handoff
  • English and Czech locales
  • Restricted PASS, WARN, and FAIL deployment doctor
05 / CONFIGURATION

Configurable systems

The resource exposes these major systems for server-specific setup. Exact options and examples remain in the technical documentation.

  • Global, exact-garage, or property-aware storage mode
  • Automatic migration or read-only database validation
  • Target, TextUI, radial, keybind, and interface providers
  • Public, job, property, interior, and impound locations
  • Parking progress, speed, distance, occupancy, and spawn checks
  • Enforcement jobs, reasons, fees, release rules, and ambient removal
  • Contract actions, permissions, distances, and recovery policy
  • Managed fleet garages, models, grades, callers, and society banking
  • Keys, fuel, properties, housing, and vehicle-shop integrations
View configuration documentation
06 / COMPATIBILITY

Compatibility at a glance

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
Other integrations
QBX PropertiesQB HousesDRS Vehicle ShopQBX RadialmenuQB Radialmenu
Full compatibility and configuration
Technical details3 implementation facts
Runtime
FiveM Lua with OneSync
Interface
HTML, CSS, JavaScript NUI with ox_lib fallback
Database
oxmysql with framework vehicle rows and DRS operation journals
07 / LIMITATIONS

Known limitations

  • The public repository has no GitHub tag or packaged Release yet; pin the tested main-branch commit used by your server.
  • Qbox full vehicle persistence owns a competing world-spawn lifecycle and must be disabled or changed to semi before DRS database readiness can pass.
  • The stock ESX schema supports global storage only, and ESX servers must disable key handoff or implement their own key hook.
  • Contract V2 enables only boss-authorized personal-to-society donations by default; player sales and society withdrawals remain separate opt-ins.
More technical caveats2 additional items
  • The enforcement vehicle action has no TextUI equivalent and requires a supported target provider.
  • Property garages require the current DRS-aware qbx_properties build, exact drs_garages and qbx_properties runtime names, and DRS to start before the property resource.
08 / UPSTREAM

Differences from upstream

Upstream projectLunar Scripts lunar_garage
Base version2.0.3

The DRS rework retains the GPL-3.0 Lunar foundation while replacing its identity and extending framework loading, database safety, access paths, vehicle operations, and companion contracts.

Differences between Lunar Scripts lunar_garage and this maintained edition
AreaUpstreamdrs_Dev edition
Identitylunar_garage runtime and APIExact drs_garages namespace with documented DRS exports
FrameworksESX and QB-oriented foundationLoaded Qbox, QB-Core, and ESX adapters with ambiguity checks
StorageInherited shared garage behaviorGlobal, garage, and property modes with type and access enforcement
DatabaseFramework storage updatesAdditive migration, readiness gates, plate uniqueness, operation locks, and DRS journals
OperationsGarage and impound basicsProtected parking, enforcement, contracts, managed fleets, properties, and shop handoff
09 / INSTALLATION
Ready to install?

Continue in documentation

Requirements, installation, framework configuration, integration setup, and troubleshooting are covered in the documentation.

Read installation guide
10 / RELEASE & SOURCE

Release & Source

Current build

v2.6.0-drs.1Public release · Aug 29, 2026
  • Added Contract V2 with independent transfer policies, durable recovery, and administrator review tooling.
  • Added managed job fleets with donations, grade policy, garage moves, retirement, ACE issuance, and protected society purchases through drs_vehicleshop.
  • Built on protected schema, storage-mode, impound, property, radial, parking, and compact-interface work from the DRS 2.2 through 2.5 releases.
View repository history

Provenance

Origin
Rework
Maintainer
DrSnyder
License
GPL-3.0
Source
Open source

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 maintained source