Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

397 total results found

Inventory Bridge

Nord Vehicle Keys 6 · Bridges & Compatibility

Inventory bridge files: client/bridge/inventory.lua server/bridge/inventory.lua Generic item checks support: Nord Inventory ox_inventory QB/QBX inventory through the framework player object ESX inventory Custom implementation Native physical vehicle keys The f...

Notifications & Text UI

Nord Vehicle Keys 6 · Bridges & Compatibility

Notification and Text UI are independent bridges. Files: client/bridge/notify.lua server/bridge/notify.lua client/bridge/textui.lua server/bridge/textui.lua Supported notification modes: auto | ox | qb | esx | gta | custom Supported Text UI modes: auto | ox | ...

Custom Ownership Bridge

Nord Vehicle Keys 6 · Bridges & Compatibility

Ownership is isolated in: server/bridge/ownership.lua For custom ownership logic: Config.Ownership.Custom = true Implement: function NVKOwnership.CustomGetOwnerIdentifier(plate) -- Return the framework identifier that owns this plate. end For the recovery ...

7 · Developer API

Nord Vehicle Keys

Integrate garages, dealerships, rentals and other server resources through stable exports.

Server Key Exports

Nord Vehicle Keys 7 · Developer API

Key creation and removal should be performed from trusted server-side resources. Recommended simple API -- Permanent owner key + physical key item. exports.nord_vehiclekeys:GiveKeys(source, plate) -- Remove access/key for the plate. exports.nord_vehiclekeys:Re...

Physical Key Item Exports

Nord Vehicle Keys 7 · Developer API

These exports work directly with the physical key item layer. exports.nord_vehiclekeys:GivePhysicalKeyItem(source, plate, 'owner', 0) exports.nord_vehiclekeys:RemovePhysicalKeyItem(source, plate) exports.nord_vehiclekeys:HasPhysicalKeyItem(source, plate) Norma...

Server Vehicle Exports

Nord Vehicle Keys 7 · Developer API

Vehicle state exports operate on a network ID. exports.nord_vehiclekeys:SetLockState(netId, true) exports.nord_vehiclekeys:GetLockState(netId) exports.nord_vehiclekeys:ToggleLock(netId) exports.nord_vehiclekeys:LockVehicle(netId) exports.nord_vehiclekeys:Unloc...

Client Exports

Nord Vehicle Keys 7 · Developer API

Client exports are useful for UI, vehicle interactions and custom gameplay. local hasKey = exports.nord_vehiclekeys:HasKey(vehicleOrPlate) local hasLocal = exports.nord_vehiclekeys:HasLocalKey(vehicleOrPlate) exports.nord_vehiclekeys:ToggleLock(vehicle) export...

Garage Integration

Nord Vehicle Keys 7 · Developer API

A garage that spawns a player's owned vehicle should register the entity and only issue a key when the garage intentionally wants to hand one to the player. Server example: local netId = NetworkGetNetworkIdFromEntity(vehicle) exports.nord_vehiclekeys:RegisterO...

Dealership Integration

Nord Vehicle Keys 7 · Developer API

When a player purchases a vehicle, issue the key after the purchase and ownership transaction succeeds. -- purchase validated, money removed and ownership row saved first exports.nord_vehiclekeys:GiveKeys(source, plate) When a dealership sells/transfers/remove...

Rental Integration

Nord Vehicle Keys 7 · Developer API

Rental scripts should normally use temporary keys. Example 30-minute rental: exports.nord_vehiclekeys:GiveTempKey(source, plate, 1800) When the rental ends early: exports.nord_vehiclekeys:RemoveKeys(source, plate) For a shared company vehicle with a known dura...

8 · Database, Security & Troubleshooting

Nord Vehicle Keys

Operate the resource safely in production and resolve the most common installation issues.

Database Schema

Nord Vehicle Keys 8 · Database, Security & Troubleshooting

Auto SQL creates the resource schema automatically when persistence is enabled. Core tables: nord_vehiclekeys_keys Stores persisted key grants: plate holder identifier key type expiry timestamp created/updated timestamps nord_vehiclekeys_recovery_npcs Stores p...

Security Model

Nord Vehicle Keys 8 · Database, Security & Troubleshooting

Nord Vehicle Keys is designed around server authority. Important protections OneSync entity checks are required by default. Lock state is synchronized through entity state bags. Key grants/removals are validated server-side. Physical key metadata is re-read fr...

Production Checklist

Nord Vehicle Keys 8 · Database, Security & Troubleshooting

Before production deployment: OneSync enabled. Database backups available. oxmysql starts before Nord Vehicle Keys. Framework bridge detected correctly. Inventory bridge selected correctly. vehicle_key definition is non-stackable when using Nord Invent...

Common Issues

Nord Vehicle Keys 8 · Database, Security & Troubleshooting

Physical key exists but does not open the remote Check that: nord_inventory starts before nord_vehiclekeys. The vehicle_key item is non-stackable. The slot metadata contains a normalized plate. The key is not expired. The physical-key item use handler is reg...

Bridge Troubleshooting

Nord Vehicle Keys 8 · Database, Security & Troubleshooting

Framework not detected Force the bridge in config/bridges.lua: Config.Bridges.Framework = 'qb' -- or qbx / esx / standalone / custom Inventory not detected Force the bridge: Config.Bridges.Inventory = 'nord' -- or ox / qb / esx / custom If Config.Inventory.S...

FAQ

Nord Vehicle Keys 8 · Database, Security & Troubleshooting

Does owning a vehicle automatically recreate a deleted key? No, not with the default strict physical-key settings. The player must recover or be explicitly issued a new key. Can I use the resource without Nord Inventory? Yes for generic access/item checks thro...