Taum
Farm animals follow: Alt+E on a tamed boar or hen and it walks with you; Alt+E again and it stays.
About this mod Author’s original text
Taum
Alt+E on a tamed boar or hen and it follows you. Alt+E again and it stays. It is the same
follow/stay command wolves and lox already have, opened up for the animals that never got it.
Features
- Alt+E toggles follow/stay on any tamed creature Valheim does not let you command. In vanilla
that is boars and hens.
- The animal's hover text gains a [Alt + E] Follow / stay line, using whichever key you have
bound to Use and whichever modifier is set in the config.
- E still pets and Shift+E still renames. All three gestures keep their own key.
- Follow state is stored by the game on the animal, so it survives a relog and other players
see it.
- No new items, recipes or prefabs. One DLL, no assets, no asset bundle.
How it works
Valheim's follow/stay command already exists for every tamed creature. It is gated behind a
flag (m_commandable) that boars and hens do not have set, so there has simply never been a
way to ask them. Taum calls the game's own Tameable.Command on those animals when you press
Use with the modifier held. The follow AI, the "follows you" and "stays" messages and the
ownership handling on a server are all vanilla's.
It does not flip m_commandable itself. That flag also makes petting command the animal, the
way it does on a wolf, and petting your way down a row of boars would then march the whole pen
after you.
A modded tamed creature that is not commandable gets the gesture for free, with no patch or
config entry needed.
The first version of this mod was a crafted halter item with a lead. That design was cut before
release and lives on the halter branch.
Installation
Requires BepInEx 5.4.2350.
BepInEx 5 only; this is not compatible with BepInEx 6.
Through a mod manager, install Taum and you
are done. By hand, put Taum.dll in BepInEx/plugins/Taum.
Start the game once and quit after installing. That first run writes the config file, which
does not exist before the mod has loaded.
Longhouse Core is an optional
soft dependency. With it installed, Taum joins the version check and the host's config values
apply to clients. Without it, Taum runs on its own and only the version check is lost.
Configuration
The file is BepInEx/config/ezomic.valheim.taum.cfg, section [Taum].
| Setting | Default | Effect |
| --- | --- | --- |
| Enabled | true | false leaves the plugin loaded and changing nothing: no Alt+E, no hover line. |
| Verbose | false | Extra logging to BepInEx/LogOutput.log. In 1.0.0 that is one line confirming the patches are live when you spawn. Its comment in the cfg still describes the cut halter item; ignore it. |
| FollowKey | LeftAlt | The modifier held with Use to toggle follow/stay. |
FollowKey takes one Unity KeyCode name and matches it exactly, so LeftAlt is the left key
only. Set RightAlt if that is the one you use. Keys are read through the legacy input path,
so use a keyboard key; mouse and gamepad buttons are not reliable here.
BepInEx writes every setting to disk on first run and the saved value beats a new default in a
later version. If a setting looks like it is being ignored, read the cfg before anything else,
and make sure you are editing the profile you actually launch.
Multiplayer
The command itself is vanilla's, including the ownership handling, so following works on a
dedicated server. Each player who wants the gesture installs Taum; an animal set to follow by
one player behaves the same for everyone.
Taum registers with Longhouse Core as required on both ends. If a server runs Core and Taum,
clients without Taum, or on a different version or build, are rejected when they connect. On a
server without Core, mixed installs are fine: players without Taum just cannot issue the
command.
With Core present, the host's Enabled and Verbose values are applied on connected clients in
memory, without touching their config files. FollowKey is a key and is never taken over by the
host.
Compatibility
Taum patches Tameable.Interact (prefix) and Tameable.GetHoverText (postfix), and not
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- 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.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- 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.
Install these first, or the mod will not work: