Taum

版本 v1.1.0·更新於 2026-10-07

Farm animals follow: Alt+E on a tamed boar or hen and it walks with you; Alt+E again and it stays.

模組介紹 作者原文

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

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
Taum-1.1.0.zip
檔案大小
83.4 KiB