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 Exports & API
Client Events
| Event | Description |
|---|---|
| blackmarket:client:openMenu | Opens the black market dealer main menu for the player. |
| blackmarket:client:closeMenu | Closes any open black market menus for the player. |
| blackmarket:client:openLaunderingMenu | Opens the money laundering submenu. |
| blackmarket:client:showNotification | Displays a styled black market notification (title, message, type, duration). |
Server Events
| Event | Description |
|---|---|
| blackmarket:server:checkAccess | Checks whether the calling player can access the black market and replies with reputation data. |
| blackmarket:server:completeBuy | Finalises a purchase after the client minigame succeeds. |
| blackmarket:server:sellItem | Triggers the sell flow with optional minigame and cooldown handling. |
| blackmarket:server:completeSell | Finalises a sale after the client minigame succeeds. |
| blackmarket:server:launderMoney | Launders dirty_money/markedbills into clean cash with fees and possible extortion. |