A complete vehicle key system for ESX and QBCore. (Un)lock vehicles with a command, hotkey or target, hand out unique key items, and manage everything live from a built-in in-game admin dashboard. No config file editing and no restart needed.
Tebex [19.99€ incl. VAT] - about 80% is encrypted
Tebex [39.99€ incl. VAT] - about 10% is encrypted
MSK VehicleKeys - Documentation
Description
- (Un)lock a vehicle with Command, Hotkey or Target → (ox_target)
- Choose on which seat you want to sit with Target → (ox_target)
- Open Keys Menu with Command and Hotkey (menu and context menu from ox_lib)
- Admin Command to (un)lock a vehicle without a key needed
- Primary, Secondary and Temporary Keys
- Keys as unique items (every vehicle is a unique key item, except job vehicles)
- Job Vehicle Keys (players with specific jobs can (un)lock vehicles with specific plates or a specific model)
- Whitelist for vehicles (models and plates you don’t need a key for)
- Blacklist for vehicles (models and plates that can never be (un)locked)
- Admin Vehicles (admins with the right group can use the hotkey to (un)lock them)
- Exchange Vehicle Locks (all keys other players might have get deleted, done at a locksmith)
- Transfer Vehicle (transfer ownership to another player)
- Keyring System (save all keys in a second inventory) → [only ox_inventory (Inventory Support below)]
- Lock NPC vehicles with the option to carjack closed NPC vehicles (configurable)
- Everything is stored in the database (MariaDB via oxmysql), the tables are created automatically on the first start
- Multi-language (English, German and Hungarian included, easy to add your own)
In-game Admin Dashboard
Since v3.0 VehicleKeys ships with its own admin dashboard. Open it in-game with /advehiclekeys (the command is configurable). Everything you used to change in the config now lives in the database and can be edited live, without a restart.
- Players & Keys → hand out or take keys, see who owns a plate and who is carrying a key for it, and use a normal refresh or a force refresh that gives a player every missing key item back
- Vehicles / Plates → look up any plate and the keys tied to it
- Locksmith → add, edit and delete locksmith spots, the peds and blips update instantly
- Access lists → edit your whitelist, blacklist, admin vehicles and job vehicles right from the UI, models can be written as spawn names like
police - Settings → change the in-game settings and recolor the dashboard with the built-in theme editor
- Permissions → give your team access with a group based rights system
Permissions & luxu_admin
You can give your staff access to the dashboard without handing them full server access. Every group gets its own set of rights, group.admin can always do everything and group.user can never get in. Membership is resolved through a FiveM ACE principal, your framework group, or a luxu_admin staff group.
luxu_admin is supported out of the box and auto-detected, so your luxu staff can open the dashboard without setting up FiveM ace permissions. You can require staff to be on duty and map luxu group names onto your own dashboard groups.
Config
If you want to look at the config first, check the documentation. We keep it up to date there.
Inventory Support
You must have one of the inventories listed below.
- ox_inventory → recommended
- jaksam_inventory
Attention
We recommend ox_inventory or jaksam_inventory for unique items, because with it we can add or remove the player’s key automatically when the item is dropped, given away and so on (except TempKeys, they get removed on reconnect).
The Keyring System is also only available for ox_inventory and jaksam_inventory.
EngineToggle Support
We recommend msk_enginetoggle, but you can use any EngineToggle script you like.
For EngineToggle scripts, please use these exports:
- HasPlayerKeyOrIsVehicleOwner → clientside
- HasPlayerKeyOrIsVehicleOwner → serverside
Requirements
- ESX Legacy or QBCore
- msk_core
- ox_lib
- oxmysql
- One of the inventories listed under Inventory Support
Optional Requirements
- ox_target
- msk_enginetoggle
- luxu_admin (for staff dashboard access)
Changelog
The full changelog is in the documentation:
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | ~8.500 |
| Requirements | Read Requirements above |
| Support | Yes |
My other Scripts
Paid
- [ESX] MSK Garage - Garages, Impounds & In-Game Admin Dashboard
- [ESX] MSK Handcuffs - Realistic Handcuffs
- [ESX] MSK Storage
- [ESX/QBCore] MSK VehicleKeys - Unique Items & In-Game Admin Dashboard (no config editing)







