Portable Parking — Installation
Dependencies
| Resource | Required | Notes |
|---|---|---|
oxmysql | Yes | Database queries |
| ESX, QBCore, or Qbox | Yes | Start your selected framework before Portable Parking |
ox_lib | Framework-dependent | Used by Qbox and its interaction prompts; keep your framework dependencies installed |
Database Setup
No manual Portable Parking SQL import is required for native storage. Startup verifies the framework storage column (stored on ESX, state on QBCore/Qbox), adds required indexes, and records completed migrations. ESX and QBCore can migrate numeric storage data from older vin versions once. Do not add or recreate a vin column for the current version.
Choose Garage Compatibility
If you want to use Portable Parking and JG Advanced Garages at the same time, set the garage compatibility in fs_portableparking/config/config.lua:
lua
config.garageCompatibility = 'jg-garage' -- auto, none, jg-garage'jg-garage': enables JG compatibility regardless of which resource starts first. JG's database installation must already be complete.'auto': detects JG when it is started or starting. Start JG before Portable Parking for automatic detection.'none': uses native framework storage without garage integration.
Restart Portable Parking after changing this setting. In JG mode, impound releases stay with JG. See Garage Compatibility for details.
Install Steps
- Place
fs_portableparkinginresources/[fs]/fs_portableparking. - Install
oxmysql, your framework, and its dependencies. - Configure your framework, fees, permissions, and locations in
config/config.lua. - Add the resources to
server.cfg. This example uses Qbox:
text
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure fs_portableparkingFor ESX or QBCore, use your framework resource (es_extended or qb-core) and its dependencies instead of qbx_core.
- Start the resource and check the server console for database preparation errors.
- Test parking and retrieving a personal vehicle. Check its plate, model, modifications, fuel, and keys.
Admin Permissions (Optional)
text
add_ace group.admin "fs_portableparkingadmin" allow