gta6/prompts
phone
Vaultadvancedphone

Custom-App SDK & In-Phone App Store

ESX/QBCore/QBox in-phone app store with a developer SDK export — third parties register apps, players install/uninstall, and the registry plus owned-list live server-side.

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

Description

An in-phone app store backed by a developer SDK: third-party resources register their app through an export, and players browse, install, and uninstall from the store UI. It sells because it converts a phone from a closed product into a platform — every app another dev ships deepens the lock-in to your shell.

Prompt Template

You are writing a FiveM resource for an in-phone app store + developer SDK that runs with…

🔒 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 lives at content/expected-outputs/phone/02-custom-app-sdk-store.lua. It implements an exports('registerApp', ...) SDK that rejects duplicate IDs, a server-owned per-player…

🔒 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-claimed install — trusting the client lets players install paid apps free; validate against the registry and owned-list server-side.
  • Duplicate registration — re-registering a live app ID overwrites a running resource; reject IDs already present.
  • Map sent as list — handing the raw registry map to the NUI breaks iteration; flatten to an array first.

Corrective re-prompt: "Make registerApp reject an already-registered appId, validate appstore:install against the server registry and Installed[src] before marking owned, and send the catalog as a flattened array rather than the raw map."

Framework Integration

  • ESX: ESX = exports['es_extended']:getSharedObject(); charge app.price via xPlayer.removeMoney inside appstore:install.
  • QBCore: QBCore = exports['qb-core']:GetCoreObject(); charge with Player.Functions.RemoveMoney('bank', app.price) before marking owned.
  • QBox: exports.qbx_core:GetPlayer(src); same charge, and persist Installed to a phone_apps table keyed by citizenid.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), scaled for a rising niche.

Trend Signal

rising — strategy: MASTER-200 id-112 names 'apps store + custom apps SDK' verbatim (MASTER-200.md:219); platform/ecosystem play with compounding lock-in.

Sales Angle

The ecosystem play — sell the SDK that makes every other dev build on your phone, then own the store they list in. Lock-in compounds with each third-party app. Recommended Tebex price $189.

Difficulty & Ship Time

advanced · ships in 1-2 days.