Installation
Install STG Wallet System on your FiveM server, with the SQL table and the wallet item for ox_inventory, qb-inventory and ESX.

STG Wallet System
Download the script
Sign in to the Cfx.re portal with the account you used at checkout and download stg_wallet from Granted Assets.
Move the resource
Extract the zip and place the stg_wallet folder inside the [STG] category folder in your resources directory.
resources/
└── [STG]/
├── stg_lib/
└── stg_wallet/Install the dependencies
Wallet System needs ox_lib, oxmysql and stg_lib. On ESX it also reads licenses from esx_license. Skip this step if your server already runs them.
Import the SQL
Run stg_wallet/setup-files/data.sql on your database. It creates the stg_wallet table, which stores the photo each player sets on their cards.
Add the wallet item
The wallet opens from the item named in STG.itemName, wallet by default. Add it to your inventory:
Add to ox_inventory/data/items.lua:
['wallet'] = {
label = 'Wallet',
weight = 0,
stack = false,
close = true,
client = {
event = 'stg_wallet:openWallet'
}
},Copy stg_wallet/setup-files/wallet.png to ox_inventory/web/images/.
Add to qb-core/shared/items.lua:
wallet = { name = 'wallet', label = 'Wallet', weight = 0, type = 'item', image = 'wallet.png', unique = true, useable = true, shouldClose = true, description = 'Wallet System' },Copy stg_wallet/setup-files/wallet.png to qb-inventory/html/images/.
Run on your database:
INSERT INTO items (name, label) VALUES ('wallet', 'Wallet');If your ESX server uses ox_inventory, follow the ox_inventory tab instead.
Restart your inventory after adding the item.
Start the script
Make sure [STG] starts after your framework, oxmysql and ox_lib in server.cfg:
ensure oxmysql
ensure ox_lib
# your framework: es_extended, qb-core or qbx_core
ensure stg_lib
ensure [STG]Then restart the whole server.
Keep the folder name stg_wallet, with the underscore. The wallet interface talks to the resource by this name, so with any other name the buttons stop working.
Wallet System V2 also creates a table named stg_wallet, with different columns. Run only one of the two wallets on the same database.
Nothing happens or the console shows an error? See Common Errors.
Next steps
Configuration
Card style, licenses, job cards, badges and texts
Dependencies
What needs to start before Wallet System
Still having trouble?
Open a ticket on our Discord. Our team answers around 15 hours a day.
Wallet System
A usable wallet item with ID, job and driver license cards, a custom ID photo, EU or USA card styles and cash actions like show money, give money and money rain.
Configuration
Every option in STG Wallet System config.lua, from the wallet item, card style and ID photo upload to driver licenses, job cards, badges and texts.