DrugsPLUS
From the creators of CannabisPlus, we bring you DrugsPLUS! Modding is time consuming! If you like our content, give us a THUMBS UP and FAVOURITE! If you have game development skills please consider DONATING your time! Or if you have more money than you know what to do with, you can donate cold hard cash via PayPal: https://www.paypal.me/cannabisplus You also have the option of sponsoring your favourite strain! This… (more)
From the creators of CannabisPlus, we bring you DrugsPLUS! Modding is time consuming! If you like our content, give us a THUMBS UP and FAVOURITE! If you have game development skills please consider DONATING your time! Or if you have more money than you know what to do with, you can donate cold hard cash via PayPal: https://www.paypal.me/cannabisplus You also have the option of sponsoring your favourite strain! This mod creates a way for players to generate income by growing, producing and/or crafting drug products to sell. This version is very basic but will be expanded on soon. Features ‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒ Ability to grow Coca plant. Config file for adjusting grow time, crop count and amount of seeds in a seedpack. Crafting recipe: CocaLeaves + CocaLeaves = CocaBag Crafting recipe: 35xCocaBag + Duct Tape = CocaBrick Magic Mushrooms Impairment Effects Acid (LSD) Up Next ‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒ Refine raw coca leaves into cocaine and crack Crack Pipe Smoking crack Further Out ‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒ Heroine Prescription drugs Speed (Meth) Server Owners ‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒ Copy the @DrugsPLUS folder from Workshop to your root DayZServer folder. Copy the bikey file from the keys folder to your keys folder. Add "-mod=@DrugsPLUS" to the startup parameters of your server. Set up trader and types.xml Start server once Stop server Set up config in your profiles folder Thats it! Contact ‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒ We ignore invites on Steam and often don't have time to check comments. Contact can be made with us through Discord. If you need help with something open a Ticket in the #Help channel. Steam is removing the discord link so you'll have to type it out manually or copy below and remove the spaces. https://discord.gg/q9kRXR5 discord .gg /q9kRXR5 Support ‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒ If you'd like to support the mod you can rate it with a thumbs up and favourite it! If you'd like to, you can donate via PayPal to cannabisplusdayz@gmail.com Every dollar donated will be put towards development! Repacking ‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒ This mod may not be repacked. 1) Repacking does not help server performance. 2) Repacked versions don’t get bug fixes and reflect poorly on us. 3) Repacking lowers our subscriber count. 4) Repacking causes tons of avoidable support tickets. 5) Repacking forces players to download the same content over and over. Shoutouts: ‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒ Big shoutouts to the CannabisPlus team for bringing this together. Very excited to see what new things come! WARNING ‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒‒ This mod can easily destroy your server economy. If you don't run @CannabisPlus, I recommend installing @PlantExploitFix. You have to edit your types.xml or config files yourself. Be careful how you add items in. I suggest only adding Seed Packs into the spawn table and/or airdrops and keep them RARE. Otherwise players can infinitely grow for money.
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.001 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; 32 others share it. Ranked list.
Event hooks carry 99% of this mod's structural load. 0.001 ms/s in all.
4 hooks · 0.00079 ms/s
2 hooks · 0.000004 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 4 hooks | 0.00079 ms/s | 99% | CigarettePack_Chernamorka.SetActions, CigarettePack_Merkur.SetActions, CigarettePack_Partyzanka.SetActions and 1 more |
| Lifecycle hooksrun when an entity is created, loaded or deleted | 2 hooks | 0.000004 ms/s | 0.5% | 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.
CreateConditionComponents
Only this class is affected. Matters only if another mod in your stack patches the same class.
1 class
ActionDrink1 location
DrugsPLUS.pbo::scripts\4_world\classes\UserActionsComponent\Actions\Continuous\ActionDrink.c:15Where 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 · 1 · warning
- SeedPackBase.EmptySeedPack calls super.EmptySeedPack() only on some paths — on the others the chain below this mod is dropped.
DrugsPLUS.pbo::scripts\4_world\DrugsPLUS.c:5
- SeedPackBase.EmptySeedPack calls super.EmptySeedPack() 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 21 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 | ✓ | DrugsPLUS.pbo::scripts\4_world\classes\UserActionsComponent\M_ActionConstructor.c:3 |
ActionDrink.CreateConditionComponents |
— | yes | ✗ none | DrugsPLUS.pbo::scripts\4_world\classes\UserActionsComponent\Actions\Continuous\ActionDrink.c:15 |
ActionDrink.GetText |
— | yes | ✗ none | DrugsPLUS.pbo::scripts\4_world\classes\UserActionsComponent\Actions\Continuous\ActionDrink.c:21 |
ActionDrink.OnExecuteClient |
— | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\classes\UserActionsComponent\Actions\Continuous\ActionDrink.c:35 |
ActionDrink.OnEndClient |
— | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\classes\UserActionsComponent\Actions\Continuous\ActionDrink.c:42 |
ActionDrink.OnStartServer |
— | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\classes\UserActionsComponent\Actions\Continuous\ActionDrink.c:62 |
ActionDrink.OnEndServer |
— | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\classes\UserActionsComponent\Actions\Continuous\ActionDrink.c:70 |
CigarettePack_Chernamorka.SetActions |
T2 | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\entities\itembase\CigarettePacks.c:13 |
CigarettePack_Merkur.SetActions |
T2 | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\entities\itembase\CigarettePacks.c:31 |
CigarettePack_Partyzanka.SetActions |
T2 | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\entities\itembase\CigarettePacks.c:22 |
JMAnimRegister.RegisterOneHanded |
— | yes | ✓ | DrugsPLUS.pbo::lsd\scripts\4_World\Animations.c:3 |
MissionGameplay.OnInit |
T3 | yes | ✓ | DrugsPLUS.pbo::scripts\5_mission\MissionGameplay.c:5 |
MissionGameplay.OnMissionStart |
T3 | yes | ✓ | DrugsPLUS.pbo::scripts\5_mission\MissionGameplay.c:15 |
MissionServer.OnInit |
T3 | yes | ✓ | DrugsPLUS.pbo::scripts\5_mission\MissionServer.c:5 |
ModItemRegisterCallbacks.RegisterOneHanded |
— | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\entities\manbase\dayzplayer\dayzplayercfgbase.c:3 |
PlayerBase.Init |
— | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\entities\manbase\M_PlayerBase.c:72 |
PlayerBase.AC_HasAnyPPEActive |
— | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\entities\manbase\M_PlayerBase.c:84 |
PlayerBase.EEKilled |
T3 | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\entities\manbase\M_PlayerBase.c:89 |
PluginRecipesManager.RegisterRecipies |
— | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\classes\recipes\pluginrecipesmanagerbase.c:3 |
PsilocybeMushroom.SetActions |
T2 | yes | ✓ | DrugsPLUS.pbo::scripts\4_world\entities\itembase\ediblebase\MagicMushroom.c:4 |
SeedPackBase.EmptySeedPack |
— | yes | conditional | DrugsPLUS.pbo::scripts\4_world\DrugsPLUS.c:5 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
CigarettePack_Chernamorka.SetActions | T2 | 8.0 | placeholder | 0.0002 |
CigarettePack_Partyzanka.SetActions | T2 | 8.0 | placeholder | 0.0002 |
CigarettePack_Merkur.SetActions | T2 | 8.0 | placeholder | 0.0002 |
PsilocybeMushroom.SetActions | T2 | 8.0 | placeholder | 0.0002 |
PlayerBase.EEKilled | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnInit | T3 | 0.1 | placeholder | 0.0000 |
Includes 0.001 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.
DrugsPLUS.pbo
DP_BagsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_ToolsDP_BagsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_ToolsDP_BricksrequiredVersion 0.1 — requiresDZ_Data,AgricultureCoreDP_BricksrequiredVersion 0.1 — requiresDZ_Data,AgricultureCoreDP_CigarettepacksrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_Medical,AgricultureCoreDP_CigarettepacksrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_Medical,AgricultureCoreDP_CigarettesrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_Medical,AgricultureCoreDP_CigarettesrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_Medical,AgricultureCoreDP_scriptsrequiredVersion 0.1 — requiresDZ_Data,JM_CF_Scripts,AgricultureCoreDP_DrinksrequiredVersion 0.1 — requiresDZ_DataDP_scriptsrequiredVersion 0.1 — requiresDZ_Data,JM_CF_Scripts,AgricultureCoreDP_DrinksrequiredVersion 0.1 — requiresDZ_DataDP_FruitsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_FoodDP_FruitsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_FoodDP_LSDrequiredVersion 0.1 — requiresDZ_DataDP_LSDrequiredVersion 0.1 — requiresDZ_DataDP_PlantsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_CultivationDP_PlantsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_CultivationDP_SeedsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_CultivationDP_SeedsrequiredVersion 0.1 — requiresDZ_Data,DZ_Gear_Cultivation
census 1.1 · findings 1.1 · hash fac2d7c8b55ced86