⚙️Configuration

Use the table below to understand each main Config option. Adjust them to fit your server’s setup. For more detail, see the example config snippet that follows.

Parameter
Description
Example Value

Framework

Which framework to use. Options: auto, esx, qb.

"auto"

ShowATMs

Whether to spawn blips for ATMs on the map.

true or false

ATMProps

A list of props that count as ATMs (used for auto-detection).

{'v_corp_fleeca...'}

BankProps

A list of props that count as bank terminals.

{'prop_atm_01',...}

socialHilfe

Amount of daily social assistance players receive if configured.

1000

botToken

Required to fetch Discord user avatars. Treated as a password.

"YOUR_BOT_TOKEN"

Notifications & UI

Customizable alerts/notifications when transfers occur or balances update.

(See code)

Litz = {}

Litz.Framework = "auto" -- Options: "esx", "qb", "auto"

Litz.socialHilfe = 1000 -- SocialHelp
Litz.Target = false

-- https://docs.fivem.net/docs/game-references/blips/
Litz.Blips = {
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(-1212.980, -330.841, 37.787), name = "Bank"},
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(-2962.582, 482.627, 15.703), name = "Bank"},
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(-112.202, 6469.295, 31.626), name = "Bank"},
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(314.187, -278.621, 54.170), name = "Bank"},
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(-351.534, -49.529, 49.042), name = "Bank"},
    {sprite = 108, color = 0, scale = 0.8, coords = vector3(252.33, 218.11, 106.29), name = "Fleeca Bank"},
    {sprite = 108, color = 48, scale = 0.7, coords = vector3(1175.064, 2706.643, 38.094), name = "Bank"},
}

Litz.ShowATMs = false -- Enables ATM blip display.
Litz.ATMBlip = {
    sprite = 108, 
    color = 48,    
    scale = 0.7,  
    name = "ATM", 
}

Litz.ATMProps = {
    'prop_atm_03',
    'prop_fleeca_atm',
    'prop_atm_01',
    'prop_atm_02'
}

Litz.BankProps = {
    'v_corp_fleeca_display',
}

Litz.Locale = {
    playerOffline = "Player is not on the server!",
    withdraw = "Withdrawal successful!",
    deposit = "Deposit successful!",
    open = "Open ATM",
    openBank = "Open Bank",
    openbank = "Press E to open the ATM",
    transferSuccess = "Transfer successful!",
    socialHilfe = "You have received the social help reward!",
    socialMax = "You can only claim help once per day!"
}

Litz.HelpNotify = {
    type = "custom", -- Options: "default", "custom"
    customEvent = "risk_helpnotify:showHelpNotify" -- Only used if type is "custom"
}

Settings = {
    -- here
    botToken = "HERE_BOT_TOKE",
}





Citizen.CreateThread(function()
    -- not here
    while true do
        if Settings["botToken"] == "" then
            print("Please check settings.lua")
        end
        Citizen.Wait(3000)
    end
end)

Last updated