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).
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$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…
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.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$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 onPlayerData.job.name == "lawyer", debit viaPlayer.Functions.RemoveMoney("bank", ...). - QBox:
exports.qbx_core:GetPlayer(src); identical job gate and money funcs, and wirecourt:requestCaseto read live charges fromox_mdtrecords if installed.
Profit Potential
$250–$3500/mo on Tebex (expected ~$1100). [INFERRED] priced inside the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $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.