Installation Guide

Dependencies

Dependency
Required
Description

qb-core / es_extended

Yes

Framework

ox_target / qb-target / qtarget

Yes

Targeting System

ox_lib

Yes

Library

oxmysql

Yes

Database

Installation

1. Drag and Drop

Simply drag and drop it into your resources folder, and everything—database creation, framework detection, and more—is handled automatically for you.

2. Add Items and their Images

Add the following items to your inventory system to enable placeable workbenches. The images for these items are located in the images folder in the root of the resource.

  1. Open items.lua: Navigate to ox_inventory/data/items.lua.

  2. Add the Following Items: Insert the following code into the items.lua file:

["workbench"] = {
    label = "Workbench",
    weight = 10000,
    stack = false,
    close = true,
    description = "A portable workbench for basic crafting.",
    consume = 0,
    client = {
        image = "workbench.png",
    },
    server = {
        export = 'sd-crafting.useWorkbench',
    }
},

["advanced_workbench"] = {
    label = "Advanced Workbench",
    weight = 15000,
    stack = false,
    close = true,
    description = "A high-tech workbench with advanced crafting capabilities.",
    consume = 0,
    client = {
        image = "advanced_workbench.png",
    },
    server = {
        export = 'sd-crafting.useAdvanced_workbench',
    }
},

Last updated