gta6/prompts
phone
Vaultintermediatephone

Messaging & Group Chat App

ESX/QBCore/QBox messaging app with 1:1 and group threads, media attachments, read receipts, typing indicators, and server-owned membership so no one joins a thread they're not in.

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

Description

A messaging app with 1:1 and group threads, media attachments, read receipts, typing indicators, and pinned/blocked threads. Standalone messaging is commoditized, so this sells as the correctly server-authoritative drop-in for custom shells that need real group-chat semantics rather than a one-to-one stub.

Prompt Template

You are writing a FiveM resource for a messaging + group chat app that runs with ESX, QBCore,…

🔒 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/06-messaging-group-chat.lua. It implements server-held threads with an isMember gate on every send/typing/read event, delivery that skips…

🔒 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

  • Per-message recipient list — letting the sender name recipients each message allows thread injection; store membership server-side and check every send.
  • Delivery to blocked — broadcasting to all members ignores blocks; skip blocked members on delivery.
  • Self-echo — echoing typing/read back to the sender double-renders; fan out only to other members.

Corrective re-prompt: "Store Threads[id].members server-side and gate msg:send/setTyping/markRead with isMember, skip Threads[id].blocked entries on delivery, and exclude the source when fanning out typing and read receipts."

Framework Integration

  • ESX: ESX = exports['es_extended']:getSharedObject(); resolve display names via xPlayer.getName() instead of GetPlayerName(src) for character names.
  • QBCore: QBCore = exports['qb-core']:GetCoreObject(); key threads by citizenid so a relog reloads the same conversations.
  • QBox: exports.qbx_core:GetPlayer(src); persist Threads to a phone_messages table and rehydrate on load for offline delivery.

Profit Potential

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

Trend Signal

saturated — corpus: Standalone messaging is commoditized — every Tebex top-100 phone bundles it (signal-scraper Tebex source).

Sales Angle

Drop-in messaging for custom shells that lack it — sold on group threads, read receipts, and block handling done server-authoritatively, not as a whole standalone phone. Recommended Tebex price $69.

Difficulty & Ship Time

intermediate · ships in 6-8h.