Description
A home-and-contents insurance loop: the player buys a policy at a desk for a premium, and after a burglary or fire files a claim that the server verifies against an active policy and pays out minus a deductible. It is the property counterpart to vehicle insurance, a believable money-sink-plus-payout cycle that rewards players for protecting their assets.
Prompt Template
You are writing a FiveM script for QBCore (qb-core, exports GetCoreObject) with…
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/housing/19-home-contents-insurance-claims.lua implements the policy-desk purchase on the client and a server that underwrites the premium, verifies an…
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-trusted payout, a client-sent amount lets a player claim any sum.
- No active-policy check, repeated claims with no premium ever paid.
- Policy never deactivated, the same incident is claimed endlessly.
Corrective re-prompt: Resolve every payout from the server-side Coverage table by claim kind, SELECT the policy and require active = 1 before paying, then UPDATE it inactive in the same handler so one incident yields exactly one payout.
Framework Integration
- ESX: resolve with
ESX.GetPlayerFromId(source), chargexPlayer.removeAccountMoney('bank', premium), payxPlayer.addAccountMoney('bank', net), key the policy byidentifier. - QBCore: as written,
QBCore.Functions.GetPlayer,Player.Functions.RemoveMoney/AddMoney('bank', ...), citizenid policy holder. - QBox: swap to
exports.qbx_core:GetPlayer(source); the RemoveMoney/AddMoney and oxmysql policy schema match QBCore unchanged.
Profit Potential
$150-$2000/mo on Tebex (expected ~$500), priced inside the $50-389 script band against the demand-signal corpus tebex corpus (median ~$11.85K/mo), scaled for a stable property-insurance niche.
Trend Signal
→ stable, inferred: property/contents cover (cf id-023 Insurance Underwriter); distinct from vehicle insurance.
Sales Angle
Position as the property half of an insurance ecosystem for servers already selling vehicle cover, a natural cross-sell. Recommended Tebex price $79.
Difficulty & Ship Time
intermediate · ships in 2-4h.
