You are viewing a potentially older version of this package. View all versions.
DocZee-HenEggPickup-2.0.0 icon

HenEggPickup

Automatically collect chicken eggs once enough adult hens are nearby. Configurable flock size and detection radius. Client-side settings, no server sync, and manual pickup preserved.

Date uploaded 2 weeks ago
Version 2.0.0
Download link DocZee-HenEggPickup-2.0.0.zip
Downloads 23
Dependency string DocZee-HenEggPickup-2.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2350

README

Hen Egg Pickup

2.0.0 targets Valheim 1.0, built and checked against 1.0.16. Use the 1.x releases for Ashlands.

Automatically collect chicken eggs when your flock has enough adult hens nearby.

Features

  • Requires 12 living adult hens within 10 metres of you by default.
  • Configurable hen count and detection radius; chicks do not count.
  • Leaves chicken eggs alone below the threshold, even if another mod enables their pickup flag.
  • Uses the game's automatic pickup range, toggle, inventory capacity, and weight checks.
  • Manual pickup remains available at any flock size.
  • Client-side only, with local settings and no server synchronization.

Configuration

Launch once to generate BepInEx/config/com.ziluck.valheim.heneggpickup.cfg.

Setting Default Meaning
Enabled true Enable conditional egg pickup. Disabling restores normal game/mod behavior.
Minimum Hens 12 Adult hens required; configurable from 1 to 1000.
Hen Detection Radius 10 Metres from the player to hens; configurable from 1 to 100.

The count includes loaded, living Hen creatures, whether fed or hungry. Distance includes height; walls do not block detection. Only chicken eggs are affected. Eggs still need to be within your normal item pickup range. At the threshold, manually dropped eggs can also be collected automatically.

Install on each client that wants this behavior. Installing only on a dedicated server has no effect on clients. Each player controls their own settings.

Optional mods

Check out my other mods

If you'd like to support ongoing modding work, Ko-fi is available.

Requires BepInExPack Valheim.

Links

CHANGELOG

Changelog

2.0.2 - 2026-10-06

  • Name saved egg pickup flags and player positions explicitly.
  • Test mixed original flags, exception restoration across multiple eggs, and plugin teardown.
  • Keep the simulated game's pickup range check independent of the mod's radius helper.
  • Maintainer confirmed the current build works as intended in game.

2.0.1

  • Replace the chick icon with Valheim's chicken egg artwork.
  • Move build, package, publish, and deployment scripts into ci and normalize tests/checks.
  • Add repository sponsorship links and automatic dependency update checks.

2.0.0

  • Formally target Valheim 1.0; compiled and checked against 1.0.16.
  • Require BepInExPack Valheim 5.4.2350.
  • Add GitHub Actions builds and automatic publication of new versions from main.
  • Add Hexium publishing scaffolding, disabled until DocZee is approved.
  • Keep plugin IDs and configuration files stable for existing installations.

1.0.0

  • Initial release with configurable adult hen threshold and detection radius.
  • Local settings and scoped egg eligibility during automatic pickup.