vi/raiser
jobs
jobs, GTA 6 style illustration
Vaultadvancedjobs

Lawyer & Court Job, Bail, Defense & Sentencing

QBCore/QBox lawyer job: accept jailed-client cases and reduce sentences or post bail through a courtroom interface tied to the client's filed charges, all resolved server-side.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~93 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25
Unlock price
$199Vault

Unlock all 510 prompts

Profit potential / morising
$1,100($250 to $3,500)

$50-389 script band, sized for a rising niche; top sellers clear around $11.85K/mo.

Effort vs return
advanced1-2 days

Description

An advanced lawyer & court job: /opencase [id] pulls a jailed client's server-held charges and remaining sentence, then /filedefense reduces the sentence in proportion to the charges or /postbail clears it for a per-month fee debited from the lawyer. Every ruling is validated and applied server-side and tied to the filed charges, giving MDT-driven law-RP servers a real courtroom layer. Designed to sit on top of an existing arrest/charges system.

Prompt Template

You are writing a FiveM resource for qb-core (exports GetCoreObject).

🔒 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

The reference Lua lives at content/expected-outputs/jobs/19-lawyer-court-bail-defense.lua. It implements a server-held jail charges/sentence table, a charge-proportional defense reduction clamped at…

🔒 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-held sentences, a modded lawyer can zero any sentence. Keep charges and months server-side and validate every event.
  • No months > 0 re-check, reductions and bail must re-read state to avoid negative sentences or double-clears.
  • Unchecked bail debit, verify the payer's bank balance before RemoveMoney, or under-funded clients go negative.

Corrective re-prompt: "Keep all jail/charges state server-side, re-validate job.name == 'lawyer' and months > 0 inside every handler, clamp the defense reduction at zero, and check the bank balance before debiting bail."

Framework Integration

  • QBCore: exports["qb-core"]:GetCoreObject(), GetPlayer(src), gate on PlayerData.job.name == "lawyer", debit via Player.Functions.RemoveMoney("bank", ...).
  • QBox: exports.qbx_core:GetPlayer(src); identical job gate and money funcs, and wire court:requestCase to read live charges from ox_mdt records if installed.

Profit Potential

$250-$3500/mo on Tebex (expected ~$1100), priced inside the $50-389 script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo); a rising law-RP niche with high build complexity justifies the top of the band.

Trend Signal

↗ rising, corpus: Extends the ox_mdt charges/records surface; courtroom/defense layer is active in MDT-driven law-RP servers.

Sales Angle

Sell as the missing courtroom layer on top of an MDT, defense, bail and sentencing that make arrests actually matter. Target serious law-RP servers already running a police/MDT stack. Recommended Tebex price $189.

Difficulty & Ship Time

advanced · ships in 1-2 days.