NEXO DOCSv1 · ENES
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.

v1.1.1QboxQBCoreESXOX

Features

  • Drone delivery
  • Pickup codes
  • Admin panel
  • 5 languages

Requirements

ResourceRequired?What for
nexo_laptopYes (1.5.1+)The app runs inside the laptop
oxmysqlYesStores data. Tables are created automatically
FrameworkYesQbox, QBCore, ESX, ox_core
InventoryYesox_inventory, qs, codem, tgiann, core, origen, qb / ps / lj, ESX
nexo_boostingOptional (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.
  1. Download the resource From keymaster.fivem.net → Granted Assets.
  2. 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.
  3. Add it to your server.cfg Always after the laptop.
    ensure oxmysql
    ensure nexo_laptop
    ensure nexo_boosting
    ensure nexo_blackmarket
  4. Database Tables are created automatically on start.
  5. 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

CurrencySource
MoneyFramework account (Config.Money: cash on qb/qbx, money on ESX)
Dirty moneyConfig.BlackMoney = 'auto': black_money account on ESX or black_money item
NXCConfig.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.