Dabs Framework
Dabs Framework is an Open Source, lightweight modding framework, designed to give modders and server owners tools to quickly and effectively create new mods for the community. Source Code: All source code is available on the Github Monetization: You are hereby given monetization approval under the conditions that you follow the DayZ Server Monetization agreement and have obtained permission from Bohemia. Read more… (more)
Dabs Framework is an Open Source, lightweight modding framework, designed to give modders and server owners tools to quickly and effectively create new mods for the community. Source Code: All source code is available on the Github Monetization: You are hereby given monetization approval under the conditions that you follow the DayZ Server Monetization agreement and have obtained permission from Bohemia. Read more here [www.bohemia.net]. Repacking: You are not permitted to repack any part of Dabs Framework. We don't give permission to anyone to repack it. We won't approve your request to repack it. DON'T ASK I am grateful to hear any feedback and suggestions from anyone, the best place to give it to us would be me Discord, please also join if you have any questions too! This item is not authorized for posting on Steam, except under the Steam account https://steamcommunity.com/id/InclementD or as a contributor if direct authorization is given by the author of this item.
No file I/O on hot paths, no timers created per event, no per-player-per-frame hooks.
1 chain break on base classes or persisted data. 1 more are whole-class replacements of specific classes.
0.033% of each server frame at 100 players (0.330 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.
Repeating timers carry 99.9% of this mod's structural load. 0.330 ms/s in all.
2 hooks · 0.0004 ms/s
5 hooks · 0.00001 ms/s
2 timers · 0.33 ms/s
| Event hooksrun when something happens: an inventory move, a hit, an action | 2 hooks | 0.0004 ms/s | 0.1% | DayZGame.OnRPC, PluginDiagMenu.OnRPC |
| Lifecycle hooksrun when an entity is created, loaded or deleted | 5 hooks | 0.00001 ms/s | <0.1% | MissionBase.OnInit, MissionServer.InvokeOnConnect, MissionServer.OnClientDisconnectedEvent and 2 more |
| Repeating timersstay in the timer queue, which is walked every frame | 2 timers | 0.33 ms/s | 99.9% | 2 × every frame |
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
2 overrides 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.
PlayerBase.GetActions
Removes vanilla's actions and every earlier mod's added actions from that player.
What it is for: Builds the list of actions a player can perform (the interaction wheel).
Scripts.pbo::4_World\DabsFramework\Entities\ManBase\PlayerBase.c:4DestroyAllShapes
Only this class is affected. Matters only if another mod in your stack patches the same class.
1 class
Debug1 location
Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:276Where 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 · info
- EmoteDabbing.EmoteCondition vetoes early (returns false) on some paths and defers to super.EmoteCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
Scripts.pbo::4_World\DabsFramework\Classes\EmoteClasses\EmoteClasses.c:11
- EmoteDabbing.EmoteCondition vetoes early (returns false) on some paths and defers to super.EmoteCondition() otherwise — composes safely with vanilla's and earlier mods' conditions.
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 42 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 | ✓ | Scripts.pbo::4_World\DabsFramework\Classes\UserActionComponent\ActionConstructor.c:3 |
DayZGame.RegisterProfilesOptions |
— | yes | ✓ | Scripts.pbo::3_Game\DabsFramework\!Core\DayZGame.c:82 |
DayZGame.OnRPC |
T2 | yes | ✓ | Scripts.pbo::3_Game\DabsFramework\!Core\DayZGame.c:98 |
DayZGame.OnEvent |
— | yes | ✓ | Scripts.pbo::3_Game\DabsFramework\!Core\DayZGame.c:112 |
DayZGame.OnRPC |
T2 | no | ✓ | Scripts.pbo::3_Game\DabsFramework\Settings\DayZGame.c:8 |
DayZGame.OnEvent |
— | yes | ✓ | Scripts.pbo::3_Game\DabsFramework\Settings\DayZGame.c:40 |
DayZGame.SetMissionPath |
— | yes | ✓ | Scripts.pbo::3_Game\DabsFramework\Settings\DayZGame.c:156 |
Debug.DrawBox |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:95 |
Debug.DrawBoxEx |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:100 |
Debug.DrawCube |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:119 |
Debug.DrawSphere |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:150 |
Debug.DrawCylinder |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:169 |
Debug.DrawCone |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:189 |
Debug.DrawLine |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:208 |
Debug.DrawLines |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:232 |
Debug.DrawArrow |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:257 |
Debug.DestroyAllShapes |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Debug.c:276 |
EmoteConstructor.RegisterEmotes |
— | yes | ✓ | Scripts.pbo::4_World\DabsFramework\Classes\EmoteConstructor.c:3 |
EmoteDabbing.EmoteCondition |
— | yes | conditional | Scripts.pbo::4_World\DabsFramework\Classes\EmoteClasses\EmoteClasses.c:11 |
GesturesMenu.OnMenuRelease |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\GesturesMenu.c:3 |
GesturesMenu.GetGestureItems |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\GesturesMenu.c:12 |
ItemBase.GetItemSize |
— | yes | ✗ none | Scripts.pbo::4_World\DabsFramework\Entities\ItemBase.c:3 |
MainMenu.Refresh |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\MainMenu.c:5 |
MainMenu.OnClick |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\MainMenu.c:61 |
MainMenu.OnModalResult |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\MainMenu.c:80 |
MainMenu.IsFocusable |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\MainMenu.c:96 |
MissionBase.OnInit |
T3 | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\Mission\MissionBase.c:7 |
MissionGameplay.OnMissionFinish |
T3 | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\Mission\MissionGameplay.c:3 |
MissionServer.OnMissionStart |
T3 | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\Mission\MissionServer.c:5 |
MissionServer.InvokeOnConnect |
T3 | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\Mission\MissionServer.c:18 |
MissionServer.PlayerDisconnected |
T3 | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\Mission\MissionServer.c:37 |
MissionServer.OnClientDisconnectedEvent |
T3 | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\Mission\MissionServer.c:46 |
NotificationSystem.GetNotificationData |
— | yes | ✗ none | Scripts.pbo::3_Game\DabsFramework\!Core\Client\Notifications\NotificationSystem.c:3 |
OptionsMenu.Init |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\Options\OptionsMenu.c:13 |
OptionsMenu.OnChanged |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\Options\OptionsMenu.c:38 |
OptionsMenu.Apply |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\Options\OptionsMenu.c:50 |
OptionsMenu.ResetCurrentTab |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\Options\OptionsMenu.c:71 |
OptionsMenu.IsAnyTabChanged |
— | yes | ✓ | Scripts.pbo::5_Mission\DabsFramework\GUI\Options\OptionsMenu.c:80 |
PlayerBase.GetActions |
— | yes | ✗ none | Scripts.pbo::4_World\DabsFramework\Entities\ManBase\PlayerBase.c:4 |
PluginDiagMenu.OnRPC |
T2 | yes | ✓ | Scripts.pbo::4_World\DabsFramework\Plugins\PluginDiagMenu\PluginDiagMenu.c:8 |
PluginDiagMenuClient.RegisterModdedDiags |
— | yes | ✓ | Scripts.pbo::4_World\DabsFramework\Plugins\PluginDiagMenu\PluginDiagMenuClient.c:50 |
PluginManager.Init |
— | yes | ✓ | Scripts.pbo::4_World\DabsFramework\Plugins\PluginManager.c:3 |
Dispatch surfaces and timers the grade prices
| surface | tier | rate (Hz) | rate source | ms/s |
|---|---|---|---|---|
DayZGame.OnRPC | T2 | 8.0 | placeholder | 0.0002 |
PluginDiagMenu.OnRPC | T2 | 8.0 | placeholder | 0.0002 |
MissionBase.OnInit | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnMissionStart | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.InvokeOnConnect | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.PlayerDisconnected | T3 | 0.1 | placeholder | 0.0000 |
MissionServer.OnClientDisconnectedEvent | T3 | 0.1 | placeholder | 0.0000 |
Repeating timers
| period (ms) | residency ms/s | firing ms/s | where |
|---|---|---|---|
| 0 | 0.1400 | 0.024800 | Scripts.pbo::3_Game\DabsFramework\_Legacy\Prefabs\ColorPickerPrefab\ColorPickerPrefab.c:88 |
| 0 | 0.1400 | 0.024800 | Scripts.pbo::3_Game\DabsFramework\Settings\ViewController\OptionSelectorColorViewController.c:107 |
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.
GUI.pbo
DF_GUIrequiredVersion 0.1 — no requiredAddons
Scripts.pbo
DF_Scripts— requiresDZ_Scripts,DF_GUI
census 1.1 · findings 1.1 · hash c14f2efb50e9a717