Open-source FiveM scripts, MLOs, vehicles & server packs for ESX, QBCore & Qbox. Browse Shop →
All Shop
DarkNet Shop Script (ESX & QBCore)

Description

This resource adds a darknet shop to your server. Players go to a location you set in the config, knock on the door and open a web UI where they can buy illegal items and weapons. The download contains an ESX version and a QBCore version, both named id_darknet.

Features

  • Shop access by knocking on a door at the coordinates set in the config (ESX: Press E to knock on door prompt)
  • Web UI with an image, label, price and description for each item
  • Items can be of type item or weapon
  • Item rarity normal (blue line under the image) or rare (red line)
  • Descriptions over 95 characters get a scrollbar, so you can write longer texts
  • Configurable quantity per purchase; the ESX version also sets the ammo given with a weapon
  • Translatable messages (e.g. the not-enough-money notice)
  • Responsive UI
  • Example items included: Lockpick and Pistol, with images in web/items/

Configuration

In shared/config.lua you set for each item: name, type, label, price, rarity and description. You also set the door coordinates, the translation texts, the number of items per purchase and (ESX) the ammo per weapon.

Requirements

  • OneSync (listed as a dependency in both manifests)
  • ESX version: es_extended
  • QBCore version: a QBCore server

Installation

  • Pick the folder for your framework: DarkNet/ESX/id_darknet or DarkNet/QBCore/id_darknet.
  • Copy id_darknet into your resources folder.
  • Add ensure id_darknet to your server.cfg.
  • Edit shared/config.lua and add an image for each new item to web/items/.

Related resources

All resources →