QB / ESX
Agency-Blackmarket
Complete black market system with dual framework support (QBCore/ESX) featuring a 5-level reputation system, dynamic flash sale events, money laundering mechanics, and vehicle trading. Auto-detects server framework and supports multiple dispatch systems with configurable police alerts, hacking minigames, and categorized item trading.

01 Installation
Place Agency-Blackmarket in resources directory
Import blackmarket_reputation.sql into database
Add ensure Agency-Blackmarket to server.cfg
Optional: Install Agency-Notify + Agency-Progressbar
Dependencies
QBCore or ESX — auto-detectedAgency-Notify — optionalAgency-Progressbar — optionalqb-target — optional
SQL File
Import this SQL file into your database before starting the resource:
-- Agency-Blackmarket Reputation System Database Table
-- Import this file into your MySQL database to create the required table
CREATE TABLE IF NOT EXISTS `blackmarket_reputation` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`citizenid` VARCHAR(50) NOT NULL UNIQUE,
`reputation` INT DEFAULT 0,
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
`updated_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
INDEX `idx_citizenid` (`citizenid`),
INDEX `idx_reputation` (`reputation`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Optional: Insert some test data
-- INSERT INTO `blackmarket_reputation` (`citizenid`, `reputation`) VALUES
-- ('TEST12345', 50),
-- ('TEST67890', 100);