# Configuration

| Parameter                                            | Description                                                                                                                                           | Example Value                                                                     |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| <mark style="color:red;">`Framework`</mark>          | Which framework to use. Options: <mark style="color:red;">`auto`</mark>, <mark style="color:red;">`esx`</mark>, <mark style="color:red;">`qb`</mark>. | <mark style="color:red;">`"auto"`</mark>                                          |
| <mark style="color:red;">`ShowATMs`</mark>           | Whether to spawn blips for ATMs on the map.                                                                                                           | <mark style="color:red;">`true`</mark> or <mark style="color:red;">`false`</mark> |
| <mark style="color:red;">`ATMProps`</mark>           | A list of props that count as ATMs (used for auto-detection).                                                                                         | <mark style="color:red;">`{'v_corp_fleeca...'}`</mark>                            |
| <mark style="color:red;">`BankProps`</mark>          | A list of props that count as bank terminals.                                                                                                         | <mark style="color:red;">`{'prop_atm_01',...}`</mark>                             |
| <mark style="color:red;">`socialHilfe`</mark>        | Amount of daily social assistance players receive if configured.                                                                                      | <mark style="color:red;">`1000`</mark>                                            |
| <mark style="color:red;">`botToken`</mark>           | Required to fetch Discord user avatars. Treated as a password.                                                                                        | <mark style="color:red;">`"YOUR_BOT_TOKEN"`</mark>                                |
| <mark style="color:red;">`Notifications & UI`</mark> | Customizable alerts/notifications when transfers occur or balances update.                                                                            | <mark style="color:red;">`(See code)`</mark>                                      |

```lua
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"
}
```

```lua
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)
```
