config.lua. Zone, recipe, selling, and territory data is managed in-game from the creator panel and stored in data/world.json (or MySQL) — you don’t edit that by hand.
General
Permissions
server.cfg:
UI
ItemImage accepts:
'auto'— detect the running inventory (ox_inventory,qb-inventory,qs-inventory,ps-inventory)- a custom pattern, e.g.
'nui://ox_inventory/web/images/%s.png'(%sis replaced with the item name) false— disable item images
Consumption
Config.Notify.Type and Config.TextUI.Type are only the defaults. Both can be switched live from the panel’s Settings tab — the change is saved to data/world.json and applies to every player instantly.Limits
Hard limits enforced by the server and mirrored by the UI:Effect types and preset catalogs
Config.EffectTypes is the catalog of everything that can go on a drug’s timeline, grouped into visual, camera, movement, stats, and special categories. Each entry defines its strength slider (min/max/step/default) and whether it applies instantly or on consumption.
The preset catalogs it points at are also plain config tables you can extend:
| Table | Contains |
|---|---|
Config.ScreenEffects | Screen effect presets (animpostfx names) — 16 ship by default |
Config.Timecycles | Timecycle filter presets (support strength) |
Config.CamShakes | Camera shake presets (drunk, drug trip, tremor, …) |
Config.MovementClipsets | Walk style presets |
Use animations
Config.Animations lists the animation presets shown in the drug editor:
Emotes
Config.Emotes is a built-in emote engine — looped animation plus a prop attached to a ped bone and optional particle effects, played natively without any emote menu. Entries shipped by default: joint, cigarette, beer, whiskey, burger, bandage, lollipop2e, crackpipe, bong, needle, soda. Add your own freely.
The
lollipop2e emote requires the natty lollipop addon prop to be streamed on your server.Config.PlayEmote decides how “Emote” taking methods play: built-in emotes play natively; any other name falls through to a running emote menu (prism-emotemenu, scully_emotemenu, rpemotes-reborn, rpemotes, or dpemotes). Replace the function to wire a custom menu. Config.StopEmote is called when consumption ends.
World
Config.World provides fallback assets, all editable per feature in the panel:
NarcosModel('g_m_y_salvaboss_01'),PusherModel('s_m_y_dealer_01'),RobberModel('g_m_y_mexgoon_01'),AuctionBrokerModel('s_m_m_highsec_01'),AuctionVehicleModel('burrito3')CustomerModels— ped models used by corner selling and spawned NPC buyersPlantProps— weed plant props for drug fields (growing/grown), andPlantSpacing = 1.5(minimum meters between plants)DealerModels— ped models selectable for hired dealersBlips— map blip sprite/color/scale per zone type (harvest,field,lab,factory,territory,dealer,narcos,pusher,auction,hired,police)
Police
Config.PoliceAlert is called server-side when a refused sale alerts the police — wire your dispatch here:

