Description
A comp-points loyalty system that earns players points on every dollar wagered, climbs them through Bronze/Silver/Gold/Diamond tiers, and lets them redeem points for chips, drinks and VIP perks. Servers sell it as the retention layer almost no casino pack ships, turning one-off gamblers into daily returners.
Prompt Template
Write a FiveM casino loyalty / comp-points system for QBCore (exports['qb-core']:GetCoreObject()).
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
See content/expected-outputs/casino/21-casino-loyalty-comps.lua — the client opens the rewards menu and plays the redeem anim; the server tracks wagered totals and points in metadata, computes the…
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 & Corrective Prompt
- Points incremented in an NUI callback on the client, mintable at will.
- State held in a plain Lua table, lost on relog.
- Redeem subtracts the cost without checking the balance, driving points negative.
Corrective re-prompt: "Accrue and store points only server-side in player metadata via SetMetaData('compPoints', ...), never from a client event. In the redeem handler, reject when points < perk.cost before deducting. Recompute the tier from totalWagered on every sync."
Framework Integration
- ESX: not targeted here; would use
xPlayer.set/getMetafor persistence. - QBCore:
Player.Functions.SetMetaDatapersiststotalWagered/compPoints;AddMoney('cash', reward)settles redemptions. - QBox: identical via
exports.qbx_core:GetPlayer(src)and the same metadata API.
Profit Potential
$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced inside the $50-389 FiveM script band against the signal-scraper tebex_snapshot corpus (median seller $11.85K/mo, n=100), scaled to a rising-niche unit rate.
Trend Signal
↗ rising — inferred: Domain: retention layer few packs ship; differentiator, rising demand.
Sales Angle
Sell the retention story — daily-return loyalty most casino packs lack; recommended Tebex price $149.
Difficulty & Ship Time
intermediate · ships in 2-4h.