gta6/prompts
police
Vaultintermediatepolice

Jail, Sentencing & Parole System

Server-authoritative ESX/QBCore/QBox sentencing engine that converts charges to time, assigns a cell, runs an offline-aware countdown, and processes bail and release.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~103 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A complete sentencing pipeline for roleplay servers: an officer submits a list of charges, the server converts them to jail time, teleports the suspect to a cell, and runs a countdown that releases them when it elapses. It sells because arrests feel hollow without consequences — a server with real incarceration, bail, and parole keeps both cops and criminals invested in the loop.

Prompt Template

You are writing a FiveM resource for [esx|qbcore|qbox]. Resolve the framework…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Expected Output

See content/expected-outputs/police/07-jail-sentencing-parole-system.lua — a…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Client owns the countdown → time can be skipped; the server must hold the clock.
  • Idle anim plays before the dict loads → T-pose until the load wait resolves.
  • Bail math on the client → underpayment; keep all money logic server-side.

Corrective re-prompt: Move the remaining-time clock and all release/bail validation to the server; the client may only display the countdown and request release. Gate police-jail:sentence on officer.job.name == "police" and recompute bail from the server-stored remaining seconds before removeMoney.

Framework Integration

  • ESX: ESX.GetPlayerFromId(src), xPlayer.getMoney()/removeMoney(), gate on xPlayer.job.name.
  • QBCore: QBCore.Functions.GetPlayer(src), Player.Functions.RemoveMoney('cash', bail), gate on PlayerData.job.name.
  • QBox: exports.qbx_core:GetPlayer(src) with the QBCore-compatible money/job API.

Profit Potential

$150–$2000/mo on Tebex (expected ~$520). [INFERRED] Priced inside the $50-389 script band against the corpus median seller of $11.85K/mo (signal-scraper tebex_snapshot n=100) for a stable cop-server niche.

Trend Signal

stable — strategy: MASTER-200 id-079 Prison Roleplay Suite ($129, 1k/3.2k/8k); incarceration is an established must-have on cop-enabled servers.

Sales Angle

The incarceration backbone every cop server needs; bail + parole are the natural upsell tier. Recommended Tebex price $129.

Difficulty & Ship Time

intermediate · ships in 1 day.