> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectx.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuration

> Full reference for all configuration options in the K4MB1 Cash Exchange 2 Robbery resource

## config/config.lua

### Main Settings

<ParamField path="debug" type="boolean" default="false">
  Shows polyzones created inside the game.
</ParamField>

<ParamField path="TestingMode" type="boolean" default="false">
  Disables all minigames for flow testing.
</ParamField>

<ParamField path="ResetHeist" type="number" default="180">
  Minutes before the heist resets after a completed robbery.
</ParamField>

<ParamField path="DisableLoudApproach" type="boolean" default="false">
  Disables the loud approach path entirely.
</ParamField>

<ParamField path="DisableSilentApproach" type="boolean" default="false">
  Disables the silent approach path entirely.
</ParamField>

<ParamField path="ParticleTimer" type="number" default="10">
  How long smoke particles last, in minutes.
</ParamField>

<ParamField path="RequireBag" type="boolean" default="true">
  Requires a `bag` item to loot trolleys.
</ParamField>

<ParamField path="MinimumPolice" type="number" default="0">
  Minimum police required online. Set to `0` to disable.
</ParamField>

***

### Dispatch

<ParamField path="DispatchLocation" type="table">
  ```lua theme={null}
  DispatchLocation = {
      ["Loud"] = true,
      ["Silent"] = false,
      ["Security"] = false,
      ["Key"] = false,
      ["Fusebox"] = true,
  }
  ```
</ParamField>

***

### Starting Point & NPCs

<ParamField path="StartingPoint" type="table">
  Legion Square contact NPC (`Npc`, `Model`, `Animation`).
</ParamField>

<ParamField path="NPCs" type="table">
  Interior NPCs for security and employees.
</ParamField>

***

### Rewards

<ParamField path="Rewardcash" type="table">
  Trolley cash rewards. Supports `ObtainPerPickup`, `Cash`, `Item`, and `StackAmount`.
</ParamField>

<ParamField path="PropsRewards" type="table">
  Envelope prop rewards (`Prop1`, `Prop2`, `Prop3`).
</ParamField>

***

### Sounds

<ParamField path="Sounds.AlarmLocation" type="vector3">
  World position where the alarm sound plays.
</ParamField>

<ParamField path="Sounds.AlarmDuration" type="number" default="15">
  Alarm duration in minutes.
</ParamField>

***

### Items

```lua theme={null}
Config.Items = {
    ["USB"] = "x_device",
    ["USB2"] = "x_device_pin",
    ["Key"] = "cashexchange2key",
    ["Bag"] = "bag",
    ["Circuit"] = "x_circuittester",
}
```

For cooldowns, limits, skill system, evidence/stress, and logging options, see the [Cash Exchange Robbery Configuration](/resources/cash-exchange-robbery-k4mb1/configuration) page — the structure is identical.
