Configuration for 'QBX' framework

orbit-craftingsystem - Configuration guide for 'QBX' framework.

Resource Configurations

Ox Inventory Configuration

You will need to configure ox_inventory before anything for the resource to work properly.

ox_inventory/data/items.lua

In the specified file path, you will find a file called items.lua, in this file you will find all the predefined items that is in your server. We will need to add the crafting benches specified in the config (benchName) and also 'blueprint' into this file to be able to use them. You can also use the custom blueprints feature to add any kind of item that adds a specific blueprint to the bench which is specified in the config. Add the following code into the file, you can change the label and the weight as you like.

    -- Orbit Studios Advanced Crafting System
    ['bench_name'] = { -- Whatever the bench name is in config.
        label = 'Crafting Bench', -- You may change this. This is the display name.
        description = 'A crafting bench. Might come in handy if you have blueprints.', -- You may change this.
        stack = false, -- Do not change this.
        weight = 10000, -- You may change this.
    },

    ['blueprint'] = {
        label = 'Blueprint', -- You may change this. This is the display name.
        description = 'A blueprint might come in handy, that\'s if you have a crafting bench.', -- You may change this.
        stack = false, -- Do not change this.
        weight = 100, -- You may change this.
    },

ox_inventory/web/images

After you added these items, you may add a image of your choice named 'crafting_bench.png' and 'blueprint.png' for their respective items into the specified file path. This will allow the items to fetch the images from the specified file path into the game inventory.

Orbit Studios Advanced Crafting System

You will need to configure orbit-craftingsystem according to the guide for the resource to work properly.

orbit-craftingsystem Configuration File | config.lua

This configuration file has extensive details within the comments, it is relatively easy to configure this file. Read the comments and put in your configuration according to the comments and the syntax of the config file. This is a dummy config file, you will need to put in the items you actually have in your framework/inventory. You can customize it to your own needs.

Note: Custom Blueprints is for the people that doesn't want to use the built in blueprints feature.

Last updated