Basic Configuration

Configuration of the basic script functions

API Keys

This file can be located in peuren_chopshop\shared\sh_apikeys.lua.

ApiKeys = {
    Enabled = true, -- Send logs to the given Discord Webhook
    JobLogs = "", --Your Discord Webhook for newly created jobs
    LootLogs = "", --Your Discord Webhook for acquired loot from the burglaries
}

Dispatch

This file can be located in peuren_chopshop\shared\sh_main.lua.

Config.Dispatch = {
    enabled = true, --Send alert to police
    dispatch_code = '10-90', -- Dispatch code added to the message.
    message = 'Grand theft auto in progress', -- Dispatch message.
    color = 2, -- Blip Color, more info: https://docs.fivem.net/docs/game-references/blips/#blip-colors
    sprite = 500, -- Blip Sprite, more info: https://docs.fivem.net/docs/game-references/blips/#blips
    scale = 1.0, -- Blip Scale
    time = 300, -- Blip Seconds Visible in seconds.
    delay = 5, -- Dispatch delay after first interaction in seconds.
}

Police Jobs

This file can be located in peuren_chopshop\shared\sh_main.lua.

Config.Jobs = { 
    policeRequired = 0,--How many police officer have to be on, to get a job 
    policeJobs = { 'police', 'sheriff', 'bcso', }, --Police job names
    enabled = true,--If this is set to true, then it will enable a time frame in which you need to find a given house and break into it
    timeToFind = { min = 10, sec = 0 },--How much time you have to find a given house and break into it
    decreaseRepOnExpiredTime = { min = 1, max = 2 },--How much reputation does a player loose on failing to find the given house ant breaking into it
}

Hacking

This file can be located in peuren_chopshop\shared\sh_main.lua.

Config.Hacking = {
    requiredItem = 'WEAPON_DIGISCANNER',--Item used to boost the signal of the key and the hack it
    hackingTime = 5000,--Progress bar time in ms
    chance = 50--Chance of breaking the signal booster device item when failed to hack the security system
}

Disassemble

This file can be located in peuren_chopshop\shared\sh_main.lua.

Config.Disassemble = {
    requiredItem = 'toolbox',--Item used to boost the signal of the key and the hack it
}

Blips

This file can be located in peuren_chopshop\shared\sh_main.lua.

Config.Blips = {
    chop_vehicle = {
        sprite = 523,--Blip icon id
        color = 18,--Blip color id
        scale = 0.9,--Blip scale
        label = "Chop vehicle location",--Blip label
        radius = {
            enabled = true,--If radius is enabled, players will have to find the car in that radius, otherwise it will add a blip directly on the car
            sprite = 9,--Radius id
            color = 18,--Radius color id
            offsets = math.random(-170.0, 170.0),--Radius offset,
            radius = 250--Radius size,
        }
    },
    chop_location = {
        sprite = 566,--Blip icon id
        color = 1,--Blip color id
        scale = 1.5,--Blip scale
        label = "Chop location",--Blip label
        radius = {
            enabled = false,--If radius is enabled, players will have to find the location in a radius, otherwise it will add a blip directly on the pos
            sprite = 9,--Radius id
            color = 1,--Radius color id
            offsets = math.random(-170.0, 170.0),--Radius offset,
            radius = 250--Radius size,
        }
    }
}

Last updated