Digitalroot-Max_Dungeon_Rooms icon

Max Dungeon Rooms

Raises the chance to spawn larger dungeons.

Last updated a month ago
Total downloads 32412
Total rating 6 
Categories Hildir's Request Update Tweaks Server-side Client-side
Dependency string Digitalroot-Max_Dungeon_Rooms-2.0.21
Dependants 161 other mods depend on this mod

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2105 icon

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2105
ValheimModding-Jotunn-2.12.4 icon

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.12.4



Raises the chance to spawn larger dungeons.


GNU Affero General Public License v3.0

Digitalroot's Max Dungeon Rooms

Raises the change to spawn larger dungeons. Valheim makes a limited number of attempts to spawn rooms for a dungeon.

The defaults for Forest Crypt are 20/40.
The defaults for Sunken Crypt are 20/30.

This mod alters these values for a higher chance of spawning more rooms per dungeon.


  • What is the lowest number of rooms I have spawned using this mod? 6
  • What is the highest number of rooms I have spawned using this mod? 99
  • Will this cause performance issue? Yes, it can on slower PCs.
  • What happens to spawned dungeons if the mod is removed? They stay, they are part of the world save file.

The Algorithm

The Min/Max values do not functions as I expected them to. The algorithm the Dungeon Generator uses looks like the following.

for (int i = 0; i < maxRooms; i++)
  if (HasAllRequiredRooms() && placedRooms.Count > minRooms)

Dungeon Generator will stop spawning more rooms when either of the two statement are true.

  • All required rooms have spawned and the min number of rooms have spawned too.
  • Dungeon Generator has made up to the max number of attempts to spawn rooms.

Installation (manual)

  1. Download the latest release archive (zip) file.
  2. Extract the archive into <Steam Location>\steamapps\common\Valheim\BepInEx\plugins


  • Min Rooms
  • Max Rooms
Advanced Configuration

Each dungeon type can have their own values. Enable the override for the dungeon and set it's values. If an override is not enable, then the values from the General section are used.


  • Use the repo issues tab above.

Support Me @

Digitalroot can be found in the Valhalla Legends Discord

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2023-8-25 2.0.21 5097 Version 2.0.21 Install
2023-8-7 2.0.20 2749 Version 2.0.20 Install
2023-7-25 2.0.19 2423 Version 2.0.19 Install
2023-7-24 2.0.18 635 Version 2.0.18 Install
2023-6-16 2.0.17 5215 Version 2.0.17 Install
2023-4-2 2.0.10 8761 Version 2.0.10 Install
2023-3-14 2.0.9 2629 Version 2.0.9 Install
2022-12-21 2.0.3 4903 Version 2.0.3 Install