[ESX-QB] Advanced Dr

25.00EUR

[ESX-QB] Advanced Drug Warehouses

Package Description


Production-ready drug processing with purchasable warehouses, keys, multi-language (EN/NL), targets, and auto-processing to stash.
Built for performance and configurability.

Key Features

  • ESX & QBCore support (auto-detect)

  • Multi-language: English & Dutch (easy to extend)

  • Warehouses: buy, own, and process in multiple labs

  • Blips toggle + configurable locations via config.lua

  • Access control: key items (copy/share) + DB ACL

  • Targets: ox_target / qb-target / TextUI fallback

  • Processing: coke, meth, weed with per-item ratios (e.g., 2x marijuana → 1x weed_bag)

  • Auto-processing: queue up to 200 units, persists across restarts, ETA status

  • Output to stash: finished items go straight to warehouse storage (ox_inventory)

  • Open client hooks: plug your own notify/progress/TextUI in open_client.lua

  • oxmysql database with auto-migrations & seeding from Config.Warehouses

Requirements

  • oxmysql

  • One of: ox_target or qb-target (TextUI fallback available)

  • ox_inventory (recommended & required for auto-processing stash I/O)

  • ESX or QBCore

What’s Included

  • Full resource with clean structure (client/server/shared)

  • English & Dutch locales

  • SQL migration/seed scripts

  • Example config with multiple labs

  • Commands for key management & debug (optional)

  • Auto-refresh on purchase/restart (no manual restart needed)

Installation (Quick)

  1. Drag cld-drugslabs into your resources/ and ensure it in server.cfg.

  2. Import the provided SQL (or let auto-migration run on start).

  3. Configure config.lua (framework, locales, targets, blips, labs, items/ratios).

  4. Start the server. On join, labs load automatically.

  5. (Tebex) Deliver the zip and README to buyers.

Configuration Highlights

  • Locations & blips: Config.Warehouses

  • Ratios & outputs: Config.Items.reagents & Config.Items.outputs

  • Manual times: Config.Items.processTime

  • Auto times & caps: Config.AutoProcess.timePerUnit & maxUnitsPerQueue

  • Output destination: Config.OutputToStorage (stash vs player)

  • UI hooks: open_client.lua exports for notify/progress/TextUI

      Commands 

  • /lab_givekey [playerId] [labId] – give a key

  • /lab_copykey [labId] – copy a key for yourself

  • /labstatus [labId] – show queued jobs + ETAs (optional command)

  • /labrefresh – force a client refresh (optional)

  • /labseed – seed labs from Config.Warehouses (console/optional)

Performance

  • Lightweight client loops

  • Server-side queue worker ticks every 10s

  • Batched queries with oxmysql

  • Stash operations wrapped for ox_inventory versions (compat helpers)

Support & Updates

  • Clear, commented code for easy edits

  • Fast support for installation issues

  • Regular maintenance updates & bugfixes

License & Refund

  • One license per server (Tebex purchase).

  • Digital goods — refunds only in case of unresolved critical issues.