Installation
Requirements
ox_lib.oxmysql.One supported framework:
es_extended, orqb-core, orqbx_core.
Optional:
ox_inventory(only needed if inventory-money editing is enabled).
Install Steps
Place the resource folder in your server resources directory.
Import
db.sqlinto your database.Review and edit
config.lua.Ensure startup order includes dependencies before this resource.
Restart the server or run a resource restart.
Recommended Startup Order
In server.cfg, ensure dependencies load first, then this resource:
If you use QB or Qbox, replace es_extended with your framework resource.
Database Notes
db.sql creates required tables for:
Snapshots.
Per-player snapshot stats.
Tax state persistence (
tax_settings).
The SQL also seeds tax_settings safely so first-run tax scheduling has a valid baseline row.
Security Checklist (Before Going Live)
Set strong access control in
Config.Access.Keep tax webhook URLs private.
Disable money editing if you do not need it.
Keep refresh cooldown enabled to prevent spam.
NOTE:
for script to read vehicle prices for taxation you need to add your server vehicles to table 'vehicles', script reads model and price from db to read correctly. example :
categor
Last updated