Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
KydlCore
Shared runtime for all KydlDev mods: one UI root and theme, the KY hub window (F6; the one menu of every KydlDev mod) and the KY-Items category and registry.
By KydlDev
| Date uploaded | 21 hours ago |
| Version | 1.2.1 |
| Download link | KydlDev-KydlCore-1.2.1.zip |
| Downloads | 189 |
| Dependency string | KydlDev-KydlCore-1.2.1 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2360README
KydlCore
Shared runtime for all KydlDev mods: one UI root and theme, the KY hub window (F6; the one menu of every KydlDev mod) and the KY-Items category and registry.
Features
- KY hub (F6): one window for every KydlDev mod. Row 1 lists the installed mods, row 2 their tabs (settings, the mod's own pages). Escape closes it; your character does not move while it is open.
- Settings pages: every KydlDev mod's player settings as switches, sliders, drop-downs and key pickers, with live reload (a change applies at once).
- KY-Items: the hammer category of all KydlDev build pieces and a tab listing every item and piece the installed KydlDev mods add (shown only when such a mod is installed).
- Gamepad: the KY hub opens with LT + LB + Select (changeable) and works with the D-pad, A and B. Controller support is offered but has not been tested with a real controller yet.
- Shared look: dark panels, gold accents, one font for every KydlDev menu.
- Flight recorder: when something goes wrong (an error of a KydlDev mod, a failed self-check) KydlCore writes a short report file with what the tracked creatures and the game were doing in the last two minutes, so a bug report can include it. It only keeps this in memory until then.
How to use
- Press F6 in game (changeable:
[General] HubKey). - KydlCore has no gameplay of its own: install it together with the KydlDev mods that need it (your mod manager does this for you).
- KydlCore is always on: it has no on / off switch, because every KydlDev mod relies on it.
Configuration
BepInEx/config/com.kydldev.KydlCore.cfg (or the hub's Settings tab):
| Section | Setting | Default | What it does |
|---|---|---|---|
| General | HubKey | F6 | Opens / closes the KY hub (None = no key) |
| General | Hub Gamepad Combo | LT + LB + Select | Opens / closes the KY hub on a gamepad: LT + LB + Select, LT + LB + Y, L3 + R3 or None |
| General | KY-Items View | List | How the KY-Items and Materials pages of the hub show the prefabs: List or Grid |
| DebugLog | Enable | false | Detailed lines in the BepInEx log for bug reports |
| Diagnostics | FlightSampleSeconds | 1 | Flight recorder: seconds between two samples (0.25-10) |
| Diagnostics | FlightWindowSeconds | 120 | Flight recorder: seconds of history a report holds (30-600) |
| Diagnostics | FlightMaxDumps | 30 | Most report files written per game start (1-200) |
| Diagnostics | FlightKeepDays | 3 | Reports older than this many days are removed at game start (1-30) |
| Diagnostics | FlightKeepFiles | 100 | Most report files kept; the oldest go first (10-1000) |
Edits to the file are picked up while the game runs.
Multiplayer
KydlCore can be installed on your game only: you can join a server without it. When the server has it too, both must have exactly the same version. The KydlDev gameplay mods themselves must be on every player and the server (each says so in its own description).
For mod makers (KydlDev mods)
Hub tabs: KyHub.AddTab / AddPage / RemoveTab / HasTab / ConfigEntries. KY-Items: KyItems.Contribute(new KyContribution { Id = "<modid>:<item>", ... })
(duplicate ids are rejected), KyItems.Withdraw(id), KyItems.All / FindById / Changed.
Diagnostics: FlightRecorder.Track(component, label, () => facts) for every creature or object the mod moves, FlightRecorder.Dump(reason) from a watchdog,
FlightRecorder.Note / Untrack; ModLog.State / Decision / Every / IsDue write debug lines and feed the recorder's timeline.
Bug reports
Turn on [DebugLog] Enable, reproduce the problem, and attach BepInEx/LogOutput.log. If BepInEx/cache/KydlCore/flight/ holds a newer report file, attach that too.

Get help and stay in touch
Questions, bug reports, ideas or mod requests? Come say hi in the KydlDev Discord: https://discord.gg/tX2CcTNC4W Everyone is welcome, and it is the quickest way to reach me. Source code and issues: https://github.com/kydlDev
CHANGELOG
Changelog
1.2.1
Fixed
- A mod's item or text could show its bare key in brackets (for example
[stevethetroll_slippers]in the crafting menu) when the game's text table did not hold the word at that moment. The text is now taken from the mod's own table in that case, so it never shows the key.
Testing
- New test hooks
kc.itemsLook,kc.itemsKnown,kc.pickupFor,kc.unlockPopups,kc.popupsIdleandkc.craftMenu*look at every item of a mod in the lab (name, description, icon, shared icons) and check that the game teaches its recipes and pieces and shows its "New crafting recipe" / "New build piece" popups when a fresh character picks up the materials (no "nocost" cheat). - Unit tests: 650 passed.
- Integration tests: 38 passed.
- Coverage of the testable code: 98.4%. Mutation testing (Stryker): 96.3% of the mutants are caught by the tests.
- Static analysis (SonarQube): no Medium or High issues.
- TestLab tests (in game with DrakesTestLab): the full suite of 11 tests per run, run 3 times in a row on the release build, all green (the release requirement).
- Visual tests: 1 (screenshots of icons and views, looked at in the test run).
1.2.0
New
- Gamepad support
- Open the KY hub with LT + LB + Select (changeable:
[General] Hub Gamepad Combo: LT + LB + Select, LT + LB + Y, L3 + R3 or None). Move between controls with the D-pad, A presses and B goes back. - Key-hint panels (for example the musket's) show the gamepad button glyphs too.
- Controller support is offered, but it has not been tested with a real controller yet (only with simulated button presses in the test lab).
- Open the KY hub with LT + LB + Select (changeable:
- For mod authors: gamepad
KyPadCombo(a gamepad combo a player can change: hold LT + LB and press a button;Bind,Down(),Held(); two mods with the same combo are reported in the log).KyPadMask(a mod claims a gamepad control while it needs it, so the game does not act on it too) andKyKeyHint.PadCombo(key hint rows with the combo's gamepad marks).KyKeyHint.GamepadButton,KyKeyHints.Redraw(),KydlCore.Ui.UiPad(gamepad marks, focus ring, submit and adjust for a mod's own UI elements) andUiScroll.Reveal. Nothing was removed or renamed.
- For mod authors: replacements for what the KydlDev mods used from Jotunn
KyNetwork(version check on joining a server and server-decided admin settings, through the built-in ServerSync),ConfigurationManagerAttributes,ConfigOrderand mod texts through the game's own localization (Loc).KyPrefabs(clone, add and find prefabs;WhenVanillaAvailableruns the action at once when the vanilla prefabs are already loaded, otherwise on the next ObjectDB copy),KyIcons(icons drawn from a prefab) and the KY-Items game side (items, recipes and pieces added by KydlCore itself, the "KY-Items" Hammer tab).KyStatusEffects,KySkills(skill numbers stay the same as with Jotunn, so skill levels are kept;SetIconfor an icon made later),KyKeyHints(key hints for a held item, keyboard and mouse),FeatureRulesand a publicGameClock.
Changed
- KydlCore no longer needs Jotunn. It still works next to Jotunn when other mods bring it (Jotunn then loads first and keeps making the build categories).
- For mod authors: a mod that requires KydlCore 1.2.0 no longer gets Jotunn through KydlCore; it must use the replacements above or bring Jotunn itself.
Fixed
- The name of a skill made with KySkills showed as
skill_-1977943704when the skill went up a level (in the message, in the skills screen and on the skill's status effects). The name now shows in every place. The mods with their own skills (GunPowdered, WhipItUp) get the fix from this version. - A null reference error in the game's input-hint update each time a key-hint panel was shown.
Testing
- Unit tests: 650 passed.
- Integration tests: 38 passed.
- Property-based tests (FsCheck, included in the unit tests above): 26 property checks with generated inputs.
- Coverage of the testable code: 98.4%. Mutation testing (Stryker): 96.3% of the mutants are caught by the tests.
- Performance benchmarks (BenchmarkDotNet): 13.
- Static analysis (SonarQube): no Medium or High issues.
- TestLab tests (in game with DrakesTestLab): the full suite of 11 tests per run, run 3 times in a row on the release build, all green (the release requirement).
- Visual tests: 1 (screenshots of icons and views, looked at in the test run).
1.1.3
- New for mod authors: ServerSync is part of KydlCore (namespace
KydlCore.ServerSync:ConfigSync,SyncedConfigEntry<T>,CustomSyncedValue<T>). A config entry added withAddConfigEntryis synced from the server to every client, and admin-only entries need no Jotunn. A mod that uses it must require KydlCore 1.1.3.
1.1.2
- New: KY-Items has a grid view (4 square icons per row with name and prefab) next to the list; switch at the top right, remembered in
[General] KY-Items View. - New: a Materials tab in the KY hub for deposits and crafting ingredients (
KyKind.Material). - New for mod authors:
ModLog.ExpectWarningmarks warnings a test provokes on purpose, so they do not count as failures. - New for mod authors' TestLab suites: the start-of-test arena cleanup removes dropped items, creatures, and logs, stumps and pieces that were not in the world template, and puts back terrain a test changed.
- Changed for mod authors:
KyPage.SectionsandKySection.Rowsare read-only lists; sections and rows are added withSection(...),Value(...),Slider(...)and the other builder methods as before. A mod that reads them must be rebuilt against this version. - Fixed: mods that look up a game item prefab right when the game is ready (
KyPrefabs.WhenVanillaAvailable/VanillaPrefabsAvailable) found nothing at game start, because KydlCore sent the signal before the game had filled its item list. It now comes after. GunPowdered's musket could not make its bullet because of this. - Changed: every method logs on entry and on each return when the debug log is on; per-frame lines are throttled, so a log stays readable. Less log spam overall (the flight recorder's echo and repeated network lines are throttled).
- Fixed: Valheim could hang at start because the log listener wrote log lines about itself without end.
- Fixed: logged values stay on one line, and a logged value containing the text "CHECK OFF" no longer counts as a failed check.
- Fixed: the UI kit compiles again in a mod's own Unity project.
Testing
- Unit tests: 570 passed. Integration tests: 39 passed.
- Coverage of the testable code: 98.4%. Mutation testing (Stryker): 96.3% of the mutants are caught by the tests.
- SonarQube: no Medium or High impact issue.
- DrakesTestLab: the KydlCore suite green 3 times in a row on this build, and GunPowdered's full suites on top of it.
1.1.1
- New: in the KY hub (F6) every settings category of a mod has its own tab, for every mod. Categories that belong together share one tab (for example all "Staff of Protection - ..." sections of ComfortMagicBubbles). "General" comes first and "DebugLog" last, also when a mod has tabs of its own (they sit in between). A mod with a single category keeps its one "Settings" tab.
- New for mod authors:
KyHub.SetGroupPanelputs a panel of the mod's own at the end of one settings tab and can leave out the plain entries of the sections that panel draws itself (they stay in the F1 menu and the cfg file);KyHub.RemoveGroupPaneltakes it away again. An overload withatTopputs the panel above the entries instead, andKyHub.SetGroupPagedoes the same with a declarative page (buttons and notes, likeAddPage), so a mod's own actions share the tab of their config category instead of a second tab with the same name. - Changed: every page in the KY hub is now shown with KydlCore's own text sizes, font and text colours, also a page a mod builds itself (before, such a page could be shown with bigger text than the Settings pages). A size, font or text colour a mod sets is replaced.
- Fixed: on a Settings page, a value that a mod keeps in step with another one now follows at once. Example: the
Hexbox of a colour row did not change while the Red / Green / Blue sliders were moved.
Testing
- Unit tests: 543 passed. Integration tests: 36 passed.
- Property-based tests (FsCheck, included in the unit tests above): 23 property checks with generated inputs.
- Coverage of the testable code: 98.3%. Mutation testing (Stryker): 96.3% of the mutants are caught by the tests.
- Performance benchmarks (BenchmarkDotNet): 13.
- Static analysis (SonarQube): no Medium or High issues.
- In game with DrakesTestLab: the full suite of 8 tests per run, run 3 times in a row on the release build, all green (the release requirement).
1.1.0
- New for mod authors: the flight recorder.
FlightRecorder.Track(component, label, facts)keeps the last two minutes of a creature or object (position, speed, health, AI target, network owner, whether its zone is loaded, the mod's own facts);FlightRecorder.Dump(reason),Note,Untrack,LastDumpPathandTrackedCountcomplete it. It is always on, in memory only. - It writes a report file to
BepInEx/cache/KydlCore/flight/only when something goes wrong: a failed DrakesTestLab test, a CHECK OFF, an error of a KydlDev mod, or a mod's ownFlightRecorder.Dump. At most 30 files per game start; files older than 3 days and everything beyond the newest 100 are removed at game start. Attach such a file to a bug report. - New for mod authors:
ModLog.State,ModLog.Decision,ModLog.EveryandModLog.IsDue(debug lines as before, and always on the flight recorder's timeline, even with the debug log off). - New settings in the
[Diagnostics]section (hub Settings tab):FlightSampleSeconds(1 s),FlightWindowSeconds(120 s),FlightMaxDumps(30),FlightKeepDays(3),FlightKeepFiles(100). They only size the recorder; it cannot be switched off. - Nothing was removed or renamed: mods built for KydlCore 1.0.0 keep working. A server that runs 1.1.0 needs the same version on every player who has KydlCore (exact match).
- Tested in game with the full TestLab suite (8 tests, including the new flight recorder test): 3 green runs in a row on 2026-11-08; no errors from this mod, all 13 KydlDev mods loaded together.
1.0.0
- Tested in game with the full TestLab suite (7 tests): 3 green runs in a row on 2026-11-05, plus the ecosystem run with all 12 KydlDev mods loaded together.
- New for mod authors: PieceLearning (learn a build piece with the game's normal "new piece" message, check known pieces / items).
- Settings pages: a setting name that is too long is cut with "..." instead of running under its slider, long text values (webhook URLs) stay inside their box, and sliders are about 10 % shorter with a gap to the name. New mod icon.
- KydlDev spec layout; KY-Items: Jotunn-free registry with namespaced contributions (KyItems.Contribute / Withdraw / FindById), duplicates rejected; KyHub.HasTab; KydlCore can no longer be switched off (no EnableAll); exact network version, joins servers without KydlCore (VersionCheckOnly). Checked in game on 2026-11-04 (clean start and quit with all mods loaded, no errors from this mod).
- First version (project created 2026-10-29). Checked in game on 2026-11-04 (clean start and quit with all mods loaded, no errors from this mod).