prp-atmrobbery

Server-authoritative ATM robbery for FiveM with Qbox-first support, multi-method gameplay, heat/fatigue anti-farm, and PvE no-cops mode.

1) Overview

prp-atmrobbery is a server-authoritative ATM robbery resource with adapter-based compatibility.

Design goals:

2) Requirements

Required

Framework

Inventory

Target

Optional Integrations

3) Installation

  1. Place resource in your server resources folder.
  2. Ensure startup order:
    ensure ox_lib
    ensure <framework>
    ensure <inventory>
    ensure <target>
    ensure prp-atmrobbery
  3. Configure provider modes in config.lua.
  4. Add required items to your inventory system.
  5. Restart the resource.
  6. Run /atmrobbery:doctor and verify detected providers.

4) Provider Modes

Set in config.lua:

Config.Framework = 'auto' | 'qbox' | 'qbcore' | 'esx' | 'standalone'
Config.Target = 'auto' | 'ox' | 'qb'
Config.Inventory = 'auto' | 'ox' | 'qb' | 'esx'
Config.Notify = 'auto' | 'ox' | 'qb' | 'esx' | 'standalone'
Config.Integrations.Dispatch = 'auto' | 'ps-dispatch' | 'cd_dispatch' | 'qs-dispatch' | 'core_dispatch' | 'none'
Config.Integrations.Minigame = 'auto' | 'bl_ui' | 'none'

5) Gameplay Methods

Default enabled methods:

Each method supports:

Configured at Config.Methods.Enabled and Config.Methods.Definitions[methodName].

6) Security Model

Server validations include:

Security profile system:

7) Heat/Fatigue Economy Controls

Module: server/heat.lua

Behavior:

8) PvE No-Cops Mode

Config block: Config.PvE

When enabled and policeCount == 0:

9) Reward Modes

Config:

11) Commands and Permissions

ACE permission: atmrobbery.admin

Default commands:

15) Troubleshooting

"No ATM found nearby"

"Action failed"

Cooldown confusion