SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedQuality of life & UI

BreedingInPen

by Tie · for Valheim

Server-side only: newborn boars, wolves, lox and other tamed animals stay inside their pen, plus a breeding limit per creature. Players need no mod.

139Downloads
40d agoLast updated
BepInExLoaders
ThunderstoreSource

About BreedingInPen

From Thunderstore

Server-side only: newborn boars, wolves, lox and other tamed animals stay inside their pen, plus a breeding limit per creature. Players need no mod.

BreedingInPen

A BepInEx plugin for Valheim that keeps newborn animals inside their pen and lets you set a breeding limit for each creature.

> Server-side only. Install it on the dedicated server only. Players don't install anything, so it works with vanilla clients and with crossplay players on console or Game Pass.

It covers every creature the game breeds itself: boars, wolves, lox, hens, asksvin, moose and creatures added by other mods, as long as they use the game's own breeding.

How it works

  • Birth at the parent (BirthAtParent, on by default): the game normally spawns a baby up to 2 m behind its mother, which can be on the other side of a fence. With this on, the baby appears exactly where the mother stands.
  • Birth between the parents (BirthBetweenParents, on by default): a moment after birth, the newborn is moved between its mother and her nearest tamed partner. Both parents are inside the pen, so the baby is too. The baby may visibly jump once, by a metre or two. Hens and asksvin lay eggs, so this part doesn't apply to them; BirthAtParent is enough there.
  • Breeding limit per creature ([MaxCreatures]): one setting per creature. Tamed animals stop breeding when this many of their kind and their young are nearby (the game's own check and range). -1, the default, keeps the game's limit (boar 5, wolf 4, lox 4, hen 10, asksvin 10, ...). Only the same kind counts: lox never count toward the boar limit.

How it works without a client mod

Breeding runs on the game of the player nearest to the parents. The plugin uses the game's own per-creature setting overrides, which every vanilla client already reads, to change the birth distance and the breeding limit. A client only reads them when it loads a creature, so when a creature's settings change, the server swaps it for an identical copy (same name, stars, saddle and everything else). It may blink once. This happens once per creature, and again only if you change the settings.

A newborn is moved the same way: the server replaces it with a copy placed between the parents.

Only tamed creatures in areas loaded around players are changed, the same areas where the game runs breeding.

Configuration

BepInEx/config/Tie.BreedingInPen.cfg:

| Section | Setting | Default | | | --- | --- | --- | --- | | General | TickSeconds | 2 | How often creatures near players are checked. | | General | DebugLog | false | Log every creature changed or newborn moved. | | Pen | BirthAtParent | true | Babies appear where the mother stands. | | Pen | BirthBetweenParents | true | Newborns are moved between their parents. | | Pen | NewbornSeconds | 20 | Only tamed babies younger than this are moved. | | MaxCreatures | one per creature | -1 | Breeding limit; -1 keeps the game's value. |

Compatibility

  • Deer and necks aren't bred by the game. For them, see ServerTaming, which already places their offspring between the parents.
  • ServersideQoL (CreatureLevelUp, TameAssist) also uses per-creature overrides. Both mods keep each other's settings when they swap a creature.

Installation

Put BreedingInPen.dll in BepInEx/plugins/BreedingInPen/ on the dedicated server only. Players don't install anything: no client mod is needed or used.

Support

If this mod saved you some trouble:

Buy me a coffee

Building

The project targets .NET Framework 4.7.2. It references the game and BepInEx assemblies from a Valheim dedicated server install with BepInEx. By default it looks two folders above the project; you can point it somewhere else:

dotnet build -c Release -p:ValheimDir=/path/to/valheim_server

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 40d ago.

BreedingInPen on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Required on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.0.1, released 2026-10-13

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 2 recorded builds of BreedingInPen.

Recent builds

BuildReleasedGame versionsLoaders
1.0.12026-10-13n/aBepInEx
1.0.02026-10-08n/aBepInEx

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run BreedingInPen on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Tweaks”

Quality of life & UI

Small conveniences, tweaks and interface improvements players notice straight away.

Runs on your server

From source side support

Thunderstore lists BreedingInPen as required on the server. Check its Thunderstore page to see whether players need it too.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serverrequired on the server
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-15Open ↗
  • ✓AuthorTie, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

BreedingInPen, answered

Generated from the mod’s own source data.

Do my players need to install BreedingInPen?

Thunderstore lists BreedingInPen as required on the server. Check its Thunderstore page to see whether players need it too.

Which loaders does it support?

BepInEx.

Is it free?

Yes. BreedingInPen is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run BreedingInPen on a Valheim server.

Deploy in about a minute from $6.50 a month, then add BreedingInPen in one click.