🛒 Shop Items
Configure the items available in your donator store.
Item Structure
Vehicles
{
id = 'adder',
type = 'vehicle',
name = 'Adder',
description = 'A luxury supercar',
price = 500,
category = 'Super',
image = 'https://example.com/adder.png',
}Items
{
id = 'weapon_pistol',
type = 'item',
name = 'Pistol',
description = 'A standard pistol',
price = 50,
category = 'Weapons',
item = 'weapon_pistol',
amount = 1,
}Bundles
{
id = 'starter_bundle',
type = 'bundle',
name = 'Starter Bundle',
description = 'Everything you need to get started',
price = 200,
originalPrice = 300,
category = 'Bundles',
items = {
{ type = 'vehicle', id = 'sultan' },
{ type = 'item', id = 'weapon_pistol', amount = 1 },
{ type = 'money', amount = 50000 },
},
}Categories
Config.Categories = {
{ id = 'vehicles', label = 'Vehicles', icon = 'fa-car' },
{ id = 'weapons', label = 'Weapons', icon = 'fa-gun' },
{ id = 'items', label = 'Items', icon = 'fa-box' },
{ id = 'bundles', label = 'Bundles', icon = 'fa-gift' },
}Item Properties
| Property | Required | Description |
|---|---|---|
id | Yes | Unique identifier |
type | Yes | 'vehicle', 'item', or 'bundle' |
name | Yes | Display name |
price | Yes | Cost in coins |
description | No | Item description |
category | No | Category for filtering |
image | No | Image URL |
originalPrice | No | For showing discounts |
testDrive | No | Enable test drive (vehicles only) |
Image URLs
For images, you can use:
- Direct image URLs
- Your own hosted images
- FiveM vehicle image services