docs / laptop / laptop-blackmarket
Nexo Black Market
Order it and a drone brings it. Black market with live delivery, pickup codes and an admin panel.
Features
- Drone delivery
- Pickup codes
- Admin panel
- 5 languages
Requirements
| Resource | Required? | What for |
|---|---|---|
nexo_laptop | Yes (1.5.1+) | The app runs inside the laptop |
oxmysql | Yes | Stores data. Tables are created automatically |
| Framework | Yes | Qbox, QBCore, ESX, ox_core |
| Inventory | Yes | ox_inventory, qs, codem, tgiann, core, origen, qb / ps / lj, ESX |
nexo_boosting | Optional (1.2.1+) | Share the same NXC balance |
Installation
Includes the Nexo LaptopYou get the Nexo Laptop for free in Keymaster with the app. Install it first following its guide.
- Download the resource From keymaster.fivem.net → Granted Assets.
- Copy it to resources/ Named nexo_blackmarket.Don't rename itThe folder must be named exactly nexo_blackmarket. Otherwise it won't start (server, client or app) and warns in the console.
- Add it to your server.cfg Always after the laptop.
ensure oxmysql ensure nexo_laptop ensure nexo_boosting ensure nexo_blackmarket
- Database Tables are created automatically on start.
- Staff permissions For the Administration tab. Groups in Config.Admin.groups also work.
add_ace group.admin nexo_blackmarket.admin allow
How it works
- Categories (Weapons and Hack by default): staff creates, sorts and deletes them.
- Items: added by staff only. Each has its currency: Money, Dirty money or NXC.
- Pickup point (free): map blip and a code; press E at the spot to collect it.
- Drone delivery (surcharge): flies to you live and drops the box at your feet. Anyone can grab it if they get there first.
- Favorites with restock alerts, purchase history and reputation that unlocks items and gives discounts.
- Automatic restock and random flash deals.
Disconnect before pickupThe order is cancelled, stock returns and the money is refunded on reconnect, with a notification and mail (Config.Delivery.refundOnDisconnect).
Currencies
| Currency | Source |
|---|---|
| Money | Framework account (Config.Money: cash on qb/qbx, money on ESX) |
| Dirty money | Config.BlackMoney = 'auto': black_money account on ESX or black_money item |
| NXC | Config.NXC = 'auto': NEXO Boosting's if installed; otherwise NEXO Swap's |
Item images
Your inventory's images are used (Config.Images = 'auto'). Item names must match (e.g. WEAPON_PISTOL in ox_inventory).
Config.Images = 'nui://mi_inventario/images/%s.png'In-game administration
- Items: add and edit price, currency, stock, reputation, rarity and flash deal.
- Categories and pickup points (Add my position).
- Settings: drone surcharge and time, restock, deal discount and Discord.
Saved in nexo_blackmarket_settings and applied instantly for everyone.
Discord logs
The webhook goes in server/config.lua (server only: it never reaches players).
SvConfig.Discord = { enabled = true, webhook = 'https://discord.com/api/webhooks/...' }What gets logged is chosen in-game: purchases, deliveries (collected, expired, refunded and stolen) and staff changes.
Editable files
With Cfx.re escrow these files stay open: config.lua, server/config.lua, locales/*.lua, html/i18n.js, install.sql.