gta6/prompts
economy
Coreintermediateeconomy

Bills / Utilities — Recurring Charges

ESX recurring utility bills that charge each player's bank on a timer and accrue debt when they cannot pay.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~52 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-24

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.

🔒 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 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…

🔒 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

  • Negative balancesremoveAccountMoney(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.