Config

Script configuration

You can configure the script in shared/config.lua

For adding a different target script, or changing the image url for the inventory images, you can edit open/client.lua

Other server configurations can be added in open/server.lua

Creating new workbenches

For creating new workbenches, you can add a new workbench config in Config.DefaultWorkbenches

-- Useful workbench configuration
{
    item = "useful_workbench",      -- Item name for spawning/placing
    model = `gr_prop_gr_bench_04a`, -- GTA V prop model
    name = "Useful Workbench",      -- Workbench name, should be unique
    color = 'linear-gradient(to right, #00b4db, #0083b0)', -- Workbench UI Icon background color
    icon = "axe",
    publicStorage = false, -- Each player will have its own storage
    items = {              -- Craftable items at this bench
        { 
             name = "lockpick",     -- item name
             skill = "useful",      -- item skill
             level = 1,             -- level needed to craft          
             exp = 15,              -- exp gained from the item
             ingredients = { metalscrap = 15 }, -- ingredients needed
             time = 1 * 60 * 1000 -- time to craft
        },
    }
},

Create new workbench skill

You can create a new skill by adding in Config.WorkbenchSkills and the exp needed per level in Config.Levels

Config.WorkbenchSkills

Config.Levels

Web hooks

You can add Discord web hooks for logging events

Any other questions you can ask on discord https://discord.gg/EVcvvkBahy

Last updated