vi/raiser
housing
housing, GTA 6 style illustration
Vaultadvancedhousing

Fractional Co-Ownership Shares

QBCore exports-based shared-equity property: a server-held cap table where multiple owners buy percentage stakes and rent income pays out as proportional dividends.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~100 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 / morising
$900($250 to $3,500)

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

Effort vs return
advanced1 day

Description

A shared-equity property mechanic: several players each buy a percentage stake in one property, and its rent income is split as dividends in proportion to holdings. The server owns the cap table, validates that total equity never exceeds 100%, and distributes income, so ownership and payouts cannot be forged. Servers sell it because it adds a genuine passive-income investment layer no key-sharing script offers.

Prompt Template

You are writing a FiveM script 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 at content/expected-outputs/housing/15-fractional-coownership-shares.lua implements the office prompt and /buyshare on the client, and a server-held cap table that caps total equity…

🔒 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

  • Equity over 100%, not summing the cap table before a purchase lets ownership exceed 100%. Validate the running total server-side.
  • Client dividend math, computing cuts on the client off a cached share lets a player inflate or double-claim. Compute and pay on the server.
  • Desynced ownership, mutating a client copy of the cap table loses stakes on reconnect. The server is the only writer.

Corrective re-prompt: Keep the cap table as the single server-side source of truth: before any "coown:buyShare" sum existing stakes and reject if total + pct > 100, then debit pctSHARE_PRICE from the bank server-side. Compute every dividend as math.floor(incomepct/100) on the server and pay via AddMoney; the client only renders "coown:capTable"/"coown:dividend".

Framework Integration

  • QBCore: exports["qb-core"]:GetCoreObject(); key the cap table on Player.PlayerData.citizenid, Player.Functions.RemoveMoney/AddMoney("bank", amt).
  • QBox: exports.qbx_core:GetPlayer(src); persist the cap table in a coownership SQL table via oxmysql so stakes survive restarts.
  • ESX: if ported, key on xPlayer.identifier and use xPlayer.getAccount("bank"); this entry ships QBCore/QBox only.

Profit Potential

$250-$3500/mo on Tebex (expected ~$900), priced inside the $50-389 housing-script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo) scaled for a rising-tier niche.

Trend Signal

↗ rising, inferred: shared-equity is novel/low-saturation; an ownership stake is distinct from key-sharing access.

Sales Angle

Position as a novel investment mechanic, passive-income real-estate syndicates no competing housing pack ships. Recommended Tebex price $199.

Difficulty & Ship Time

advanced · ships in 1 day.