Spawn That

v1.2.20·Updated 2026-10-01

Advanced tool for customizing mob spawners throughout the world with configuration files.

About this mod Author’s original text

Spawn That!

This is an advanced tool for configuring all world spawners.

With this, it is possible to change almost all of the default settings for the way spawners work in Valheim.

Want to have a world without trolls? Possible! (probably)

Want to have a world with ONLY trolls? Possible! (almost)

Want to have a world where greydwarves only spawn at night? Possible!

Just want to have more/less of a mob type? Simple modifiers exist!

Features

  • Change spawning rates of specific mobs
  • Replace existing spawn configurations throughout the world
  • Set almost any of the default parameters the game uses
  • Add your own spawn configuration to the world
  • Modify the localized spawners by mob type and location
  • Dump existing game templates as files using the same format as the mod configs.
  • Easy to copy-paste and change the parts you want.
  • Investigate what the world throws at you.
  • Server-side configs
  • Modify the spawners in camps, villages and dungeons
  • Conditions and settings specific to integrated mods:
  • Creature Level and Loot Control
  • MobAILib
  • Epic Loot

Documentation

Documentation can be found on the Spawn That github page.

Example

[WorldSpawner.321]

Name = Angry Test Boars

PrefabName = Boar

Biomes = Meadows

Enabled = true

HuntPlayer=true

MaxSpawned = 30

SpawnInterval = 1

SpawnChance = 100

SpawnDuringDay = true

SpawnDuringNight = true

ConditionLocation = Runestone_Boars

ConditionDistanceToCenterMin = 500

ConditionAreaSpawnChance = 50

[WorldSpawner.321.CreatureLevelAndLootControl]

SetInfusion=Fire

[WorldSpawner.321.EpicLoot]

ConditionNearbyPlayerCarryLegendaryItem = HeimdallLegs

Server/Client

Install on both.

Spawning is generally handled client-side in Valheim.

Clients connecting to a server will not be using their local configs. Instead, client will get in-memory configs sent from the server.

API support

Spawn That now supports configurations by code. Configurations are merged with configs from file. File configurations will be applied last, ensuring that users can still override the settings made by mods.

A nuget release has also been made available.

Configurations are applied once pr world entered, and synced from server-side.

API is more feature-rich than the config files though.

Example:

public class Plugin: BaseUnityPlugin

{

public void Awake()

{

// Register for configuration event.

SpawnThat.Spawners.SpawnerConfigurationManager.OnConfigure += MySpawnerConfigurations;

}

public void MySpawnerConfigurations(ISpawnerConfigurationCollection spawnerConfig)

{

// Add a new world spawner

spawnerConfig.ConfigureWorldSpawner(123).SetPrefabName("Skeleton").SetMinLevel(2).SetMaxLevel(3);

// Modify an existing vanilla spawner

spawnerConfig.ConfigureWorldSpawner(1).SetSpawnInterval(TimeSpan.FromSeconds(30)).SetPackSizeMin(3).SetPackSizeMax(10);

// Modify a local spawner

spawnerConfig.ConfigureLocalSpawnerByLocationAndCreature("Runestone_Boars", "Boar").SetPrefabName("Skeleton");

}

}

Support

If you are already getting a server from Survival Servers, going through the link below sends a bit my way. No extra cost for you, but a beer for me!

If you feel like it

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_Valheim

File & checksum

Filename
Spawn_That-1.2.20.zip
File size
271.0 KiB