DefendYourBase

v1.0.0·Updated 2026-09-11

Protect your home! Use trophies to summon stalwart guardians to your wards! Now with more aware guardians and no more aimless running around. Supports 'starred' guardians with base and biome restricti

About this mod Author’s original text

Defend Your Base

Protect your home! Use trophies to summon stalwart guardians to your wards!

Now with more alert guardians, and no more aimless running around!

Summon 'starred' guardians!

Multiplayer support with base and biome restrictions.

Use a trophy on a ward stone to summon a guardian (of the selected trophy type) to patrol and defend your base.

If a trophy drops from a 'starred' creature, the trophy can summon a guardian of the same level.

The summoned guardian will patrol within the ward's area of protection and attack all enemies.

If you configure restrictions by biome or boss progression and want to add custom creatures, please read _Custom Biome Restriction_ first.

New

  • Updated for Valheim 1.0

Configuration

Restrictions

Limit by biome: If enabled, restricts summoned creatures to those that can spawn in the selected ward's biome, or 'higher' biomes, e.g. a Troll can be summoned to a ward in the Plains, but a Seeker cannot.@

Limit by Progression: If enabled, allows creatures to be summoned in 'lower' biomes once a boss is defeated, e.g. Once Bonemass is defeated, a Draugr can be summoned to a ward in the Meadows and Black Forest.@

Minimum Base Pieces: The minimum number of build pieces that must be in proximity to the ward to be considered a 'base' (based on the Piece Check Radius)@

Base Check Radius: The radius from the ward to check for a 'base' that allows the ward to be used for summoning a guard.@

Minimum Base Crafting Stations: The minimum number of crafting stations that must be in proximity to the ward to be considered a 'base' (based on the Piece Check Radius)@

Minimum Base Beds: The minimum number of beds that must be in proximity to the ward to be considered a 'base' (based on the Piece Check Radius)@

Allow Guardian Levels: If enabled, allows trophies from 'starred' creatures to summon guardians of the same level, i.e. a trophy from a 2-star will summon a 2-star guardian.@

Utility

LogLevel: Controls the level of information contained in the log

In-game reconfiguration

You can use Configuration Manager (or similar) mod to change the configuration or modify the config file directly without exiting the game.

Notes

  • The CreatureBiomeMap.txt file is now located in BepInEx/config/Neobotics/DefendYourBase. You can now modify that file without it being overwritten on updates. If you need to revert to the baseline configuration, just delete the file and it will be recreated on restart (with default list).
  • If _Allow Guardian Levels_ is enabled, trophies dropped from 'starred' creatures will summon guardians of the same level. Trophies of different levels will not stack, and will display the 'star' level in inventory.
  • Place the trophy in one of your hotbar numbered slots. Hover over the ward and select the number of the slot the trophy is in.
  • The summoned guardian will patrol within the area of protection of the ward
  • Unlike 'natural' tames, the guardian will fight other creatures from its own faction
  • Summoning a guardian will consume the trophy
  • A ward can have only one guardian
  • You cannot summon a guardian on someone else's ward
  • Only one ward can have a guardian within overlapping areas of protection, even if not active.
  • You cannot use boss trophies to summon a boss. Sorry.
  • The summoned guardian will remain until they are killed
  • Destroying a ward will also destroy it's guardian
  • The summoned guardian will not follow you.
  • Most procedurally generated pieces (ruins, towns, etc.) will count toward base totals.
  • Beds do not need to be claimed by any particular player to count toward base totals.
  • If you turn _Allow_Guardian Levels_ off, previously obtained 'starred' trophies will still not stack, but will only summon 'no-star' guardians.
  • Deer, Hares and other non-aggressive creatures cannot be summoned as guardians.
  • Basic Skeletons can be summoned in the Meadows by default.
  • The Ocean is counted as biome level 3 (equivalent to the Swamp) for the purposes of summoning a Serpent

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
DefendYourBase-1.0.0.zip
File size
195.0 KiB