[Release] MSK Garage & Impound - In-Game Admin Dashboard [ESX, QBCore, Qbox] | v5.7.0

MSK Garage is free and open source now (LGPL-3.0).

GitHub · Download (Releases) · Documentation


MSK Garage is a garage and impound system for ESX, QBCore and Qbox, built on msk_core. It handles cars, boats and aircraft, has an impound where players get their lost vehicles back, and lets a job share its vehicles across the whole society. The server validates every action, and the React UI runs completely offline.

You don’t edit config files for day-to-day changes. Garages, impounds and settings live in the database, and you manage them in game.

In-game admin dashboard

Type /garageadmin and you get a panel for the whole script. On the first start your config is imported into the database once. After that you work in the dashboard, and changes apply live without a restart.

  • Create, edit and delete garages and impounds. A “use my current position” button grabs the coordinates, and you can add as many entrances and park-out spots as you want.
  • Separate rights for viewing, creating, editing and deleting garages and impounds, plus rights for the settings and the permissions themselves. group.admin always has full access, group.user can never open the panel. It works with your server.cfg ACE groups and your framework groups (an ESX admin group from the database, for example).
  • Restrict a garage to a job and tick the exact ranks that may use it, picked from a dropdown of every job on your server.
  • Change every setting in the UI: language, parking mode, default garages per category (land, sea, air), the target and vehicle key script, the command name and more.
Screenshot: Admin Dashboard




Features

  • As many garages and impounds as you like, each with its own ped, blip, 3D text, marker and park-out spots.
  • Vehicle categories (car, truck, bike, boat, submarine, helicopter, aircraft, trailer, train), so a boat never shows up in a car garage.
  • Job and society garages. A vehicle belongs to a player or to the whole society, and access can be limited to specific ranks.
  • An impound for vehicles lost after a crash, a death or a restart. Players pay a fee you set, and a track button puts a waypoint on the car.
  • Key holders can park in and out, not only the owner. Works with msk_vehiclekeys, VehicleKeyChain and vehicles_keys, and you can add your own adapter in server/keys/.
  • Engine, body and tank health, dirt and the visual dents come back on park-out (dents need VehicleDeformation).
  • Players can mark vehicles as favourites and rename them.
  • Park out anywhere, or only at the garage where the vehicle was stored.
  • Fuel is read from the state bag. If msk_fuel runs, the real tank volume shows up (like 50 / 65 L).
  • Built-in TextUI, your own (okokTextUI, for example) or ox_target, chosen from a dropdown in the dashboard.
  • AdvancedParking is detected automatically.
  • Custom plates, configurable blips, client and server exports, and park-in/park-out events for your own resources.

The UI comes in 7 languages: EN, DE, HU, FR, ES, PT and PL. All fonts and icons ship with the script, so it makes no outside requests at runtime.

Screenshot: Garage & Impound


Security

Park-in, park-out and every admin action are checked on the server, so a modified client can’t inject a garage, a plate, a fee or a permission. Per-plate spawn locks and a claim and rollback flow stop duplicated vehicles, even when a connection drops mid-action. Garages added by other resources have to be registered on the server, so their coordinates and fees can’t be faked. If an impound payment goes through and the spawn fails, the fee is refunded automatically.

Requirements

Code is accessible Yes, open source on GitHub (LGPL-3.0)
Subscription-based No
Lines (approximately) ~ 3000
Requirements See Requirements above
Support Yes, on Discord

Support

I’m no longer actively developing FiveM scripts, but the repos stay open. Ask in the public support channel on Discord or open an issue on GitHub.

All my scripts: github.com/MSK-Scripts · Older ones: fivem-archive

9 Likes

Love it :heart_eyes:

3 Likes

Update v2.2

  • Some little Bugfixes
  • Fixed Bug with Fuel and added more fuel scripts to config.lua
  • Added compatibility for Jaksam Vehicle Keys
  • You can add your own Vehicle Key Script to server_vehiclekeys.lua
1 Like

A super garage, ideal for roleplay servers who want to have simplicity but also quality! :slight_smile:
the support is also very good.

2 Likes

Update v3.0

Changed files: all files including config.lua

  • New UI Design with new Features!
  • Added Favorite Vehicles
  • Added Rename Vehicle Name
  • Added Config.needEnoughMoney for Impound
  • Added new Translations
  • Updated Callbacks for msk_core

In config.lua just add the following and the edits in this file are done. If you updating from a lower version than v2.2 you have to replace the config completely.

Config.needEnoughMoney = true -- Set false if player should be able to parkout a vehicle from impound if not enough money


1 Like

Update v3.0.1

  • Added missing images
  • Added Support for visn_are (isPlayerDead)
  • Fixed lagging ui and server thread hitch warning
  • Fixed Jaksam vehicle_keys

To date a good garage system, bugs are fixed quickly, wishes are taken into account.
top

1 Like

Update v3.2.2

  • Some Bugfixes
  • Changed folder structure
  • Added compatibility for MSK VehicleKeys

Major Update v4.0.0

Updated Tebex and documentation Links

[4.0.2] - Impound Fixes

Fixed

  • Impound listed no vehicles. Config.Impounds entries were missing an
    impoundId field, so the server-side lookup (Validation.GetImpound) always
    resolved to nil and returned an empty list. Each impound now carries its
    config key as impoundId (mirroring how garages carry id).
  • Impounded vehicle was not removed on park-out (AdvancedParking). Taking a
    car out of the impound spawned a fresh copy while the old one remained on the
    map. AdvancedParking persists vehicles in its own table and respawns them, so a
    plain DeleteEntity had no lasting effect. The old copy is now purged from
    AdvancedParking via DeleteVehicleUsingData(..., keepInWorld = false) (raw DB
    plate) in addition to the server-authoritative GetAllVehicles sweep — no
    client broadcast, so there is no performance cost or multi-client delete race.

Changed

  • Simplified impound park-out: impoundId is now read directly from the impound
    definition instead of being resolved via a table-comparison loop.
1 Like

v5.0.0

New: In-game Admin Dashboard (/garageadmin)

  • Create, edit & delete garages and impounds live, no restart — coords via “use my position”
  • Everything now lives in the database (seeded once from your config; config = default template only)
  • Permission system: per-right access (view/create/edit/delete + settings + permissions); group.admin always full, group.user never; uses your server.cfg ACE and framework groups (e.g. ESX group)
  • Per-rank job garages: pick the job + tick the exact ranks allowed
  • All settings in-UI: language, parking, default garages per category (land/sea/air), target & vehicle-key script (dropdowns), command name
  • Search + vehicle-type filter in the lists

Other

  • Default garages per category; a default can’t be deleted until replaced (vehicles reassigned automatically)
  • AdvancedParking auto-detected (removed Config.AdvancedParking)
  • Config split: config/settings.lua (dashboard) vs config/static.lua (code hooks)
  • 5 more languages: HU, FR, ES, PT, PL (+ EN/DE)

Fixes

  • “failed to load ped model” / NPC missing after teleport
  • Dashboard access for DB-defined admins (e.g. ESX group), not only ACE
  • Dashboard freeze when adding/deleting a group or entry