Configuration

Config = Config or {}

Config.Payment = "cash"             -- Payment "cash" or "bank"   ## CASH ALWAYS RECOMMEND ##
Config.PaymentForJobs = false       -- If false Whitelisted jobs dont pay for any tuning
Config.SocietyPayment = false       -- If PaymentForJobs & SocietyPayment true all payments will be charged from the society account of the players job (ESX: "society_mechanic") - QBCore (qb-management) or ESX (esx_society/esx_addonaccount)
Config.Keys = {
    action = { key = 38 }
}

Config.MechanicExtras = {
    RepairTime = 4000,              -- 4 Seconds
    drawDistance = 20.0,            -- Marker distance
    actionDistance = 5.0,           -- Distance to enter customs
    menuDistance = 1.0,             -- Distance to open bossmenu
    setmarker = true,               -- Enable/Disable marker
    showCustomsNotify = true,       -- Enable/Disable notify from LS Customs
    markercolor = { r = 50, g = 200, b = 160 },
    markerscale = { x = 2.5, y = 2.5, z = 2.5 },
    markerid = 27,
    NotifyText = "new3d",           -- drawtext / default / new3d
}

Config.UseCommandForMenu = {
    Enable = true,
    Command = "openmech",
    Jobs = {
        "mechanic",
        "tuner",
    }
}

Config.JobsGetCashPerCustom = {
    Enable = true,          -- If true only whitelisted jobs can get rewards
    Payment = "society",    -- "cash", "bank", or "society" // Society: (ESX: "society_mechanic")
    Reward = 25,            -- 25$ for each tuning
}

Config.SetBossmenu = true   -- QBCore (qb-management) or ESX (esx_society)
Config.Bossmenu = {         -- You can add as many locations as you want // QBCore (qb-management) or ESX (esx_society)
    vector3(-206.89, -1341.71, 34.89),
    vector3(727.87, -1066.78, 28.31),
}

--@ Upgrades: You can add as many jobs as you want, only these jobs can and will see "Upgrades"
--@ whitelistJobName: These jobs can use the tuning on the location, but if they are not in the "UpgradeWhitelist" list, they wont be able to use "Upgrades"
Config.UpgradeWhitelistJobs = {
    "mechanic",
    "tuner",
}

Config.Positions = {    -- You can add as many locations as you want, follow the guide below. Copy paste and fill the sections with your coordinates etc.
    {
        pos = vector3(732.07, -1088.55, 22.17),         -- vector3(732.07, -1088.55, 22.17) or xyz example: {x = 732.07, y = -1088.55, z = 22.17}
        whitelistJobName = {                            -- Add as many jobs as you want / Only "UpgradeWhitelistJobs" jobs can see "Upgrades"
            [1] = 'mechanic', 
            [2] = 'tuner', 
        },
        setWhitelist = true,                            -- If false then everyone can use tuning on this location
        label = "LS Customs",
        blipsprite = 72,
        blipcolor = 5,
        blipscale = 0.6,
        blipdisplay = 4,
        showBlip = true,
    },
    {
        pos = vector3(-211.35, -1323.07, 30.89),        -- vector3(-211.35, -1323.07, 30.89) or xyz example: {x = -211.35, y = -1323.07, z = 30.89}
        whitelistJobName = {                            -- Add as many jobs as you want / Only "UpgradeWhitelistJobs" jobs can see "Upgrades"
            [1] = 'mechanic', 
            [2] = 'tuner', 
        },
        setWhitelist = true,
        label = "Bennys Motorwork",
        blipsprite = 72,
        blipcolor = 3,
        blipscale = 0.6,
        blipdisplay = 4,
        showBlip = true,
    },
    --[[{ -- Example of copy and paste - Do not forget to change the "pos" coordinates 
        pos = vector3(732.07, -1088.55, 22.17),         -- vector3(732.07, -1088.55, 22.17) or xyz example: {x = 732.07, y = -1088.55, z = 22.17}
        whitelistJobName = {                            -- Add as many jobs as you want / Only "UpgradeWhitelistJobs" jobs can see "Upgrades"
            [1] = 'mechanic', 
            [2] = 'tuner', 
        },
        setWhitelist = true,                            -- If false then everyone can use tuning on this location
        label = "Bennys Motorwork",                     -- Blip name
        blipsprite = 72,
        blipcolor = 3,
        blipscale = 0.6,
        blipdisplay = 4,
        showBlip = true,
    },]]
}

Config.Lang = {
    -- [en]
    ["key_pressed"] = "Press ~INPUT_CONTEXT~ to enter customs",
    ["bossmenu_key_pressed"] = "Press ~INPUT_CONTEXT~ to open Bossmenu",
    ["drawtext"] = "[~y~E~w~] Enter customs",
    ["bossmenu_drawtext"] = "[~y~E~w~] Open Bossmenu",

    -- Notifys
    ["fixing_car"] = "Fixing the vehicle...",
    ["cleaning_car"] = "Cleaning the vehicle...",
    ["command"] = "Open mechanic menu",
    ["command_error"] = "You have no rights to do this",
    ["successful"] = "You have successfully modified the car!",

    -- Company/Society
    ["company_paid"] = "Company Paid ",
    ["employee_check"] = "Employee Paycheck",
    ["info"] = "The company got ~g~",
    ["info2"] = "$~w~ for each tuning. Well done!",
}

Last updated