📃CONFIGURATION FILE

🛠 1. Configuration (config.lua)

All settings are managed through config.lua. Make sure to configure the following:

💬 Discord Webhook

Config.DiscordWebhook = "DISCORD_WEBHOOK_HERE"

🎯 Target System

Config.TargetSystem = "auto"

📦 Inventory System

Config.InventorySystem = "ox_inventory" 

Supports:

  • qb-inventory

  • ox_inventory

  • custom inventories

🛒 Items

Blackmarket items, prices, categories, and tiers:

Config.Items = { ... }

✔ All items you add here will be automatically inserted into SQL on first server start. No manual SQL imports needed.


📍 2. Location Setup (locations.lua)

All black market areas, tier zones, target points, and NPC positions are edited in:

⚠️ Do not forget to configure your locations here.


🗄 3. SQL System (Automatic)

This script creates and maintains its own SQL tables automatically.

All items added to Config.Items will sync to SQL on first run:

  • Name

  • Label

  • Description

  • Price

  • Stock

  • Tier

  • Category

No manual SQL work required.


Last updated