vi/raiser
racing
racing, GTA 6 style illustration
Vaultadvancedracing

Race Track Creator, Drive-to-Record Builder

Framework-agnostic (exports) track builder that records ordered checkpoints as you drive, then names and persists the route server-side for reuse and sharing.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~84 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25
Unlock price
$199Vault

Unlock all 510 prompts

Profit potential / mohot
$1,500($400 to $6,000)

$50-389 script band, sized for a hot niche; top sellers clear around $11.85K/mo.

Effort vs return
advanced1 day

Description

An in-game track builder for roleplay racing servers: an admin drives a route, drops ordered checkpoints with a command, names the track, and the server persists it to the database for later races and sharing. It is the centerpiece of every paid racing-app suite because it turns a static map into unlimited community-built courses without touching config files.

Prompt Template

You are writing a FiveM resource that works across ESX, QBCore and QBox by using…

🔒 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/racing/01-race-track-creator.lua records checkpoints client-side as the admin drives, and a server section that sanitizes every point, clamps the name,…

🔒 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 DB write, Claude sometimes calls the SQL export inside the client section, where it has no DB access. Persistence belongs to the server only.
  • No coord sanitization, without a per-entry numeric check, a tampered client injects malformed points that crash the race runner that later loads the track.
  • No length cap, a missing array-length guard lets a client save a 10k-point track that bloats the DB and desyncs racers.

Corrective re-prompt: Move all database writes into the server section, add a sanitize() that keeps only entries with numeric x/y/z and rejects arrays shorter than 2 or longer than 200 points, and clamp the track name to 32 characters before insert.

Framework Integration

ESX: No framework object needed for storage; resolve identity with ESX.GetPlayerFromId(source) if you want to gate /trackstart to admins. QBCore: Gate the creator commands with QBCore.Functions.GetPlayer(source) and a PlayerData.job or permission check before allowing a save. QBox: Use exports.qbx_core:GetPlayer(source) for the admin gate; the storage path is identical since persistence is plain oxmysql.

Profit Potential

$400-$6000/mo on Tebex (expected ~$1500), priced inside the $50-389 standalone-script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo) for a hot racing niche.

Trend Signal

🔥 hot, corpus: comparable Tebex, race-app suites (track+lap+drift) sit in Tebex top-100; the creator is the centerpiece.

Sales Angle

Position as the editor that powers an entire racing economy, admins and trusted players build unlimited courses in-game, no config edits. Recommended Tebex price: $129 standalone, bundled higher with the lap timer and drift scorer.

Difficulty & Ship Time

advanced · ships in 1 day.