ServerTaming
Server-side only: tame and breed Deer and Necks. Players need no mod, so it works with vanilla and crossplay (console) clients.
模組介紹 作者原文
ServerTaming
A BepInEx plugin for Valheim that makes Deer and Necks tameable and breedable.
Server-side only. Install it on the dedicated server only. Players don't install anything, so it works with vanilla clients and with crossplay players on console or Game Pass.
How it works
- Taming: pen the animal and drop its food on the ground inside the pen, within FeedRadius (8 m). The animals don't walk to the food. A hungry animal eats one item, which keeps it fed for FedMinutes (5). While it's fed and not alerted, its taming time counts down. After TamingMinutes (25) it becomes tamed, using the vanilla "tamed" flag. Tamed deer stop running from players, and tamed necks stop attacking them.
- Breeding: a tamed animal that's fed and has a tamed partner of the same kind within PartnerRange (5 m) gains love points. After enough points it becomes pregnant, and after PregnancyMinutes (10) a tamed adult with the parent's stars appears between the mother and her nearest tamed partner, so it stays inside the pen (the server can't see fences, but both parents are inside them). There are no fawns or custom creatures. Breeding stops once MaxCreatures (8) animals of that kind are within PopulationRange (15 m).
- Feeding from chests: animals can also eat from nearby chests, using the same rules as ServersideQoL TameAssist's FeedFromContainers (see below).
- Messages: players within MessageRange (30 m) see taming progress at 25/50/75%, plus messages when an animal is tamed or born.
- Stars: MaxTameStars sets the highest star count that can be tamed. The default, -1, means any, including the 3+ star creatures from level mods.
ServersideQoL TameAssist compatibility
When ServersideQoL TameAssist is installed (and UseTameAssistSettings is on, which is the default), deer and necks follow TameAssist's settings instead of ServerTaming's own:
- FeedFromContainers, FeedFromContainersRange and FeedFromContainersLeaveAtLeast decide which chests the animals eat from, and how much food is always left in them.
- Per-chest range from a sign: a chest whose text (set through its ContainerSigns sign) contains the FeedFromContainersRangeSignPrefix (🐗 by default) followed by a number, for example 🐗10, sets that chest's range. It's capped at FeedFromContainersMaxRange. These are the chest signs that ServersideQoL ContainerSigns adds.
- TamingTimeMultiplier and FedDurationMultiplier are applied to TamingMinutes and FedMinutes.
- TamingProgressMessageType, for example InWorld, is used for taming progress, with the same "tameness" text as TameAssist.
Unlike TameAssist, which only feeds tamed animals from chests, ServerTaming also feeds wild deer and necks that are being tamed, because they can't walk to food. Set FeedWildFromContainers = false to turn that off.
Without TameAssist, set [Containers] FeedFromContainersRange (0 means off) and LeaveAtLeast in ServerTaming's own config.
Chests that are open are skipped. When food is taken from a chest, only that one item's bytes in the saved inventory are changed, so all the other items stay exactly as they were.
Default foods:
| Animal | Foods |
| --- | --- |
| Deer | Raspberry, Blueberries, Cloudberry, Carrot, Turnip, Onion, Mushroom, MushroomYellow |
| Neck | FishRaw |
All of these can be changed in BepInEx/config/Tie.ServerTaming.cfg. Each animal has its own section: Enabled, Foods, TamingMinutes, FedMinutes, Breeding and PregnancyMinutes.
Limitations
Without a client mod there's nothing to add the vanilla taming component to each player's game, so:
- there's no petting, Follow/Stay or naming, and tamed animals simply wander (keep them fenced)
- animals don't walk to food, so put the food close to them
- taming and breeding only progress in areas loaded around connected players, the same as vanilla
Admin command
With ServerDevcommands installed, admins can type server tamestatus [radius] in the F5 console. It lists nearby deer and necks with their stars, taming %, fed time, love points and pregnancy.
Instal
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: