← modperf · analyzed mods

CannabisPlus

CannabisPlus CannabisPlus adds a cannabis production loop to DayZ with configurable strains, drying, crafting, and a deployable processing workbench. It includes JSON configuration files (global + per-strain) and gameplay effects tied to smoking. Features Multiple cannabis strains with per-strain settings (JSON): GrowTime, CropCount, SeedCount, plus visual effect tuning (HueIntensity, radial blur X/Y, rotational… (more)

CannabisPlus CannabisPlus adds a cannabis production loop to DayZ with configurable strains, drying, crafting, and a deployable processing workbench. It includes JSON configuration files (global + per-strain) and gameplay effects tied to smoking. Features Multiple cannabis strains with per-strain settings (JSON): GrowTime, CropCount, SeedCount, plus visual effect tuning (HueIntensity, radial blur X/Y, rotational blur). Default strain configs auto-generated if missing: Skunk, BlueGod, PurpleKush, Stardawg, S1, Future, Nomad, BlackFrost. Drying system via a placeable CP_DryPost: Attach raw cannabis plants to hanging slots and start drying. Drying time is controlled by TimeToDryCannabisPlant. During drying, attachments are locked to prevent removal. When finished, dried cannabis buds are spawned into the post inventory and the raw plants are cleaned up. The drying post cannot be put into hands or cargo. Deployable Cannabis Workbench (CP_Workbench) + craftable kit (CP_Workbench_Kit): Craft “Make Cannabis Workbench Kit” using WoodenPlank x10 + Nail x20. Deploy the kit to place a workbench. Workbench attachment slots include: Wrapper, Bagger, LargeBattery, Empty Bags, Plastic Roll, Cannabis Buds, Cannabis Bags, Cannabis Bricks. Workbench processing can be configured to require a battery, consumes configurable power, uses configurable plastic wrap usage, and runs on a configurable processing time interval. Workbench produces: Buds -> Bags (consumes buds + empty bags) Bags -> Bricks (requires full bags + plastic wrap; wrapper must not be ruined) Production can be started and stopped with in-world actions (including a stop action while running). Crafting recipes: Fill Bag: CP_CannabisBud (min qty 2) + AC_EmptyBag Wrap Brick: CP_CannabisBags (min qty 16) + DuctTape (min qty 25) Roll Joint: CP_CannabisBud + AC_RollingPapers Make CBD Crude Oil: CP_CannabisS1 + DisinfectantAlcohol (uses 100 quantity) -> CP_CBDCrudeOil Create a pack of joints: uses CP_JointBase + AC_CigarettePack_Empty Player effect: Stoned modifier: 30 second duration. Chance to trigger coughing or laughter symptoms during the effect. Drains water while active. Config & debugging: Global JSON config with versioning, validation, and automatic backup of old configs. Server/client debug logging toggles. Installation Subscribe to the mod on Steam Workshop. Enable it in the DayZ Launcher (client and server). Start the server once to generate the CannabisPlus configuration files in the server profile, then adjust as needed. Configuration CannabisPlus uses JSON config files for global settings and per-strain settings. Global settings include: Joint/cigarette smoking effect toggles, durations, and activation cycle settings WorkbenchSettings: RequireBattery, PowerUsed, PlasticWrapUsage, ProcessingTime TimeToDryCannabisPlant EnableServerDebugLogging / EnableClientDebugLogging Per-strain settings include: GrowTime, CropCount, SeedCount WeedEffects (HueIntensity, RadBlurXPower, RadBlurYPower, RotBlurPow) Compatibility Uses items/classes with the AC_ prefix (e.g., AC_EmptyBag, AC_RollingPapers, AC_CigarettePack_Empty). Ensure the required content providing these classes is present on your server/modset. Workbench config references VehicleBattery energy usage when battery requirement is enabled. You may NOT repack this mod. Other https://discord.gg/q9kRXR5

Workshop 1932611410 · mod updated 2026-10-15 · analyzed 2026-10-15 14:26 UTC · history · 57 script files

EconomyEnvironment Workshop tags, chosen by the author

Stall risks
None found

No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.

Compatibility
1 by design

1 chain break, all on specific classes the mod replaces wholesale — matters only if another mod patches the same classes.

Structural footprint 1.1
A
1 by design
Heavier than 27% of 328 scripted mods analyzed.

less than 0.001% of each server frame at 100 players (0.000 ms/s). Counts hook dispatch and timers only, not what the hooks do inside. Methodology.

Where this mod sits

Structural load of the 328 scripted mods analyzed, lightest on the left. This mod's bar is lit; 25 others share it. Ranked list.

20
40
60
  • 24 mods
    0.0000022 to 0.0000046 ms/s · grade A
  • 7 mods
    0.0000046 to 0.00001 ms/s · grade A
  • 1 mod
    0.00001 to 0.000022 ms/s · grade A
  • 1 mod
    0.000022 to 0.000046 ms/s · grade A
  • 37 mods
    0.0001 to 0.00022 ms/s · grade A
  • This mod
  • 33 mods
    0.00046 to 0.001 ms/s · grade A
  • 22 mods
    0.001 to 0.0022 ms/s · grade A
  • 13 mods
    0.0022 to 0.0046 ms/s · grade A
  • 10 mods
    0.0046 to 0.01 ms/s · grade A
  • 5 mods
    0.01 to 0.022 ms/s · grade A
  • 18 mods
    0.022 to 0.046 ms/s · grade A
  • 17 mods
    0.046 to 0.1 ms/s · grade A
  • 41 mods
    0.1 to 0.22 ms/s · grade A
  • 26 mods
    0.22 to 0.46 ms/s · grade A
  • 28 mods
    0.46 to 1 ms/s · grade A
  • 8 mods
    1 to 2.2 ms/s · grade A to B
  • 10 mods
    2.2 to 4.6 ms/s · grade B
  • 1 mod
    4.6 to 10 ms/s · grade B to C
A316
B11
C1
D0
E0
ms/s, log scale: each labelled step is ten times the one before. Letter grade and mods holding it below the axis.
Where the load comes from

Event hooks carry 99% of this mod's structural load. 0.000 ms/s in all.

99%Event hooks · 99%
2 hooks · 0.0004 ms/s
Lifecycle hooks · 1.0%
2 hooks · 0.000004 ms/s
Event hooksrun when something happens: an inventory move, a hit, an action 2 hooks 0.0004 ms/s 99% ActionPlaceObject.ActionCondition, ActionTogglePlaceObject.ActionCondition
Lifecycle hooksrun when an entity is created, loaded or deleted 2 hooks 0.000004 ms/s 1.0% MissionServer.OnInit, PlayerBase.EEKilled

Counts how often each hook is dispatched and how many timers stay alive, not what the code inside does. Some rates are order-of-magnitude estimates; the methodology lists which.

Chain breaks, by consequence

1 override that skip super(), ranked by how much they can affect. On any server a break replaces vanilla's behaviour on that method and silences every earlier-loaded mod hooking it.

By design
Family · PlantBase and its 6 vanilla subclasses
PlantBase replaced on 1 method · 1 override

OnItemHarvested

Only this class is affected. Matters only if another mod in your stack patches the same class.

1 classPlantBase
1 locationCannabisPlus.pbo::scripts\4_world\entities\gardenbase\plantbase.c:29

Where this mod runs often

Hooks on per-frame and high-rate surfaces, with what their bodies call. Body work, not the hook itself, is what costs frame time.

ActionCondition × 2 classes
per event
no I/O, timers or RPC super() on some paths

Other findings

What this report can tell you

Which vanilla methods the mod hooks, which of them drop the chain, how often each hook fires, and which risky calls sit inside hot hooks.

What it cannot

How long hook bodies take, network cost, or engine-side load. Measured across live fleets, most server lag comes from the engine and world state, not mod script chains — a light footprint does not clear a mod of lag, and a heavy one does not convict it. Methodology.

Everything else

All 15 overrides

Surface is the dispatch tier the rubric can price (— = unpriced); server is whether the override exists on a dedicated server; super() shows whether the vanilla chain is preserved on a server.

methodsurfaceserversuper()where
ActionConstructor.RegisterActions — yes ✓ CannabisPlus.pbo::scripts\4_world\classes\useractionscomponent\actionconstructor.c:5
ActionDeployObject.OnEndServer — yes conditional CannabisPlus.pbo::scripts\4_world\classes\useractionscomponent\actions\continuous\actiondeployobject.c:4
ActionPlaceObject.ActionCondition T2 yes conditional CannabisPlus.pbo::scripts\4_world\classes\useractionscomponent\actions\continuous\actionplacedrypost.c:21
ActionTogglePlaceObject.ActionCondition T2 yes conditional CannabisPlus.pbo::scripts\4_world\classes\useractionscomponent\actions\continuous\actionplacedrypost.c:3
MissionGameplay.OnInit T3 yes ✓ CannabisPlus.pbo::scripts\5_mission\MissionGameplay.c:5
MissionGameplay.OnMissionStart T3 yes ✓ CannabisPlus.pbo::scripts\5_mission\MissionGameplay.c:18
MissionServer.OnInit T3 yes ✓ CannabisPlus.pbo::scripts\5_mission\MissionServer.c:71
ModItemRegisterCallbacks.RegisterOneHanded — yes ✓ CannabisPlus.pbo::scripts\4_world\entities\manbase\dayzplayer\dayzplayercfgbase.c:7
ModItemRegisterCallbacks.RegisterHeavy — yes ✓ CannabisPlus.pbo::scripts\4_world\entities\manbase\dayzplayer\dayzplayercfgbase.c:21
PlantBase.Init — yes ✓ CannabisPlus.pbo::scripts\4_world\entities\gardenbase\plantbase.c:3
PlantBase.OnItemHarvested — yes ✗ none CannabisPlus.pbo::scripts\4_world\entities\gardenbase\plantbase.c:29
PlayerBase.AC_HasAnyPPEActive — yes ✓ CannabisPlus.pbo::scripts\4_world\entities\manbase\PlayerBase.c:23
PlayerBase.EEKilled T3 yes ✓ CannabisPlus.pbo::scripts\4_world\entities\manbase\PlayerBase.c:118
PluginRecipesManager.RegisterRecipies — yes ✓ CannabisPlus.pbo::scripts\4_world\classes\recipes\pluginrecipesmanagerbase.c:3
SeedPackBase.EmptySeedPack — yes conditional CannabisPlus.pbo::scripts\4_world\entities\itembase\seedpackbase\seedpackbase.c:5
Dispatch surfaces and timers the grade prices
surfacetierrate (Hz)rate sourcems/s
ActionTogglePlaceObject.ActionConditionT2 8.0placeholder0.0002
ActionPlaceObject.ActionConditionT2 8.0placeholder0.0002
PlayerBase.EEKilledT3 0.1placeholder0.0000
MissionServer.OnInitT3 0.1placeholder0.0000

Includes 0.000 ms/s from placeholder-rated surfaces.

Load-order constraints (CfgPatches)

What each PBO declares: its addon identity and the addons it requires to be loaded first (requiredAddons). A partial load-order signal from the mod's own metadata.

CannabisPlus.pbo

  • CP_Bagger requiredVersion 0.1 — requires DZ_Data
  • CP_Bagger requiredVersion 0.1 — requires DZ_Data
  • CP_Bags requiredVersion 0.1 — requires DZ_Data
  • CP_Bags requiredVersion 0.1 — requires DZ_Data
  • CannabixPlus_Boxes requiredVersion 0.1 — requires DZ_Data
  • CannabixPlus_Boxes requiredVersion 0.1 — requires DZ_Data
  • CP_Bricks requiredVersion 0.1 — requires DZ_Data, AgricultureCore
  • CP_Bricks requiredVersion 0.1 — requires DZ_Data, AgricultureCore
  • CP_CBD requiredVersion 0.1 — requires DZ_Data
  • CP_CBD requiredVersion 0.1 — requires DZ_Data
  • CannabisPlus requiredVersion 0.1 — requires AgricultureCore
  • CannabisPlus requiredVersion 0.1 — requires AgricultureCore
  • CP_Fruits requiredVersion 0.1 — requires DZ_Data, DZ_Gear_Food
  • CP_Fruits requiredVersion 0.1 — requires DZ_Data, DZ_Gear_Food
  • CP_Dry_Post requiredVersion 0.1 — requires DZ_Data, DZ_Scripts
  • CP_Dry_Post requiredVersion 0.1 — requires DZ_Data, DZ_Scripts
  • CannabisPlus_Joint requiredVersion 0.1 — requires DZ_Data, DZ_gear_tools, AgricultureCore, AC_Cigarettepacks
  • CannabisPlus_Joint requiredVersion 0.1 — requires DZ_Data, DZ_gear_tools, AgricultureCore, AC_Cigarettepacks
  • CP_Plants requiredVersion 0.1 — requires DZ_Data, DZ_Gear_Cultivation
  • CP_Plants requiredVersion 0.1 — requires DZ_Data, DZ_Gear_Cultivation
  • CP_PlasticWrapper requiredVersion 0.1 — requires DZ_Data, DZ_Scripts
  • CP_PlasticWrapper requiredVersion 0.1 — requires DZ_Data, DZ_Scripts
  • CP_Pouch requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, DZ_Gear_Camping, DZ_Gear_Consumables, DZ_Gear_Cooking, DZ_Gear_Tools, DZ_Vehicles_Parts, DZ_Characters
  • CP_Pouch requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, DZ_Gear_Camping, DZ_Gear_Consumables, DZ_Gear_Cooking, DZ_Gear_Tools, DZ_Vehicles_Parts, DZ_Characters
  • CP_Seeds requiredVersion 0.1 — requires DZ_Data, DZ_Gear_Cultivation
  • CP_Seeds requiredVersion 0.1 — requires DZ_Data, DZ_Gear_Cultivation
  • CP_BlackFrost requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_BlackFrost requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_BlueGod requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_BlueGod requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_Future requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_Future requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_Nomad requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_Nomad requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_PurpleKush requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_PurpleKush requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_S1 requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_S1 requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_Skunk requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_Skunk requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_Stardawg requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_Stardawg requiredVersion 0.1 — requires DZ_Gear_Cultivation, DZ_Data, CP_Fruits, CP_Bags, CP_Bricks, CP_Dry_Post, CP_Seeds, CP_Plants, CannabisPlus_Joint
  • CP_Workbench requiredVersion 0.1 — requires DZ_Data
  • CP_Workbench requiredVersion 0.1 — requires DZ_Data

census 1.1 · findings 1.1 · hash f1d1d5a21920d071