Config builder

X3D Sell Drug config

Change values in the form, then copy one topic or the whole file into your server.

Download with my settings
v1.2.6
💡 Already changed your config? Paste it to continue from it. Keys new in this version get ★.

General

Docs ↗
Config.Framework

Framework: 'auto' uses ESX when es_extended is there, otherwise standalone · 'esx' · 'standalone'

Config.Locale

Language of all text ('th' or 'en')

Config.Debug

Print debug messages (true/false)

Config.RequiredJobs

Minimum on-duty players per job before anyone can sell, e.g. { police = 2 } · {} = no check

Standalone has no jobs: fill Framework.GetJob in addons/framework/server.lua, otherwise nobody can sell

Jobs that cannot sell are set per group in blockedJobs below

Config.Alert

Alert these jobs after a sale: chance 0–1 per sale, delay in ms, blipTime = seconds the map circle stays

radius = circle size, colour = GTA blip colour id (1 red, 47 orange, 5 yellow); the circle flashes until it expires · jobs = {} = off

jobs
chance
delay
blipTime
radius
colour

Colour #47 · Icon and colour list ↗

Config.AdminBlips

Admins see every buyer spot (empty ones too) on join, players never do · with x3d_adminpanel you can toggle it there instead

Config.InteractDistance

How close you must be to press E (metres)

Config.StreamDistance

Distance at which a buyer ped spawns (metres)

Groups

Docs ↗
Config.Groups
Groups · 2 rows
#NameThai namelabelEnglish namelabelEnOptions
1street
2event