gta6/prompts
housing
Coreintermediatehousing

Weekly Rent + Automatic Eviction

A server scheduler charges weekly rent from the tenant's bank, counts missed cycles, and evicts after the grace period runs out.

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

Description

A purely server-side rent engine: every cycle it walks all owned properties, charges the bank account, and tracks missed payments. Once a tenant misses more than the grace count, ownership is cleared — they are evicted. This keeps the housing market liquid instead of every property being bought once and held forever.

Prompt Template

You are writing a FiveM SERVER script for esextended (stable, exports…

🔒 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/housing/04-rent-system-eviction.lua implements chargeTenant, runRentCycle, the weekly CreateThread loop, and a console-only forcerent command. It is a…

🔒 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

  • Online-only charging — skipping offline owners means they never get evicted. Increment missed for offline/broke tenants too.
  • Charging cash not bank — broke-on-hand players dodge rent. Use the bank account explicitly.
  • Client-side timer — rent that stops when the player logs off is useless. Require a server CreateThread/SetTimeout loop.

Integration Notes

  • The properties table needs owner, label, missed, and a last_rent timestamp column.
  • This is a server_script; depends on es_extended and oxmysql.
  • Test with forcerent from the server console (don't wait a week): a funded owner pays, a broke one accrues a strike, and after GRACE_PERIODS strikes the owner column becomes NULL.

Profit Potential

$250–$3200/mo on Tebex (expected ~$900). [INFERRED] intermediate server-side economy engine at the $50-389 band center against the signal-scraper tebex corpus (median seller $11.85K/mo, n=100); steady money-sink appeal holds it near the middle.

Trend Signal

rising — housing systems niche-selection 3.60; corpus ox_doorlock active.

Sales Angle

Position as the recurring rent and eviction money-sink that stops every property being bought once and held forever. Recommended Tebex price $69 — a pure server-side add-on with no client UI to maintain.

Difficulty & Ship Time

intermediate · ships in 3-4h.