HostOwner

版本 v0.2.0·更新於 2026-10-03

The hosting player takes ownership of chosen objects in its active area - stations, bosses, any prefab or component - so their logic and the host's mods run on the host. Not for dedicated servers.

截圖 共 6 張

模組介紹 作者原文

HostOwner

The hosting player takes ownership of chosen objects that lie in its active

area: stations, bosses, or any list of prefabs and components. Their logic then

runs on the host, and so do the host's mods for them.

hostowner status: how many objects the host owns and took over

Why: every networked object is simulated by one client, its owner. Since

Valheim 1.0 the server hands ownership out, and whoever reached an object first

keeps it while they stay near. A smelter that a player without a speed mod got

to first runs at vanilla speed; a boss that one player fights alone is invisible

to a damage meter on another. With this mod the host takes such objects over

within two seconds while it is in range, and vanilla gives them back the usual

way when the host walks off.

  • Stations (on): everything with a Smelter, CookingStation, Beehive,

SapCollector or Fermenter component, mods included.

  • Bosses (off): every creature flagged as a boss.
  • Chests (off): every placed chest, for mods that take items from chests

through their owner (e.g. Runic Crafting 1.x with a player without the mod).

  • Components, Prefabs: your own lists.
  • An object a player's client claims back right after the host took it (a

taunt mod, a cart) is left alone for YieldSeconds, so mods that claim

monsters on purpose keep working.

  • An object someone has open (a chest being looked into) is never taken.

Console: hostowner status | list | now. Config in

BepInEx/config/j1ga.hostowner.cfg; changes apply without a restart.

Host only: inert on clients and on a dedicated server (no player, no active

area). No Harmony patches. A small reflection API (HostOwner.HostOwnerApi)

lets other mods add kinds without referencing this assembly.

Compatibility

Tested with Valheim 1.0.16 (network version 40), BepInEx 5.4.23.5 (BepInExPack_Valheim 5.4.2351).

Who needs it

| Who | What |

|---|---|

| Hosting player (game started with "Start server") | installs the mod — objects of the chosen kinds in its area move to it |

| Dedicated server | does not work: a server has no player and no active area, the mod stays inert |

| Other players | not needed; with the mod or without, everything works as usual |

Known conflicts

  • Mods that manage object ownership themselves will argue with the host. Mods that claim an

object once (a taunt, a cart) get along: the host yields for YieldSeconds.

Bugs and feedback

GitHub Issues: — please attach BepInEx/LogOutput.log.

More mods by j1gA

| | Mod |

|---|---|

| | LivingMap — Your buildings, roads and cleared forest on the map and the minimap — and a detailed map when you zoom in. |

| | StationSpeed — Faster smelters, kilns, fermenters and crops — consistent even for players without the mod. |

| | WeaponArts — One key, one active ability per weapon: stagger, taunt, heals, berserk, crits. |

| | ExtendedBosses — Raid-style boss fights: phases, adds, nests, shields, marks — built from vanilla parts. |

| | HudLayout — Move, resize and restyle your HUD with the mouse: bars, food, hotbar, minimap, even other mods' HUD. |

Source, documentation and the changelog:

*Developed with the help of an AI assistant (Claude by Anthropic); the design

decisions, verification against the game code and in-game testing are the

author's.*

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
HostOwner-0.2.0.zip
檔案大小
135.7 KiB