DraugrIronOre
Adds a configurable 33% chance for Draugr to drop 1-3 bonus Iron Ore.
About this mod Author’s original text
Draugr Iron Ore
Standalone BepInEx plugin source for Valheim. Adds a bonus Iron Ore drop to eligible Draugr without replacing their normal loot.
Default behavior
- 33% chance per eligible Draugr death
- 1–3 Iron Ore on a successful roll
- Includes Draugr, Draugr Elite, and Draugr Ranged by default
- Configurable through BepInEx config
- No DropNSpawn or Jötunn dependency
Requirements to build
- Valheim installed through Steam
- BepInExPack Valheim installed and run once
-.NET SDK installed (dotnet --info should work)
- PowerShell on Windows
Build
- Extract this source ZIP.
- Open PowerShell in the extracted DraugrIronOre folder.
- Run.uild.ps1.
- If Valheim is installed in a different folder, run:.uild.ps1 -ValheimDir "D:\Games\Steam\steamapps\common\Valheim"
The script builds against the local Valheim managed assemblies and BepInEx libraries. On success, the DLL is copied\BepInEx\plugins\DraugrIronOre.dll.
Local installation
Copy \BepInEx\plugins\DraugrIronOre.dll to the BepInEx\plugins folder of your Valheim install or your Mod Manager/r2modman profile. With a mod manager, use Settings / Profile folder / Browse profile folder, then open BepInEx\plugins.
Launch the game once. The configuration file will be generated at:
BepInEx\config\com.example.draugrironore.cfg
Configuration
- DropChance = 0.33 (33%)
- MinAmount = 1
- MaxAmount = 3
- IncludeEliteDraugr = true
- IncludeRangedDraugr = true
Make a upload ZIP
- Build successfully with.uild.ps1.
- Run.\package.ps1 -Version "1.0.0".
- Upload the generated DraugrIronOre-1.0.0-.zip from the project folder to your team's upload page.
The upload ZIP includes the compiled DLL at BepInEx/plugins/DraugrIronOre.dll plus the required root-level manifest.json, README.md, and icon.png.
Important testing note
This source archive does not include a compiled DLL because compiling requires the Valheim and BepInEx assemblies from your own installation. I have not run this plugin inside Valheim. Test in a disposable world/profile first and check BepInEx/LogOutput.log for errors. The plugin adds a separate bonus item and does not intentionally alter vanilla loot tables. Modded Draugr variants are not included unless their prefab names match one of the three supported names.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: