Skip to content

Usage

Farming

Players place pots in designated farming zones, plant seeds, tend to the crops, and harvest them when mature. Pots and crop states persist between server restarts.

Step by step

  1. Obtain a pot - small, medium or large. Each pot size supports a different number of plants.
  2. Place the pot in a valid planting zone.
  3. Plant seeds - interact with the pot and select a seed from your inventory.
  4. Water the pot regularly using a water can.
  5. (Optional) Fertilize the pot to speed up growth.
  6. (Optional) Scan the pot to monitor the stats of the plant, to get the best quality.
  7. Harvest once crops reach their final growth stage.

Zone Requirements

Each planting zone has minimum humidity and sun values required for crops to grow. Zones may also restrict which seed types can be planted via a seedsAllowlist.

Crop types

The following seeds and crops are used. All item names can be remapped in Config.Items.

CropSeed itemHarvest itemUse item
Grape Apeseeds_weed_1aweed_1ajoint_1a
Cherry Kushseeds_weed_1bweed_1bjoint_1b
Martian Candyseeds_weed_2aweed_2ajoint_2a
Exodusseeds_weed_2bweed_2bjoint_2b
Headbandseeds_weed_2cweed_2cjoint_2c
Coca Leafseeds_cocainecocaine_leafcocaine

Additional required items: drugs_pot_small, drugs_pot_medium, drugs_pot_large, farm_water_can, farm_fertilizer.

Weed

Players use harvested weed crops with rolling paper to create joints, that reduce stress and players VFX.

Step by step

  1. Make sure you have the correct items to roll a joint, the crop of weed itself and required items found in SvConfig.Pots.jointCrafting.requiredAdditionalItems, by default it is rolling_paper.
  2. Use the crop of weed and you will start rolling a joint.
  3. Congrats! You've just rolled a joint.

Item Uses

Note: You can add your own item use logic in server/editable.lua.

Cocaine

Players dry harvested coca leaves, mix into paste and burn into powder, ready to be wrapped into bricks. All stage objects are placeable in the world and persist across server restarts.

Step by step

  1. Place dry rack - Put down a dry rack in the world.
  2. Use the dry rack - Target the dry rack and place harvested coca leaves into it, until they're fully dry. (Their image will update in real time and durability will be 100% when they're ready to extract).
  3. Remove dry leaves - Remove all dry leaves from the drying rack.
  4. Use mixing container - Place the configured about of dry leaves, limestone dust and solvent into a mixing container and shake it.
  5. Shake minigame - Perform the container shaking minigame, to mix the contents inside and get coca paste.
  6. Place smelting furnace - Put down a smelting furnace in the world.
  7. Use smelting furnace - Put the coca paste into a smelting furnace, to smelt them into cocaine paste.
  8. Wrap the brick - Use the cocaine powder with plastic in your inventory to wrap it into a brick.
  9. Use the brick - Use the cocaine brick to split it into 20 baggies.
  10. Use a baggie - You can now use one of the baggies to get high.

Item Uses

Note: You can add your own item use logic in server/editable.lua.

Meth

Players set up mobile outdoor cook sites by placing portable meth kits, cookers and ammonia barrels, linking them and then loading ingredients to run a multi‑stage cook (prep → react → refine → pack).

Cookers consume ammonia, degrade over cycles, need their temperature stablizing after time and can be sabotaged or explode on failure. All items are placeable in the world and persist across server restarts.

Step by step

  1. Go to outdoor spot - Drive one of the configured RV's to the outdoors county zones.
  2. Use meth kit - Target the RV to attach a meth kit to it. (Your vehicle will be frozen until it's removed)
  3. Place meth cooker - Put down a meth cooker near the kit, the bigger the cooker the longer you will have, until the temperature needs stabilizing.
  4. (Optional - Meth cooler) - Attach a meth cooler to the meth cooker to extend how long until the temperature needs stabilizing.
  5. Place ammonia barrel - Put down an ammonia barrel near the kit & cooker, then attach a hose to the barrel and to the cooker.
  6. Configure ingredients - Open the meth cooker and input the required materials found in Config.Meth.startingItems.
  7. Tune the recipe - Target the cooker and tune the burning rates for each material, these numbers correlate each players unique recipe, the closer 1:1 they match to the recipe, the better the quality of the batch.
  8. Start cooking - Target the cooker and start cooking the meth, after naming the batch.
  9. Cooking - Do what you need to whilst cooking the meth, stabilizing the temperature, being present, etc.
  10. Meth cooked - Once the meth is cooked, you can remove your hose and pickup your objects (ammonia, cooker & kit).
  11. Kit removal - Once the meth kit is removed, the vehicle will be unfrozen.
  12. Use the meth - You can now use the meth item to get high.

Item Uses

Note: You can add your own item use logic in server/editable.lua.

Meth Lab (MLO)

Players placing down ammonia barrels, linking them and then loading ingredients to run a multi‑stage cook (prep → react → refine → pack).

Access

Players will need the meth_lab_card item in order to access the MLO.

Step by step

  1. Go to the lab MLO - Head towards the MLO and use the above item to get access to the MLO's interior.
  2. Place ammonia barrel - Put down an ammonia barrel near one of the interiors cookers, then attach a hose to the barrel and to the cooker.
  3. Configure ingredients - Open the meth cooker and input the required materials found in Config.Meth.startingItems.
  4. Tune the recipe - Target the cooker and tune the burning rates for each material, these numbers correlate each players unique recipe, the closer 1:1 they match to the recipe, the better the quality of the batch.
  5. Start cooking - Target the cooker and start cooking the meth, after naming the batch.
  6. Wait - Now just wait until the meth is cooked.
  7. Meth cooked - Once the meth is cooked, you can remove your hose and pickup your objects (ammonia, cooker & kit).
  8. Kit removal - Once the meth kit is removed, the vehicle will be unfrozen.
  9. Use the meth - You can now use the meth item to get high.

Item Uses

Note: You can add your own item use logic in server/editable.lua.

Configuration

config/client.lua

OptionDescription
Config.UseBridgeAllowlistShould the allowlist functions in server & client editable.lua use the bridge allowlist system, if not automatically returns true
Config.PercentTickIntervalHow often it takes for percents to be incremented
Config.ItemsAll items used in our drugs resource
Config.Pots.placementMaxDistHow far ahead you can place a pot
Config.Pots.items.propThe prop of each pot item
Config.Pots.items.maxPlantsThe max plants that can be placed in a pot
Config.Pots.items.offsetsThe offsets to the pot object for each crop
Config.Pots.progressAll the progress bars
Config.Pots.tick
Config.Pots.water.addWaterOnPotSpawnShould a pot be watered by default when it's placed down
Config.Pots.water.removeFromCanHow much water to remove from a watering can, everytime you water a pot
Config.Pots.water.removeDurabilityHow much durability to remove from a watering can, everytime you water a pot
Config.Pots.water.durationHow long until a pot can be watered again (seconds)
Config.Pots.water.dieAfterHow long it takes crops in a pot to die after not being watered (seconds)
Config.Pots.water.protectCropForHow long a crop should be protected from dying for after being placed into a pot (seconds)
Config.Pots.fertilizer.speedModifierThe growth speed modifier when a pot is fertilized
Config.Pots.fertilizer.durationHow long until a pot can be fertilized again (seconds)
Config.Pots.harvesting.chanceForSeedsThe chance you get seeds when harvesting crops
Config.Pots.harvesting.seedsAmountThe amount min and max seeds you can get when harvesting crops
Config.Pots.harvesting.repIf rep is enabled and what rep you get when harvesting crops
Config.Pots.seeds.crop.itemThe item you get when you harvest its seed
Config.Pots.seeds.crop.harvestCountThe amount you get when you harvest its seed
Config.Pots.seeds.crop.metaChangeMetadata changes applied when a crops joint is used
Config.Pots.seeds.crop.vfxVFX applied when a crops joint is used
Config.Pots.seeds.addGrowthPerTickHow much growth is added per tick
Config.Pots.seeds.stagesThe props of each stage of growth for the crop
Config.Pots.seeds.humidityThe seeds humidity required in the zone in order for the crop to grow
Config.Pots.seeds.sunThe seeds sun required in the zone for the crop to grow
Config.Pots.deadCropModelsThe props of each stage of growth when the plant died
Config.Pots.allowedSurfaceMaterialsAllowed materials where pots can be placed down in the world
Config.Pots.zonesThe open world zones for open world drug farming
Config.Cocaine.dryRacks.ownerOnlyAccessShould using dry racks be restricted to the player who placed them down or everyone
Config.Cocaine.smeltingFurnace.ownerOnlyAccessShould using smelters be restricted to the player who placed them down or everyone
Config.Meth.vehicleObjectsObjects that attach to vehicles
Config.Meth.startingItemsThe items and amount required to start cooking meth
Config.Meth.lab.interiorThe coords of the lab interior
Config.Meth.lab.typeThe type of cookers spawned in the interior
Config.Meth.lab.cookersPositions of cookers using offsets in the interior
Config.Meth.lab.cookersRealPositionsThe actual coords of all cookers to spawn
Config.Meth.lab.door.coordsThe coords of the interiors entrance door
Config.Meth.lab.door.modelThe model of the interiors entrance door
Config.Meth.lab.door.nameThe name of the interiors entrance door

config/server.lua

OptionDescription
SvConfig.Logs.pots.webhookDiscord webhook for pot/crop action logging
SvConfig.Logs.cocaineRacks.webhookDiscord webhook for cocaine rack action logging
SvConfig.Logs.cocaineSmelters.webhookDiscord webhook for cocaine smelters action logging
SvConfig.Logs.meth.webhookDiscord webhook for meth action logging
SvConfig.Shop.labelThe label of the drug shop
SvConfig.Shop.itemsList of items available in the drug shop and their prices
SvConfig.Pots.tpCommandAll command data for tping to openworld drug farming zones
SvConfig.Pots.joingCrafting.enabledIs weed joint crafting enabled in script
SvConfig.Pots.joingCrafting.requiredAdditionalItemsRequired items other than the weed crop itself, in order to craft a joint
SvConfig.Cocaine.dryingRacks.leafDryIntervalHow often the leaf drying tick occurs (seconds)
SvConfig.Cocaine.dryingRacks.dryTimePerPercentageHow much of a leaf is dried per new percentage increase on tick (seconds)
SvConfig.Cocaine.dryingRacks.stashSlotsThe amount of slots a cocaine drying rack has in total
SvConfig.Cocaine.dryingRacks.stashMaxWeightThe amount of weight a cocaine drying rack can hold in total
SvConfig.Cocaine.dryingRacks.modelUpdateRateHow long after stashes being updated that the model will update if changed (milliseconds)
SvConfig.Cocaine.dryingRacks.placementPropThe prop for placing a dry rack down
SvConfig.Cocaine.dryingRacks.propThresholdsThe different props based on how full a rack stash is
SvConfig.Cocaine.mixingContainer.maxShakesHow many shakes a cocaine container can do before it's broken
SvConfig.Cocaine.mixingContainer.itemRequiredThe items and counts required in order to mix the contents into cocaine paste
SvConfig.Cocaine.mixingContainer.stashSlotsThe amount of slots a cocaine mixing container has in total
SvConfig.Cocaine.mixingContainer.stashMaxWeightThe amount of weight a cocaine mixing container can hold in total
SvConfig.Cocaine.mixingContainer.rewardItemWhat item you get after shaking the container
SvConfig.Cocaine.mixingContainer.rewardCountHow much of the rewardItem you get after shaking the container
SvConfig.smeltingFurnace.smeltIntervalHow often the furnance smelt tick occurs (seconds)
SvConfig.smeltingFurnace.smeltTimeHow often smelting occurs (seconds)
SvConfig.smeltingFurnace.smeltAmountHow many cocaine powder will be given every smeltTime
SvConfig.smeltingFurnace.logRemovalChancehow likely it is that a log will be removed after smelting
SvConfig.smeltingFurnace.stashSlotsThe amount of slots a cocaine smelter has in total
SvConfig.smeltingFurnace.stashMaxWeightThe amount of weight a cocaine smelter can hold in total
SvConfig.smeltingFurnace.modelUpdateRateHow long after stashes being updated that the model will update if changed (milliseconds)
SvConfig.smeltingFurnace.initialPropThe prop for placing a smelter down
SvConfig.smeltingFurnace.propThresholdsThe different props based on how full a smelter is
SvConfig.smeltingFurnace.allowedItemsThe allowed items that can be placed into a smelter
SvConfig.smeltingFurnace.fuelItemsWhat items are classified as fuel for the smelter
SvConfig.brick.wrapping.requiredItemsRequired items in order to wrap cocaine powder into a brick
SvConfig.brick.wrapping.progressThe progress bar for wrapping a cocaine brick
SvConfig.bag.use.metaChangeWhat metadata is changed when using a cocaine baggy, can use custom logic in server/editable.lua -> (UsedDrugItem)
SvConfig.bag.progressThe progress bar for using a cocaine baggy
SvConfig.Meth.commands.menuCommand data for opening the meth admin menu
SvConfig.Meth.commands.yieldCommand data for manually triggering the meth yield process
SvConfig.Meth.commands.tempCommand data for manually triggered the meth temperature process
SvConfig.Meth.cookerTempIntervalHow often a cookers temperature increases (seconds)
SvConfig.Meth.cookerYieldIntervalHow often a cookers yield increases (seconds)
SvConfig.Meth.stabilizeMinigameThe minigame for stabilizing a meth cook
SvConfig.Meth.explosionThe explosion type and model to replace a cooker with, when it explodes due to being unstable, tampering, etc
SvConfig.Meth.vehicleModelsThe vehicle models a meth kit can be attached to
SvConfig.Meth.cookerTypes.modelThe model of the meth cooker
SvConfig.Meth.cookerTypes.cyclesRequiredHow many cycles are required for the meth to be cooked
SvConfig.Meth.cookerTypes.stabilizeTempInHow long until a cookers temperature needs stabilizing (minutes)
SvConfig.Meth.cookerTypes.explodeInHow long it takes a meth cooker to explode after the temperature has not been stabilized in sufficient time (minutes)
SvConfig.Meth.cookerTypes.canExplodeIf a meth cooker can explode or not
SvConfig.Meth.cookerTypes.ammoniaBurnRateHow much ammonia is used every yield
SvConfig.Meth.cookerTypes.methPerCycleHow much meth is given every successful cycle (cycleTimer * cyclesRequired)
SvConfig.Meth.coolerTypes.extraMinutesHow much extra time it adds to stabilizeTempIn (minutes)
SvConfig.Meth.ammonia.modelThe model of ammonia world objects
SvConfig.Meth.ammonia.initialAmountHow much ammonia a barrel is created with
SvConfig.Meth.stashesThe max slots and weight cookers & coolers have
SvConfig.Meth.methZoneRadiusThe radius of vehicle meth kit zones
SvConfig.Meth.maxCookersPerZoneHow many cookers can be placed in each of the open world meth zones
SvConfig.Meth.cycleTimerHow long is each cycle (minutes)
SvConfig.Meth.formulaWeightLimitsThe minimum and max of all players for their formula changing this will negatively affect any current players formulas
SvConfig.Meth.labCookedMultiplerA multipler for meth output when cooking in the lab MLO
SvConfig.Meth.tiersThe tiers of meth based no your total quality on cooking finish
SvConfig.Meth.effectsThe effects of the meth based on its tier
SvConfig.Meth.lab.zoneThe polyzone data for the lab MLO
SvConfig.Meth.progressAll the different progress bars
SvConfig.Meth.allowZonesAll the open world meth zones