Description
An estate and inheritance system: a player registers a beneficiary, and on death or long inactivity their cash transfers to that heir, or escheats to the state treasury if no valid heir exists. Servers buy it because it stops wealth from vanishing on death and adds genuine will/estate RP, especially on permadeath servers.
Prompt Template
You are writing a FiveM resource for qb-core.
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 at content/expected-outputs/economy/20-estate-inheritance-beneficiary.lua removes the deceased's cash before settling, routes it to an online heir or the treasury, records last-seen…
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
- Money duplication, crediting the heir before debiting the estate; remove first, then settle.
- Silent drop, losing the estate when the heir is offline; escheat to the treasury instead.
- Client clock, manipulated inactivity; sweep on server
os.time().
Corrective re-prompt: "Debit the deceased's cash before crediting any heir, escheat to the treasury whenever no online beneficiary exists, and run the inactivity sweep on server os.time() so a client clock cannot trigger or dodge it."
Framework Integration
ESX: use ESX.GetPlayerFromId / a citizenid-equivalent identifier lookup and addMoney/removeMoney; replace qb-banking with your society/account export.
QBCore: as written, GetPlayer, GetPlayerByCitizenId, and qb-banking for the treasury account.
QBox: resolve via exports.qbx_core:GetPlayer; keep the same settlement and sweep logic.
Profit Potential
$250-$3500/mo on Tebex (expected ~$900), priced in the $50-389 script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo), scaled to a rising-niche unit estimate.
Trend Signal
↗ rising, inferred: Rare mechanic; reasoned demand to stop wealth vanishing on death and add will/beneficiary RP to permadeath servers.
Sales Angle
The will-and-estate layer permadeath servers are missing, wealth survives death with real RP. Recommended Tebex price: $289.
Difficulty & Ship Time
advanced · ships in 1 day.
