Oxide Blackmarket
Underground black market dealer system for QBCore.
Oxide Blackmarket brings an underground economy to your FiveM server with a single roaming dealer, reputation-gated inventory, police surrender and arrest mechanics, loot bags, and hit squad retaliation for players who push too far.
Key Features
- Single roaming dealer: One synced NPC dealer relocates between configured map locations on a timer.
- Reputation tiers: Players unlock better inventory as
blackmarket_repincreases. - Dirty money support: Buy, sell, and loot payouts can use either an account or an item-based cash model.
- Police pressure: Officers can force surrender, arrest the dealer, and trigger dispatch pressure.
- Hit squad retaliation: Killing the dealer can spawn an armed squad that hunts the killer.
- Loot bags: Dealer death can create a first-come-first-served loot drop with cash and stock items.
- Pager intel: A burner pager can reveal dealer intel with tier-based success and detail.
Requirements
| Resource | Purpose |
|---|---|
ox_lib | Locale, commands, and utility helpers |
| o-link | Framework, job, money, inventory, notify, phone, banking, callback, and targeting abstraction |
This resource expects your o-link setup to provide character metadata, job checks, target interactions, inventory access, money handling, notifications, and optional phone and banking integrations.
OneSync
The dealer ped is created server-side and synced through the network, so OneSync must be enabled:
set onesync on
Quick Start
- Place
oxide-blackmarketin your server's resources folder. - Start
ox_lib, theno-link, thenoxide-blackmarket. - Add
blackmarket_pagerto your inventory system's item registry. - Review
shared/config.luaandshared/items.lua. - Restart the server and verify the dealer spawns.
ensure ox_lib
ensure o-link
ensure oxide-blackmarket
See the Installation Guide for the full setup flow.
Reputation Tiers
| Tier | Name | Rep Required |
|---|---|---|
0 | Unknown | 0 |
1 | Street | 100 |
2 | Connected | 300 |
3 | Trusted | 600 |
4 | Inner Circle | 1000 |
Reputation is stored through olink.character in the player's blackmarket_rep metadata. Selling configured items increases rep, killing the dealer removes rep, and tier changes update available shop inventory.
Core Systems
Dealer lifecycle
- The dealer spawns at a random entry from
Config.Locations. - Relocation runs on
Config.RelocationInterval. - Stock resets whenever a fresh dealer spawns.
- New players are synced through
olink:server:playerReady.
Dirty money
Config.DirtyMoney controls how shop and loot cash is handled:
mode = 'account': usesolink.moneywithConfig.DirtyMoney.accountmode = 'item': uses an inventory item withConfig.DirtyMoney.item
Police gameplay
- Police detection is based on the player's job matching
Config.PoliceJobs. - Officers can force surrender by aiming within
Config.AimSurrenderDistance. - Arrest rewards use
olink.money, with optional department deposits througholink.banking. Config.DispatchAlertscontrols transaction and proximity dispatch pressure.
Pager intel
The blackmarket_pager item can reveal dealer intel once the player reaches Tier 2:
| Tier | Success Rate | Result |
|---|---|---|
2 | 40% | Area intel from the spawn location |
3 | 70% | Area intel from the spawn location |
4 | 100% | Exact GPS intel, waypoint, and phone/email when available |
See Features and Configuration for the complete behavior and tuning options.