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

  1. Download the DUSA Mechanic package from your keymaster

  2. Extract the ZIP file to a temporary location

  3. You should have three folders:

    • dusa_bridge

    • dusa_tablet

    • dusa_mechanicv2 (or mechanic-spec)

File Structure:

Step 2: Resource Placement

Move the extracted folders to your server's resources directory:

  1. Copy dusa_bridge to resources/[dusa]/dusa_bridge

  2. Copy dusa_tablet to resources/[dusa]/dusa_tablet

  3. Copy dusa_mechanicv2 to resources/[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 settings

  • mechanic_employees - Employee records

  • shop_orders - Work order tracking

  • mechanic_service_history - Service history records

  • mechanic_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

  1. Start your FiveM server

  2. Watch console for startup messages:

  3. 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:

  1. Check server console for errors

  2. Verify ensure dusa_tablet in server.cfg

  3. Check F8 client console for NUI errors

See Troubleshooting Guide for more solutions.

Next Steps

Now that installation is complete:

  1. Follow the Quick Start Guide to set up your first shop

  2. Read Configuration to customize settings

  3. Create your first Work Order

Need Help?

If you encounter issues during installation:

  • Review console logs for error messages

  • Ensure all prerequisites are met

  • Verify resource load order in server.cfg

Last updated