> ## 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 Laundromat 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="RequireBag" type="boolean" default="true">
  Requires a `bag` item to collect loot.
</ParamField>

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

***

### Strike System

<ParamField path="Strikes" type="number" default="2">
  Number of strikes players can accumulate before rewards are reduced during the silent approach.
</ParamField>

***

### Dispatch

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

***

### Keypad Code

<ParamField path="Code.Password" type="table" default="{min = 10000, max = 99999}">
  Random code range for the keypad password prompt.
</ParamField>

***

### Items

```lua theme={null}
Config.Items = {
    ["Jammer"] = "x_cratejammer",
    ["Device"] = "x_device",
    ["Key"] = "laundromatkey",
    ["Bag"] = "bag",
}
```

<ParamField path="ItemsBreak.Device" type="number" default="0">
  Percentage chance the device breaks on use.
</ParamField>

***

### Rewards

<ParamField path="TopWashingMachineRewards" type="table">
  Cash reward from top-row washing machines (`Cash`, `Item`, `StackAmount`).
</ParamField>

<ParamField path="BottomWashingMachineRewards" type="table">
  Cash reward from bottom-row washing machines.
</ParamField>

<ParamField path="CashPileReward" type="table">
  Large cash pile reward in the back room.
</ParamField>

<ParamField path="ClothingRewards" type="table">
  Item rewards per clothing prop (`Clothing1` through `Clothing10`).
</ParamField>

***

### Evidence, Stress & Logs

<ParamField path="Evidence.Status" type="boolean" default="true">
  Enables fingerprint evidence drops.
</ParamField>

<ParamField path="Stress.Status" type="boolean" default="true">
  Enables stress on minigame failure.
</ParamField>

Logging is configured in `config/logs.lua` (`Enable`, `APIKey`, `FivemanageDataset`).
