Drug System ESX

Drug System ESX

$30.00

Add to Basket

Enhance your FiveM server with TheVault Drug System, an advanced all-in-one drug system featuring dynamic NPC street selling, customizable drug effects, NPC drug plugs, rotating and permanent boost zones, player progression, competitive leaderboards, and a fully integrated in-game administration panel.

Designed to provide a complete and immersive drug experience for your FiveM roleplay server, with extensive customization directly in-game, without the need to constantly edit configuration files or restart your server.

What's Included

Drug Selling

  • Continuous NPC Selling: Use /selldrugs to start searching for customers who automatically spawn nearby and approach your character.
  • Immersive Animations: Custom phone, cash and drug exchange animations with accompanying props.
  • NPC Rejections: Configurable chances of customers refusing to purchase drugs.
  • NPC Robberies & Recovery: Customers can steal your drugs and attempt to escape. Chase them down and recover your stolen items.
  • Automatic Inventory Detection: Automatically detects configured drugs within the player's inventory.
  • Custom Selling Prices: Configure individual selling prices, transaction quantities and payment currencies.
  • Police Requirements: Optional minimum police requirements with configurable police jobs.
  • Dispatch Integration: Multiple dispatch integrations with customizable police alerts.

Drug Effects

  • In-Game Drug Creator: Create, edit, duplicate, enable, disable and delete custom drug configurations directly in-game.
  • Custom Inventory Integration: Assign effects to existing ox_inventory items.
  • Advanced Effect Timeline: Combine immediate, delayed and repeating effects with individually configurable values and durations.
  • Multiple Consumption Animations: Includes pills, smoking, drinking, lean, snorting, injections, bongs, eating and instant consumption.
  • Custom Props: Immersive props associated with different consumption methods.
  • Visual Effects: Screen blur, tunnel vision, psychedelic effects and camera shake.
  • Physical Effects: Custom running speeds, swimming speeds, walking styles, stamina, health, armour and more.
  • Armed Consumption: Configure whether individual drugs can be consumed whilst carrying a weapon.
  • Live Testing: Preview consumption animations and test gameplay effects directly from the administration panel without consuming inventory items.
  • Custom Cooldowns: Configure individual consumption durations and cooldowns.

NPC Drug Plugs

  • In-Game Plug Creator: Create fully customizable NPC shops anywhere on the map.
  • Custom NPC Models: Choose individual NPC models, positions and headings.
  • Custom Shop Inventories: Configure available items, prices, currencies and purchase limits.
  • Advanced Stock Management: Supports limited stock, unlimited stock and automatic stock replenishment.
  • Job Restrictions: Restrict individual shops to specific jobs and minimum job grades.
  • Custom Map Blips: Configure optional map blips for individual shops.
  • Optimized NPC Streaming: NPCs automatically spawn and despawn based on player distance.
  • Custom Shop Interface: Clean and professionally designed purchasing menus with customizable purchase quantities.

Boost Zones

  • Permanent Boost Zones: Create fixed locations that reward players with increased selling payouts.
  • Rotating Boost Zones: Automatically rotate active boost locations at configurable intervals.
  • In-Game Zone Creator: Create, edit, duplicate and delete boost zones directly from the administration panel.
  • Custom Multipliers: Configure individual payout multipliers and zone sizes.
  • Visual Indicators: Custom map blips, zone markers and on-screen boost indicators.
  • Sound Effects: Distinct audio notifications when entering and exiting boost zones.

Player Progression & Leaderboards

  • Progressive Ranking System: Players progress through customizable ranks by completing successful sales.
  • Rank Multipliers: Reward experienced players with increased selling payouts.
  • Competitive Leaderboard: Use /drugleaderboard to view the highest-ranked sellers.
  • Persistent Statistics: Track lifetime earnings, successful transactions and total drugs sold.
  • Player Statistics Management: Administrators can view, edit and reset individual player statistics directly in-game.
  • Leaderboard Management: Reset individual progression or the entire leaderboard with confirmation protection.

Advanced Administration Panel

Access the complete administration dashboard using /drugadmin.

  • Manage drug effects and consumption configurations.
  • Configure selling prices, quantities and customer behaviour.
  • Create and manage permanent and rotating boost zones.
  • Create and manage NPC drug plugs.
  • Manage player statistics and progression.
  • Configure police requirements and dispatch settings.
  • Customize player-facing notifications.
  • Independently enable and disable gameplay modules.
  • Import and export supported configurations.
  • Save configuration changes directly in-game.
  • ACE, ESX group and license-based administration permissions.

Additional Features

  • TheVault_Lib Integration: Professionally designed custom menus, notifications and progress indicators.
  • Preconfigured Drugs: Six ready-to-use starter drugs with configured effects and selling settings.
  • Inventory Images: Six high-quality transparent inventory images included.
  • Installation Files: Ready-to-copy ox_inventory item definitions, SQL and detailed installation instructions.
  • Discord Webhooks: Optional logging for supported gameplay and administration events.
  • Server-Side Protection: Transaction validation, permission checks, rate limiting and duplication prevention measures.
  • Persistent Configurations: Saved configurations and player progression are retained across server restarts.
  • Optimized Performance: Designed to minimize unnecessary background processing.

Commands

  • /selldrugs — Start or stop street selling.
  • /drugleaderboard — View the drug selling leaderboard.
  • /drugadmin — Open the administration dashboard.

Performance

  • Idle: 0.00 ms
  • Active: Approximately 0.02–0.03 ms

Performance measured during development testing. Results may vary depending on your server environment.

Requirements

  • ESX Legacy
  • ox_inventory
  • ox_lib
  • oxmysql
  • ox_target
  • TheVault_Lib V1.2.0 or newer — Available for free

Additional Information

  • Cfx Asset Escrow protection.
  • Editable configuration files and dispatch integrations.
  • Detailed installation documentation included.
  • No additional paid dependencies required.

One script. Multiple systems. Complete customization.

TheVault Drug System brings street selling, drug effects, NPC plugs, boost zones and player progression together into one powerful, professionally designed resource.