SleepyCode
Home
AboutBlogSubscriptionDocs
Cart0
SleepyCode
Cart0
  • πŸ’£Documentation

Scripts

  • Multicharacter
  • DevTool
  • Fishing
  • πŸ—ƒοΈGarages V2
    • What's New
    • Installation
    • Config File
    • Features
    • Exports and Hooks
    • Framework and Integrations
    • Commands
    • Troubleshooting
  • 🚌Bus Job
  • πŸš—Vehicle Shop V1
  • πŸ—ƒοΈGarages V1
  • 🍁Selldrugs
  • πŸŽ…Advent Calendar
  1. Docs
  2. /Garages V2
  3. /Installation

Garages V2

Installation

Install Garages V2, start dependencies, and review the automatic database setup.

On this page7 sections
  • Requirements
  • Steps
  • Resource order
  • Database
  • File structure
  • Quick start
  • Notes

RequirementsLink copied

  • FiveM server with OneSync enabled
  • MySQL database through oxmysql
  • ox_lib
  • PolyZone
  • One of these setups:
    • ESX
    • QBCore
    • QBox
    • standalone

StepsLink copied

  1. 1.
    Purchase the resource from SleepyCode Store.
  2. 2.
    Download it from Keymaster (opens in a new tab).
  3. 3.
    Place it in your resources folder.
  4. 4.
    Add the resource to server.cfg.
  5. 5.
    Start it after your framework and dependencies.
  6. 6.
    Configure shared/ConfigClient.lua and shared/ConfigServer.lua.
  7. 7.
    Restart the server.
  8. 8.
    Use /garagesadmin in-game to create garages, impounds, and showrooms.
server.cfg
ensure oxmysqlensure PolyZoneensure sc_garages

Resource orderLink copied

Start sc_garages after:

  • your framework
  • oxmysql
  • PolyZone

DatabaseLink copied

Garages V2 creates and migrates the required columns on startup.

It adds these columns to the owned vehicles table:

  • insurance
  • last_used
  • impound_name
  • impounded_at
  • police_hold_until
  • impound_reason

The table name is configurable through Config.Database.

Garages V2 also uses a separate vehicle_history table.

No manual SQL import is required.

File structureLink copied

Text
sc_garages/  shared/    ConfigClient.lua    - All gameplay configuration    ConfigServer.lua    - Webhooks, logging, and security  client/    main.lua            - Core client logic    functions.lua       - Utility functions and hooks    nui.lua             - NUI callback handlers    commands.lua        - Client commands    exports.lua         - Client exports  server/    main.lua            - Core server logic    functions.lua       - Database operations    exports.lua         - Server exports  framework/    shared/             - Framework detection and bridge config    client/             - Client bridges    server/             - Server bridges  modules/    target.lua          - Target system integration    carkeys.lua         - Car keys integration  locales/              - Translation files  locations/            - Garage, impound, and showroom JSON files  web/                  - React NUI frontend  init.lua              - Locale loader  fxmanifest.lua        - Resource manifest

Quick startLink copied

  1. 1.
    Install and start the resource.
  2. 2.
    Join the server with admin access.
  3. 3.
    Run /garagesadmin.
  4. 4.
    Open Create Garage.
  5. 5.
    Grab your current coordinates.
  6. 6.
    Add spawn points and save the garage.
  7. 7.
    Repeat for impounds and showrooms.

NotesLink copied

  • Database changes are applied automatically on first start.
  • Locale fallback uses English when a key is missing.
  • Target and car keys resources can auto-detect at startup.
← PreviousWhat's NewGarages V2Next β†’Config FileGarages V2

On this page

  • Requirements
  • Steps
  • Resource order
  • Database
  • File structure
  • Quick start
  • Notes
↑ Back to top
Ready when you are

Put your server on something that holds up

150+ servers run our resources - ESX, QBCore and standalone. Once the payment clears, the package is waiting in Keymaster.

Browse the catalogueAsk on Discord β†—
  • Delivered instantly
  • Support with no expiry
  • 100+ reviews
  • Payment via Tebex

SleepyCode

FiveM Scripts

Checkout is run by Tebex Limited- they handle payment, invoicing and refunds. Β© 2026

Community

  • Discord
  • YouTube
  • X (Twitter)

Navigation

  • Home
  • All Scripts
  • ESX Scripts
  • QBCore Scripts
  • Free Scripts
  • About
  • Blog
  • Documentation
  • Support

Legal

  • Privacy Policy
  • Tebex Privacy Policy
  • Terms of Service
  • Impressum

Β© 2026 SleepyCode. Not affiliated with Rockstar Games or Take-Two Interactive.

Powered byTebex