gta6/prompts
housing
Vaultintermediatehousing

Short-Term Rental Listings

ESX short-stay rentals: owners list a property, guests book per-night with server-side dynamic pricing and a scheduled auto-checkout.

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

Description

A short-term rental marketplace where property owners list a place for short-stay rental and guests book per night, with the nightly rate scaling by occupancy and an automatic checkout when the stay ends. Servers sell it because it monetizes idle owned properties and adds an AirBnB-style booking layer that keeps the housing economy circulating.

Prompt Template

You are writing a FiveM script for esextended (stable, exports getSharedObject).

πŸ”’ 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/28-short-term-rental-listings.lua implements the list/book commands on the client and a server-side occupancy-scaled rate, per-night charge, and…

πŸ”’ 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-side rate β€” the dynamic price is computed on the guest's client, so peak listings book at base.
  • Client checkout timer β€” the auto-checkout runs client-side and dies on disconnect, never freeing the unit.
  • Negative occupancy β€” checkout decrements booked without guarding a missing listing row.

Corrective re-prompt: "Compute the nightly rate and the total charge on the server from the DB row only, and schedule checkout with a server-side SetTimeout β€” never a client timer. On checkout, guard the decrement so a missing or expired listing can't push booked below zero."

Framework Integration

  • ESX: xPlayer.getMoney/removeMoney; owner key xPlayer.identifier; notify with ESX.ShowNotification.
  • QBCore: Player.Functions.RemoveMoney("bank", amt); owner key citizenid; notify with QBCore.Functions.Notify.
  • QBox: identical to QBCore via exports.qbx_core; pricing + checkout stay in the server events.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] $50-389 script band priced against the corpus of housing marketplace scripts (signal-scraper tebex_snapshot n=100, median seller $11.85K/mo); a strategy-flagged rising niche earns the upper mid-band.

Trend Signal

β†— rising β€” strategy: niche-selection.md housing=rising; MASTER-200 id-051 AirBnB-style short-term rentals (dynamic pricing).

Sales Angle

Sell it as the short-stay marketplace that turns idle owned properties into nightly income. Recommended Tebex price $269.

Difficulty & Ship Time

intermediate Β· ships in 1 day.