Admin creator

In-game robbery creator, commands, permissions, and JSON schema.

The in-game Robbery Creator NUI lets admins manage every holdup without editing JSON by hand. Open it with the command configured in Config.Admin.menuCommand (default /holdupmenu).

Alpy Robbery configured robberies list

Admin commands

  • /holdupmenu — open the creator (default)
  • /holdupreload — reload data/robberies.json
  • /holduplist — list configured robberies in console
  • /holdupcooldown [player_id] [robbery_id] — reset a cooldown
  • /holdupmyid — print your identifiers for Config.Admin.admins

Admin access

Grant access using any combination of:

  • ESX groups — Config.Admin.esxGroups with useESXGroups = true
  • License identifiers — Config.Admin.admins
  • QBCore groups — Config.Admin.qbGroups with useQBGroups = true
  • Custom — override Config.Admin.hasPermission(source)
Alpy Robbery create configuration form

Per-robbery fields

Each entry in data/robberies.json includes:

  • id, label, coords, zoneRadius
  • requirements — minCops, alertJob, duration, cooldown, optional requiredItem
  • reward — type (cash, bank, black_money), min, max
  • blip — optional map blip sprite, color, scale, label