wrenchInstallation

Quick installation guide for Chamly Drugs.

Requirements

  • FiveM Server (latest version recommended)

  • Framework: ESX Legacy, QBCore, or QBX

  • Target System: ox_target or qb-target (optional - has standalone mode)

Installation Steps

1. Download & Upload

  1. Download chamly_drugs from CFX Portalarrow-up-right - official site of FiveM with purchased resources

  2. Extract the resource

  3. Place in your server's resources folder

2. Add to server.cfg

Add AFTER your framework:


# Framework (choose one)
ensure es_extended   # ESX

# ensure qb-core     # QBCore

# ensure qbx_core    # QBX

# Chamly Drugs
ensure chamly_drugs

3. Install Items

You need to add 8 items to your inventory system:

Raw Materials: weed, meth, coke, codeine Processed Products: weed_pooch, meth_pooch, coke_pooch, codeine_pooch

For ESX with ox_inventory

Add to ox_inventory/data/items.lua:

Don't forget to add item images to ox_inventory/web/images/ folder!

For QBCore

Add to qb-core/shared/items.lua:

Add item images to qb-inventory/html/images/ folder.

📄 Complete item setup for all systems is in ITEMS_INSTALLATION.md file in the resource folder.

4. Basic Configuration

Edit config/main.lua:

5. Restart Server

Or restart the entire server.

Verification

Test if everything works:

  1. Join your server

  2. Give yourself a test item: /giveitem [your_id] weed 1

  3. Check inventory - item should appear

  4. Go to a drug location (check config/drugs/weed.lua for coordinates)

  5. Approach a plant and press E (or use target)

  6. Complete harvesting minigame

  7. Check if you received items

Default Locations

Check these config files for default locations:

  • config/drugs/weed.lua - Weed farm coordinates

  • config/drugs/meth.lua - Meth lab coordinates

  • config/drugs/coke.lua - Cocaine farm coordinates

  • config/drugs/codeine.lua - Codeine locations

Troubleshooting

"Item doesn't exist" error

  • Add all 8 items to your inventory system

  • Restart inventory resource

  • Verify item names match exactly

No target prompts appearing

  • Install ox_target or qb-target, OR

  • Set Config.Target.UseTargetSystem = 'standalone'

"Framework not detected" error

  • Ensure framework starts BEFORE chamly_drugs in server.cfg

Props not spawning

  • Get closer to location (within 50m)

  • Check coordinates in config files

Next Steps

Need Help?

Last updated