vi/raiser
business
business, GTA 6 style illustration
Vaultbeginnerbusiness

Shared Business Treasury

QBCore society treasury with role-gated deposit/withdraw limits and a server-kept transaction ledger.

PRODUCTION-SHAPED, the reference Lua is validated and written framework-correct for ESX, QBCore, and QBox, ready to drop into your server.
Est. Lua
~82 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 / mostable
$450($130 to $1,700)

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

Effort vs return
beginner2-4h

Description

A shared business treasury where a society account is funded by member deposits and protected by per-grade withdraw limits, with every movement written to a server-kept ledger. Servers buy it because shared funds are a trust-sensitive primitive that needs role gating and an audit trail, not a free-for-all account anyone can empty.

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 at content/expected-outputs/business/11-shared-business-treasury.lua implements per-job society funds, a per-grade withdraw-limit map, a capped transaction ledger, 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-side limit, a grade cap enforced in NUI is bypassed by a modified client. Check job.grade.level against the limit map on the server.
  • Client-held balance, keep funds and ledgers server-side; the client only renders them.
  • Negative balance race, re-check amount > funds[job] inside the server withdraw handler before subtracting.

Corrective re-prompt: Move the withdrawLimit map and the funds/ledgers tables into the server section, read the withdrawing player's PlayerData.job.grade.level server-side, and reject the withdraw when it exceeds either the grade limit or the live fund balance before mutating anything.

Framework Integration

ESX: back the fund with esx_addonaccount:getSharedAccount('society_'..job) and gate by xPlayer.job.grade; the ledger stays a server table. QBCore: native, Player.PlayerData.job.grade.level, RemoveMoney/AddMoney('bank', n); optionally persist funds via qb-management. QBox: identical to QBCore via exports.qbx_core:GetPlayer(src); qbx_management can hold the canonical society balance.

Profit Potential

$130-$1700/mo on Tebex (expected ~$450), priced inside the $50-389 standalone-script band against a corpus of comparable Tebex sellers (median ~$11.85K/mo) for a stable society-banking niche.

Trend Signal

→ stable, corpus: Society/shared-account banking is a standard framework primitive in scraped management bundles.

Sales Angle

Position as the trust layer for shared money: role-gated withdraws and a clean ledger gangs, jobs and businesses can all run. Recommended Tebex price: $69.

Difficulty & Ship Time

beginner · ships in 2-4h.