Description
An ESX utility-bills system: every cycle the server charges each online player for electricity, water, and internet, drawing from their bank account. If they cannot cover it, the shortfall accrues as debt that rolls into the next bill. This is the money sink that gives an economy downward pressure so balances do not only ever climb.
Prompt Template
You are writing a FiveM resource for esextended.
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/06-bills-utilities-recurring.lua sums the utility charges plus carried debt, charges the bank without going negative, accrues any shortfall as…
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
- Negative balances —
removeAccountMoney(total)when funds are short can underflow. Require taking only what is available and storing the rest as debt. - Charging cash — wallet cash is volatile; bills should hit bank. Require bank charges.
- Forgiven debt — overwriting debt without carrying it forward forgives unpaid bills. Require debt to roll into the next total.
- Instant first charge — Wait must come first so players are not billed the moment the resource starts.
Integration Notes
server.lua runs the billing timer and debt table; client.lua shows notifications. Declare both in fxmanifest.lua; depends on es_extended. For persistence across restarts, save the debt table to your DB (out of scope here). Test by shortening BILL_INTERVAL, draining a player's bank below the total, and confirming the shortfall shows as debt and rolls into the next cycle.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 standalone-script band against the signal-scraper corpus (tebex_snapshot n=100, median seller $11.85K/mo) for a rising economy niche.
Trend Signal
↗ rising — [INFERRED] banking/economy is core RP-server infrastructure, steady demand.
Sales Angle
Position as the economic gravity ESX servers lack — recurring utility bills with debt accrual that gives money somewhere to go. Pairs with paycheck and tax scripts. Recommended Tebex price: $69.
Difficulty & Ship Time
intermediate · ships in 2-4h.