Installation
Get Vehicle Keys running: unzip it, paste the items, add it to server.cfg, then finish in game.
You need Newb_Bridge, ox_lib 3.40.2 or newer, oxmysql and an inventory the bridge supports. Start Vehicle Keys after all of them. The full list is on Requirements.
Unzip it
Put the MrNewbVehicleKeys folder in your resources folder. There is no SQL file to import, because the tables are created the first time it starts.
Add the items
Paste the item list for your inventory from Item setup, then copy the pictures from Item images. Each inventory has its own file in [INSTALL]/items/. For Kora the records are also on the Item setup page.
Add it to server.cfg
ensure ox_lib
ensure oxmysql
ensure qbx_core # or qb-core / es_extended
ensure ox_inventory # or your inventory
ensure Newb_Bridge
ensure MrNewbVehicleKeysRestart and run the setup
Restart the server, join as an admin and type /setupkeys. The first time, it asks one question per page and suggests an answer for each. Take the suggestion or change it, then press Save.
To check it worked, give yourself a key and press L next to the car.
Optional extras
- Player-run locksmith: add the job from Locksmith job. Skip it if you only want the walk-up NPC
- Phone app: Phone app adds a Keys app to LB Phone
- Coming from an older version: Moving from an older version brings your old settings across
Where next
- Configuration: what every setup page does
- Commands: admin commands and the keys players press
- Troubleshooting: the usual problems and fixes
- Anticheat models: props to allow if your anticheat deletes them
