MG VehicleKeys

MG VehicleKeys MG VehicleKeys MG VehicleKeys MG VehicleKeys
  • MG VehicleKeys
  • MG VehicleKeys
  • MG VehicleKeys
  • MG VehicleKeys
  • MG VehicleKeys

This item is free.

Add to Basket

MG VehicleKeys is a complete, modular vehicle security system for FiveM —
real per-player keys, configurable lockpicking, hotwiring and carjacking,
job-shared vehicles and NPC vehicle theft, all built to be turned on or off
piece by piece so it fits any server, from a simple personal-vehicle key
system to a full theft economy.

Compatible with ESX and QBCore out of the box.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💬 SUPPORT & COMMUNITY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Discord →

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ WHAT'S INCLUDED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  • Full source code (Lua — client, server and shared)
  • English and Spanish locale files
  • Detailed configuration file with inline comments
  • Example custom minigame hooks (t3_lockpick, bd-minigames) ready to adapt

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
REAL PER-PLAYER VEHICLE KEYS
Lock and unlock your vehicle with a key fob animation, sound and light
flash. Share keys with other players, take them back, or list everyone
who currently holds a copy — all through simple, ready-to-use commands.

INDEPENDENT MASTER SWITCHES
Lockpicking, hotwiring and carjacking are each controlled by their own
on/off switch. Disable a feature completely and it truly does nothing —
no item interaction, no minigame, no side effects — so the script works
just as well as a pure personal-keys system as it does a full theft suite.

CONFIGURABLE LOCKPICK, HOTWIRE & CARJACK MINIGAMES
Every minigame slot (lockpick and hotwire) can independently use ox_lib's
skill check, your framework's built-in minigame, or your own custom
minigame resource through a simple hook function. Carjacking uses a
hold-up-at-gunpoint mechanic with a per-weapon-group success chance.

KEYLESS THEFT
Choose whether a stolen vehicle (via carjack, lockpick+hotwire, or looting
a dead NPC driver) grants a real key or leaves it permanently unlocked and
drivable but "keyless" — no lock/unlock, no sharing, never re-locked by
the auto-lock logic.

NPC VEHICLE HANDLING
Decide independently whether parked and driven NPC vehicles are locked by
default. Unlocked NPC vehicles are freely driveable without ever exposing
a real key that could be abused to lock other players out of them.

JOB-SHARED VEHICLES
Give an entire job or gang shared access to a set of vehicle models,
optionally requiring players to be on duty, with server-side verification.

POLICE ALERTS
Optional dispatch alert on lockpicking, hotwiring or carjacking, with its
own day/night chance and cooldown, wired for origen_police out of the box
or fully custom through a hook function.

FLEXIBLE INVENTORY SUPPORT
Works with ox_inventory (usable item defined in your own items.lua),
qb-inventory (item auto-registered), or no inventory at all if you'd
rather wire the lockpick item yourself.

PERSISTENT LOANED KEYS
Optionally keep shared/loaned keys through a server restart, stored in
QBCore player metadata or a dedicated table for ESX.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ REQUIREMENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  • ox_lib (mandatory)
  • ESX or QBCore
  • oxmysql (only if Config.PersistentKeys is enabled on ESX)
  • ox_inventory or qb-inventory (optional, depending on Config.Inventory)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ INSTALLATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  1. Extract the resource into your FiveM resources directory
  2. Ensure ox_lib (and oxmysql, if needed) starts before this resource
  3. Open config/config.lua and set your framework, inventory and features
  4. (Optional) Edit texts in config/locales/en.lua or es.lua
  5. Add "ensure mg_vehiclekeys" to server.cfg
  6. Restart your server

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ TECHNICAL DETAILS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Code accessible → No
Subscription → No, its FREE
Framework → ESX / QBCore
Inventory → ox_inventory / qb-inventory / none
Interaction → Key mapping (lock/unlock, engine, hotwire) + commands
Database → oxmysql (only for optional persistent keys on ESX)
Support → Via Discord