Discord: [R6 Team](https://discord.gg/jvDRQxCJ2h)
Preview: https://youtu.be/HbShZS70dw8
Script Name: R6-BlackMarket
Framework: QBCore, QBox, ESX
Dependencies: ox_lib, oxmysql, ox_target or qb-target, ox_inventory or qb-inventory or ESX inventory
Description:
This script introduces a complete underground marketplace system built around a physical tablet device, for roleplay servers. Players list and trade items entirely through the market itself acting as a middleman — sellers deliver goods to a random drop-off point, buyers collect from a completely separate random pickup point, with no direct handover and no positional link between the two. Access is gated behind VPN zones, a VPN item, or a dynamically rotating access code, and the entire economy runs on its own fluctuating in-game currency. With a built-in auction house, a metadata-based scam detection system, a full reputation and rating engine, an in-tablet admin panel, and a dedicated law-enforcement confiscation system, this script brings a complete, self-contained black market economy to any roleplay server.
Features:
* Physical Tablet Access – players must use a tablet item to open the market, gated behind a configurable combination of VPN zones, a VPN item, or a dynamic access code.
* Dynamic Access Codes – run static configured codes or fully auto-generated codes that rotate on a timer, with lockout after too many failed attempts, all validated server-side.
* Unique Player Alias System – every player registers a unique alias bound to their account, fully separate from their real character name, with configurable rename cost and cooldown.
* Middleman Delivery Logistics – sellers physically deliver items to a randomized drop-off point before a listing goes live, and buyers collect purchases from a separate randomized pickup point, with server-side location locking to prevent overlap.
* Configurable Item Whitelist – only items explicitly defined in the config can be sold, each with its own price bounds, quantity limits, category, and image.
* Metadata-Based Scam Detection – sellers must declare an item's real condition in dedicated fields at listing time; the server verifies it against the item's actual metadata on delivery and can flag, penalize, or block mismatched listings.
* Full Auction House – a separate auction system with starting price, minimum bid increment, optional instant-buy, scheduled opening times, live countdown, and anti-snipe time extension.
* Fluctuating Market Currency – a dedicated in-game currency with a configurable fixed rate or a randomly fluctuating exchange rate, complete with a visual rate history graph.
* Physical Wallet Deposits & Withdrawals – depositing and withdrawing currency requires a physical run to a location, using cash or a designated item as the funding source.
* Reputation & Rating System – buyers rate sellers after every purchase, with editable ratings, average scores, and a full reputation meter shown across the market, auctions, and profile pages.
* In-Tablet Admin Panel – search any player, adjust balance or reputation, ban players from the market, pull or destroy any listing, and review a full transaction ledger, all re-verified server-side on every action.
* Law Enforcement Confiscation System – authorized job holders use a scanner item to investigate a target's market activity through a configurable chain of checks, with an optional skill-check minigame allowing targets to resist the scan.
* Per-Job Grade Permissions – confiscation actions (scanning, viewing, seizing listings, wiping wallets) are each independently gated by a minimum job grade, fully configurable per job.
* Discord Webhook Logging – every registration, listing, purchase, wallet action, code rotation, admin action, and confiscation is automatically sent to a fully configurable, per-action Discord webhook.
* Data Retention Control – automatically clean up closed listings and auctions after a configurable number of days, keeping the database lean.
* Multi-Framework Support – fully compatible with QBCore, QBox, and ESX through a built-in bridge system, switchable with a single config line.
* Fully Localized – complete English localization support, with an easy-to-edit locale file covering every player-facing string in both the script and the UI.
* Fully Configurable – adjust access requirements, item whitelist, pricing, taxes, delivery timers, auction rules, confiscation permissions, and the entire tablet color theme directly from the config file.