gta6/prompts
business
Vaultadvancedbusiness

Equity Shares & Investors

QBCore/QBox fractional-equity system where players buy shares in a business, draw server-pooled profit dividends, and trade shares peer-to-peer through a server-owned cap table.

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

Description

A fractional-equity system for QBCore or QBox: players buy shares in a business, the business accrues profit into a server-owned dividend pool, and shareholders draw dividends proportional to their holdings — plus a peer-to-peer share market so equity trades hands at negotiated prices. Servers sell it as the headline "investor economy" feature because clean fractional-ownership tooling barely exists on the market.

Prompt Template

You are writing a FiveM resource for QBCore (exports['qb-core']:GetCoreObject()).

🔒 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/business/25-equity-shares-investors.lua. It implements a server-owned cap table keyed by citizenid, a share purchase that checks availability 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-trusted dividend math — Claude lets the client compute and claim its split; keep the cap table, pool and payout formula server-side keyed by citizenid.
  • Unvalidated transfer — shares or money move before checking the buyer's funds and the seller's holdings, creating negative or duplicated balances.
  • One-sided net event — the dividend/notify round-trip on one side leaves the investor without a result; both sides use RegisterNetEvent + AddEventHandler.

Corrective re-prompt: "Move the cap table, dividend pool and payout math entirely into server.lua keyed by citizenid; in equity:requestTransfer verify the seller holds the shares and the buyer's bank covers the price before moving anything, and pay dividends as floor(pool * held/totalShares) — never trust a share count or amount the client sends."

Framework Integration

  • ESX: not targeted here, but portable — swap to xPlayer.getAccountMoney('bank') / addAccountMoney and key the cap table by identifier.
  • QBCore: local QBCore = exports['qb-core']:GetCoreObject(); use Player.Functions.RemoveMoney('bank', cost) / AddMoney and GetPlayerByCitizenId for offline holders.
  • QBox: use exports.qbx_core:GetPlayer(src) with identical money accessors; persist the cap table to an oxmysql business_equity table for restart-safe holdings.

Profit Potential

$600–$6000/mo on Tebex (expected ~$2200). [INFERRED] within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), sized for a hot, low-prior-art niche.

Trend Signal

🔥 hot — strategy: Matrix flags fractional-equity as novel + high-Defensibility; little prior art on Tebex.

Sales Angle

Position as the flagship "investor economy" mechanic — a defensible headline product because clean fractional-ownership tooling barely exists. Recommended Tebex price $349.

Difficulty & Ship Time

advanced · ships in 2-3 days.