Max Dungeon Rooms

v2.0.42·Updated 2026-10-03

Raises the chance to spawn larger dungeons.

About this mod Author’s original text

Summary

Raises the chance to spawn larger dungeons.

License

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.

FAQ

  • 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 minRooms)

{

break;

}

}

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)

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

Configuration

  • 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.

Add to server to enforce configs.

Crossplay ✔

| Point of View | Server w/ Mod | Server w/o Mod | Client (PC) w/ mod | Client (PC/Console) w/o mod |

| --- | --- | --- | --- | --- |

| Client (PC) w/ mod | ✔ | ✔ | ✔ | ✔ |

| Client (PC/Console) w/o mod | ✔ | ✔ | ✔ | ✔ |

| Server w/ Mod | | | ✔ | ✔ |

| Server w/o Mod | | | ✔ | ✔ |

Issues/Questions/Bugs

  • Use the repo issues tab above.

Support Me @

Digitalroot can be found in the Valhalla Legends Discord

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. 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.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. 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.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_ValheimValheimModding-Jotunn

File & checksum

Filename
Max_Dungeon_Rooms-2.0.42.zip
File size
105.3 KiB