You are viewing a potentially older version of this package. View all versions.
vanbushi-Auto_Feeder-0.9.3 icon

Auto Feeder

Tamed animals eat from nearby containers. A maintained fork of aedenthorn's Auto Feed, updated for Valheim 1.0.

Date uploaded 3 weeks ago
Version 0.9.3
Download link vanbushi-Auto_Feeder-0.9.3.zip
Downloads 190
Dependency string vanbushi-Auto_Feeder-0.9.3

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 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.2351

README

Auto Feeder

Place a container near your animal pen, and your tamed animals will walk over and eat from it when they're hungry. No more hand-feeding.

A maintained fork of aedenthorn's Auto Feed, updated to work with Valheim 1.0.20. All credit for the original mod goes to aedenthorn.

What's fixed in this version

  • Fixed the error spam (MissingMethodException) caused by Valheim 1.0 changes
  • Fixed animals failing to eat from containers
  • Fixed the toggle key message
  • Fixed comma-separated config settings not working when they contain spaces (e.g. piece_chest, Container)

Configuration

A config file is created at BepInEx/config/vanbushi.AutoFeed.cfg the first time you run the game with this mod. Edit it with a text editor (with the game closed), in your mod manager's config editor, or in-game with a Configuration Manager mod.

Settings include:

  • Container range
  • Item types animals are not allowed to eat
  • Animal types that are not allowed to auto-feed
  • Whether animals must walk to the container to eat
  • Whether containers must hold only animal food
  • How close animals must get to the container
  • Optional toggle key
  • Debug logging

To reload the config while in-game, open the console (F5) and type autofeed reset.

Upgrading from the original mod

This version uses a new plugin ID, so your old aedenthorn.AutoFeed.cfg will no longer be used. Delete it and set up the new vanbushi.AutoFeed.cfg. If animals still don't eat, try rebuilding the containers near your pens.

Installation

Install with a mod manager (r2modman, Thunderstore Mod Manager or Gale), or manually:

  1. Install BepInExPack Valheim.
  2. Put AutoFeed.dll in your BepInEx/plugins folder.

Multiplayer: install it on the server and every player. Animals are simulated by the nearest player, so everyone should use the same version and config.

Notes

Tested and working on a dedicated server with Valheim 1.0.20. This is a community fix, not an official update.

Also on Nexus Mods. Original source code: aedenthorn/ValheimMods

CHANGELOG

Changelog

0.9.4

  • Hens, lox, asksvin and other restless or large animals now eat from containers, not just boars.
    • The animal's wandering or following no longer overrides the walk to the chest in the same frame.
    • How close an animal must get now includes its own size, so big animals like lox can reach the chest.
    • Animals no longer have their pathfinding type forced to "humanoid size", which could get lox and others stuck.
  • If an animal can't reach a chest within 20 seconds, it tries other chests for a while instead of standing still.
  • Containers are found from any of their colliders, so more chest types are picked up.
  • Ignores chests on another floor (more than 3 m higher or lower) and chests someone has open.
  • Only takes food from chests this game owns, so the removed item is saved properly in multiplayer.
  • Animals made tameable by other mods no longer cause errors if they aren't the usual creature type.
  • Config file and settings are unchanged; existing vanbushi.AutoFeed.cfg files keep working.

0.9.3

  • Updated for Valheim 1.0.20 (GUID vanbushi.AutoFeed).
  • ContainerNameFilter default fixed to "piece_chest,Container".
  • Spaces around commas in the comma-separated settings are ignored.