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

# Open Source

> Open source files available for customization in the K4MB1 Paleto Bank Robbery resource

Most of the core logic in this resource is handled by the bridge. The open source files let you customize minigames, add hooks for custom systems, and extend the script without touching escrow.

## opensource/client/client.lua

Edit the `projectx-paletobankrobbery-k4mb1:client:Minigames` callback to swap minigames per step.

<Info>
  Return `true` inside any step block to skip that minigame entirely.
</Info>

The default minigames per step are:

| Step                   | Minigame Resource | Function         |
| ---------------------- | ----------------- | ---------------- |
| `Fusebox`              | `boii_minigames`  | `wire_cut`       |
| `EmployeeDoor`         | `bl_ui`           | `CircleShake`    |
| `Vent`                 | `bl_ui`           | `CircleProgress` |
| `BackDoorFusebox`      | `boii_minigames`  | `wire_cut`       |
| `OfficeDoor`           | `boii_minigames`  | `pincode`        |
| `Key`                  | `SN-Hacking`      | `SkillBar`       |
| `SecurityDoor`         | *(skipped)*       | returns `true`   |
| `OfficeSearch`         | `bl_ui`           | `KeySpam`        |
| `Puzzle`               | `bl_ui`           | `Progress`       |
| `ElectricBox`          | `SN-Hacking`      | `SkillBar`       |
| `VaultGate`            | `SN-Hacking`      | `Thermite`       |
| `MainComputer1`        | `boii_minigames`  | `chip_hack`      |
| `MainComputer2`        | `SN-Hacking`      | `MemoryCards`    |
| `MainComputer3`        | `SN-Hacking`      | `Thermite`       |
| `OfficeComputerRight2` | `SN-Hacking`      | `Thermite`       |
| `OfficeComputerLeft1`  | `boii_minigames`  | `chip_hack`      |
| `OfficeComputerLeft2`  | `pure-minigames`  | `numberCounter`  |
| `SmallVault`           | `xdecrypto`       | `StartHack`      |

***

## opensource/server/server.lua

Provides dispatch helpers, bridge integrations, admin reset command, and the same hook pattern as the default variant (`SuccessfulStep`, `FailedStep`, `InitialCheck`, `RobberyResetHook`).
