You are viewing a potentially older version of this package. View all versions.
Narolith-AutoFeed-0.2.3 icon

AutoFeed

This mod will automatically feed tameable creatures in the game with food from nearby chests.

Date uploaded 2 years ago
Version 0.2.3
Download link Narolith-AutoFeed-0.2.3.zip
Downloads 33178
Dependency string Narolith-AutoFeed-0.2.3

This mod requires the following mods to function

ValheimModding-Jotunn-2.20.1 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.20.1

README

Auto Feed

Auto Feed is a Valheim mod that automatically feeds tameable creatures in the game with food from nearby chests. This mod is perfect for players who want to focus more on adventuring and less on the upkeep of their tamed animals. No more food on the floor!

Features

  • Automatic Feeding: Tameable creatures within range of a chest containing their supported food will be automatically fed.
  • Configurable Range: You can set the radius the tameable creatures will look for containers to feed from.

Configuration

The mod comes with two main configuration parameters:

  • Container Range: This parameter determines the radius within which the tameable creatures will look for containers to feed from. The default value is 10 (units).
  • Enabled: This parameter allows you to enable or disable the mod. By default, the mod is enabled.

Installation

To install the mod, you need to have BepInEx installed in your Valheim game. Once BepInEx is installed, simply download the Auto Feed mod and place it in the BepInEx plugins folder.

Support

If you encounter any issues or have any suggestions, feel free to open an issue or pull request on the GitHub repository.

Enjoy your adventures in Valheim with your well-fed companions!

CHANGELOG

1.0.3

  • Documentation: Fixed README incorrectly stating server-only installation; mod requires both server and client

1.0.2

  • Documentation: Incorrect tags on the mod in Thunderstore showing server-side when this is a client and server required mod as of 1.0.0

1.0.1

  • Performance: container scan results are now cached per animal (configurable TTL, default 5s), eliminating the full Piece.s_allPieces scan on every AI tick
  • Performance: distance calculations in container sorting now use sqrMagnitude instead of Vector3.Distance, removing redundant square root operations
  • Performance: consumable lookup structure is now built once per feed attempt instead of once per container scanned, reducing GC pressure
  • Fixed: MissingReferenceException when a cached container is destroyed during its TTL window
  • Added Container Cache TTL config option (default 5)

1.0.0

  • Mod is now client and server side — all connected clients must have the mod installed
  • Fixed feeding not working on dedicated servers: creature AI now runs on the ZDO owner (client or server) rather than assuming server-only execution
  • Container discovery now uses Valheim's piece registry instead of physics queries, fixing containers not being found on clients
  • Fixed performance issue: container queries now run at most once every 5 seconds per animal instead of every AI tick

0.3.2

  • Fixed animals not feeding from chests — AutoFeed.Core.dll was missing from the Thunderstore package; FeedingLogic is now compiled directly into the main DLL so only one file needs to be shipped

0.3.1

  • Updated README with server-side installation instructions and configuration table

0.3.0

  • Mod is now server-side only — install on the server, clients no longer need it
  • Feeding logic now only executes on the server, preventing double-feeding in multiplayer

0.2.5

  • Fixed plugin build glob excluding sibling projects (AutoFeed.Core, AutoFeed.Tests)
  • Removed plugin build step from release workflow (requires Valheim game DLLs unavailable in CI)
  • Added Scripts/package.sh to build and zip the Thunderstore package locally
  • Bumped GitHub Actions to Node.js 24

0.2.4

  • Replaced prebuild PowerShell manifest sync script with a release workflow
  • Added automated CI tests via GitHub Actions
  • Added branch protection requiring tests to pass before merging to main

0.2.3

  • Added missing Thunderstore dependency to Jotunn
  • Added manifest version script to avoid mismatch versions

0.2.2

  • Fixed project version mismatch

0.2.1

  • Removed unnecessary async delay in FeedAnimal
  • Codebase improvements

0.2.0

  • Changed targeted framework
  • Added Jotunn dependency
  • Added requirement Client/Server to have latest Minor version installed

0.1.0

  • Added Jotunn for reference and assembly handling
  • Code readability updates
  • Added more details to README
  • Increased default range from 5 to 10
  • Rewrote global feeding delay logic
  • Removed ownership check

0.0.2

  • Updated GitHub link