gta6/prompts
economy
Vaultbeginnereconomy

Government Stipend — Unemployment Welfare

ESX welfare engine that pays jobless players a periodic stipend from a finite government treasury, gated by eligibility and a per-citizen payout cap.

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
~54 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A welfare engine: jobless players draw a periodic stipend deposited straight to their bank, funded from a finite government treasury and capped per citizen so no one lives on welfare forever. It gives new and broke players a soft money floor while draining a gov treasury that other systems can refill — a self-contained onboarding economy. Servers buy it to keep first-hour players from quitting flat broke.

Prompt Template

You are writing a FiveM resource for ESX (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/26-gov-grant-unemployment-stipend.lua runs a server timer that pays eligible unemployed players from a draining treasury, enforces a per-citizen…

🔒 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 & Corrective Prompt

  • Client-triggered payout — any client claiming welfare on demand mints money. Pay only from the server timer.
  • Infinite welfare — no treasury drain or cap prints unlimited cash. Decrement a finite treasury and cap per citizen.
  • Spoofed eligibility — a client-asserted job lets an employed player draw the stipend. Read xPlayer.job server-side.

Corrective re-prompt: Disburse the stipend exclusively from the server CreateThread timer, decrement a finite treasury on every payout and stop when it falls below the stipend, enforce the per-identifier PAYOUT_CAP, and read eligibility from the server-side xPlayer.job.name.

Framework Integration

  • ESX: native — ESX.GetPlayers, xPlayer.job.name, addAccountMoney("bank", ...) as shown.
  • QBCore: port to QBCore.Functions.GetQBPlayers, PlayerData.job.name == "unemployed", AddMoney("bank", ...).
  • QBox: drop-in via exports.qbx_core; persist the treasury through oxmysql so it survives a restart.

Profit Potential

$150–$1,900/mo on Tebex (expected ~$480). [INFERRED] priced in the $50-389 script band against the signal-scraper corpus (tebex_snapshot n=100, median seller $11.85K/mo); a stable, niche onboarding-economy piece.

Trend Signal

stable — inferred: Niche but steady: a new-player money floor that drains a gov treasury; reasoned onboarding-economy demand.

Sales Angle

Frame it as the new-player money floor that doubles as a treasury sink — onboarding economy in one drop-in. Lower-mid band, ~$69-99 on Tebex, natural pair with a gov-job bundle.

Difficulty & Ship Time

beginner · ships in 2-4h.