# Configuration

## ⚙️ Configuration

All settings are in config/config.lua.

### Framework

Config.Framework = 'auto'

| Value  | Description               |
| ------ | ------------------------- |
| auto   | Auto-detect (recommended) |
| esx    | Force ESX                 |
| qbcore | Force QBCore              |
| qbbox  | Force QBox                |

### Language

Config.Locale = 'tr'

| Value | Language |
| ----- | -------- |
| tr    | Turkish  |
| en    | English  |

### Inventory

Config.InventorySystem = 'auto'

| Value          | System          |
| -------------- | --------------- |
| auto           | Auto-detect     |
| ox\_inventory  | ox\_inventory   |
| qb-inventory   | qb-inventory    |
| qs-inventory   | qs-inventory    |
| codem          | codem-inventory |
| esx\_inventory | ESX default     |

### General Settings

```
Config.RobTime = 15000 (Robbery duration in ms)
Config.GlobalCooldown = 120 (Player cooldown in seconds)
Config.ATMCooldown = 300 (ATM cooldown in seconds)
Config.MaxDistance = 2.0 (Interaction distance)
```

### Police

```
Config.RequirePolice = false
Config.MinPolice = 2
Config.AlertPolice = true
Config.AlertBlipTime = 60

Config.PoliceJobs = { 'police', 'sheriff', 'lspd', 'bcso', 'sasp' }
```

### Dispatch

```
Config.DispatchSystem = 'auto'

See Dispatch Systems page for all supported systems.
```

### Rewards

`Config.RewardType = 'mixed' Config.MinReward = 500 Config.MaxReward = 2500`

| RewardType   | Description    |
| ------------ | -------------- |
| cash         | Cash only      |
| item         | Items only     |
| mixed        | Cash + items   |
| black\_money | Black money    |
| crypto       | Cryptocurrency |

### Effects

```
Config.UseSounds = true
Config.UseParticles = true
Config.CameraShake = true
```

### Systems

```
Config.MinigameEnabled = true
Config.MinigameType = 'wire'
Config.MinigameDifficulty = 'medium'
```

### Minigame

```
Config.MinigameEnabled = true
Config.MinigameType = 'wire'
Config.MinigameDifficulty = 'medium'
```

### Webhook

```
Config.Webhook = {
    enabled = true,
    url = '',
    color = 16711680,
    title = 'ATM Robbery Log',
    footer = 'ATM Rob System',
}
```

### Debug

`Config.Debug = false`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://elena-scripts.gitbook.io/elenascripts/gameplay/atm-rob/configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
