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
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
1 chain break, all on specific classes the mod replaces wholesale — matters only if another mod patches the same classes.
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.
Structural load of the 328 scripted mods analyzed, lightest on the left. This mod's bar is lit; 25 others share it. Ranked list.
Event hooks carry 99% of this mod's structural load. 0.000 ms/s in all.
2 hooks · 0.0004 ms/s
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.
OnItemHarvested
Only this class is affected. Matters only if another mod in your stack patches the same class.
1 class
PlantBase1 location
CannabisPlus.pbo::scripts\4_world\entities\gardenbase\plantbase.c:29Where 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.
Other findings
super() only on some paths · 4 · warning
- ActionDeployObject.OnEndServer calls super.OnEndServer() only on some paths — on the others the chain below this mod is dropped.
CannabisPlus.pbo::scripts\4_world\classes\useractionscomponent\actions\continuous\actiondeployobject.c:4 - ActionPlaceObject.ActionCondition returns true without consulting super.ActionCondition() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
CannabisPlus.pbo::scripts\4_world\classes\useractionscomponent\actions\continuous\actionplacedrypost.c:21 - ActionTogglePlaceObject.ActionCondition returns true without consulting super.ActionCondition() on some paths — vanilla's conditions and every earlier-loaded mod's vetoes are bypassed there.
CannabisPlus.pbo::scripts\4_world\classes\useractionscomponent\actions\continuous\actionplacedrypost.c:3 - SeedPackBase.EmptySeedPack calls super.EmptySeedPack() only on some paths — on the others the chain below this mod is dropped.
CannabisPlus.pbo::scripts\4_world\entities\itembase\seedpackbase\seedpackbase.c:5
- ActionDeployObject.OnEndServer calls super.OnEndServer() only on some paths — on the others the chain below this mod is dropped.
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.
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.
| method | surface | server | super() | 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
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
ActionTogglePlaceObject.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
ActionPlaceObject.ActionCondition | T2 | 8.0 | placeholder | 0.0002 |
PlayerBase.EEKilled | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.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_BaggerrequiredVersion 0.1 — requiresDZ_DataCP_BaggerrequiredVersion 0.1 — requiresDZ_DataCP_BagsrequiredVersion 0.1 — requiresDZ_DataCP_BagsrequiredVersion 0.1 — requiresDZ_DataCannabixPlus_BoxesrequiredVersion 0.1 — requiresDZ_DataCannabixPlus_BoxesrequiredVersion 0.1 — requiresDZ_DataCP_BricksrequiredVersion 0.1 — requiresDZ_Data,AgricultureCoreCP_BricksrequiredVersion 0.1 — requiresDZ_Data,AgricultureCoreCP_CBDrequiredVersion 0.1 — requiresDZ_DataCP_CBDrequiredVersion 0.1 — requiresDZ_DataCannabisPlusrequiredVersion 0.1 — requiresAgricultureCoreCannabisPlusrequiredVersion 0.1 — requiresAgricultureCoreCP_FruitsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_FoodCP_FruitsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_FoodCP_Dry_PostrequiredVersion 0.1 — requiresDZ_Data,DZ_ScriptsCP_Dry_PostrequiredVersion 0.1 — requiresDZ_Data,DZ_ScriptsCannabisPlus_JointrequiredVersion 0.1 — requiresDZ_Data,DZ_gear_tools,AgricultureCore,AC_CigarettepacksCannabisPlus_JointrequiredVersion 0.1 — requiresDZ_Data,DZ_gear_tools,AgricultureCore,AC_CigarettepacksCP_PlantsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_CultivationCP_PlantsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_CultivationCP_PlasticWrapperrequiredVersion 0.1 — requiresDZ_Data,DZ_ScriptsCP_PlasticWrapperrequiredVersion 0.1 — requiresDZ_Data,DZ_ScriptsCP_PouchrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,DZ_Gear_Camping,DZ_Gear_Consumables,DZ_Gear_Cooking,DZ_Gear_Tools,DZ_Vehicles_Parts,DZ_CharactersCP_PouchrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,DZ_Gear_Camping,DZ_Gear_Consumables,DZ_Gear_Cooking,DZ_Gear_Tools,DZ_Vehicles_Parts,DZ_CharactersCP_SeedsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_CultivationCP_SeedsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_CultivationCP_BlackFrostrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_BlackFrostrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_BlueGodrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_BlueGodrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_FuturerequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_FuturerequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_NomadrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_NomadrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_PurpleKushrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_PurpleKushrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_S1requiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_S1requiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_SkunkrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_SkunkrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_StardawgrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_StardawgrequiredVersion 0.1 — requiresDZ_Gear_Cultivation,DZ_Data,CP_Fruits,CP_Bags,CP_Bricks,CP_Dry_Post,CP_Seeds,CP_Plants,CannabisPlus_JointCP_WorkbenchrequiredVersion 0.1 — requiresDZ_DataCP_WorkbenchrequiredVersion 0.1 — requiresDZ_Data
census 1.1 · findings 1.1 · hash f1d1d5a21920d071