Installation
Complete step-by-step installation guide for DUSA Mechanic.
Prerequisites
Before installing DUSA Mechanic, ensure your server meets these requirements:
FiveM Server - Artifact 5181 or higher
ox_lib - Latest version installed and started
Database System - MySQL or MariaDB
Supported Framework - One of the following:
ESX Legacy (latest version)
QBCore (latest version)
QBox (latest version)
Step 1: Download & Extract
Download the DUSA Mechanic package from your keymaster
Extract the ZIP file to a temporary location
You should have three folders:
dusa_bridgedusa_tabletdusa_mechanicv2(ormechanic-spec)
File Structure:
Step 2: Resource Placement
Move the extracted folders to your server's resources directory:
Copy
dusa_bridgetoresources/[dusa]/dusa_bridgeCopy
dusa_tablettoresources/[dusa]/dusa_tabletCopy
dusa_mechanicv2toresources/[dusa]/dusa_mechanicv2
Recommended folder structure:
Note: You can use any folder name instead of [dusa], but ensure all three resources are together.
Step 3: Database Setup
Database tables are created automatically on first start through the migration system.
Automatic Migration:
Tables Created:
mechanic_shops- Shop locations and settingsmechanic_employees- Employee recordsshop_orders- Work order trackingmechanic_service_history- Service history recordsmechanic_zones- Service/tuning zone definitions
Manual Import (if needed): If automatic migration fails, manually import from dusa_mechanicv2/sql/:
Step 4: Framework Configuration
Configure the mechanic job in your framework.
For ESX Legacy
Add mechanic job to your database:
Create society account:
For QBCore
Add to qb-core/shared/jobs.lua:
For QBox
Add to qbx_core/shared/jobs.lua:
Step 5: Inventory Items
Add mechanic items to your inventory system.
For ox_inventory
Add to ox_inventory/data/items.lua:
Note: See Item Catalog for complete item list.
For qb-inventory
Add to qb-core/shared/items.lua:
Step 6: Server Configuration
Add resources to server.cfg in the correct order:
Important: Load order matters! dusa_bridge must start before dusa_tablet and dusa_mechanicv2.
Step 7: First Start
Start your FiveM server
Watch console for startup messages:
Check for errors - there should be none if installation was successful
Verification Checklist
Verify your installation is working correctly:
Common Installation Issues
Error: "ox_lib not found"
Solution: Ensure ox_lib is installed and started before DUSA resources in server.cfg
Error: "Database connection failed"
Solution: Verify oxmysql is properly configured with correct database credentials
Error: "Failed to verify protected resource"
Solution: Check keymaster.fivem.net to ensure your server IP is linked to your purchase
Tablet doesn't open
Solution:
Check server console for errors
Verify
ensure dusa_tabletin server.cfgCheck F8 client console for NUI errors
See Troubleshooting Guide for more solutions.
Next Steps
Now that installation is complete:
Follow the Quick Start Guide to set up your first shop
Read Configuration to customize settings
Learn the Tablet Interface
Create your first Work Order
Need Help?
If you encounter issues during installation:
Check the Troubleshooting Guide
Review console logs for error messages
Ensure all prerequisites are met
Verify resource load order in server.cfg
Last updated