> ## 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 Rockford Armory 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="DisableParticles" type="boolean" default="false">
  Disables particle effects during the robbery.
</ParamField>

<ParamField path="DisableRemovingWeapons" type="boolean" default="false">
  Disables weapon removal during the robbery. Enable only if you use a weapon wheel.
</ParamField>

<ParamField path="SpawnNetworkedPedsServerSide" type="boolean" default="true">
  Spawns networked peds server side.
</ParamField>

<ParamField path="SpawnNetworkedPropsServerSide" type="boolean" default="true">
  Spawns networked props server side.
</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>

<ParamField path="PoliceJobs" type="table" default="{&#x22;police&#x22;}">
  Jobs that count as police for dispatch and police checks.
</ParamField>

<ParamField path="RequiredPlayersNearby" type="table">
  ```lua theme={null}
  RequiredPlayersNearby = {amount = 0, radius = 20.0}
  ```
</ParamField>

***

### Cooldowns, Limits & Skill

<ParamField path="Cooldown.PlayerCooldown" type="number" default="0">
  Per-player cooldown in minutes after completing the heist.
</ParamField>

<ParamField path="Limits.TotalRobberiesPerRestart" type="number" default="0">
  Server-wide robbery cap per restart. `0` disables the limit.
</ParamField>

<ParamField path="Limits.RobberiesPerPlayer" type="number" default="0">
  Per-player robbery cap per restart. `0` disables the limit.
</ParamField>

<ParamField path="SkillSystem" type="boolean" default="false">
  Gates the heist behind a criminal skill/XP level from the bridge.
</ParamField>

<ParamField path="MinimumLevel" type="number" default="20">
  Minimum level when `SkillSystem` is enabled.
</ParamField>

<ParamField path="Bonus" type="table">
  Optional end-of-heist bonus item rolls.
</ParamField>

***

### Dispatch

<ParamField path="DispatchLocation" type="table">
  ```lua theme={null}
  DispatchLocation = {
      ["Loud"] = true,
      ["Silent"] = false,
      ["Door"] = true,
      ["Keycard"] = true,
      ["Computer"] = false,
      ["Vault"] = false,
  }
  ```
</ParamField>

***

### Loot Tables

<ParamField path="Config.RegisterLoot" type="table">
  Register cash settings (`Cash`, `CashItem`, `StackAmount`, `ItemInfo`).
</ParamField>

Additional loot tables in `config/config.lua` cover gun cases, armor, crates, NPC drops, and vault rewards. Adjust item names and stack amounts to match your economy.

***

### Durations

<ParamField path="NotificationDuration" type="number" default="2500">
  Default notification display time in milliseconds.
</ParamField>

Progress durations such as `NpcDuration`, `ArmorDuration`, `CrateDuration`, `RegisterDuration`, and `ComputerDuration` control how long progress bars run for each interaction type.

***

### 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`).
