HostOwner
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.Changelog
English · Русский
The version is set in one place — HostOwnerPlugin.Version in src/HostOwnerPlugin.cs.
0.1.0
- First release. Every
Intervalseconds (2) the hosting player walks its near simulation area the way the game does inReleaseNearbyZDOSand takes ownership (ZDO.SetOwner) of persistent objects of the chosen kinds that belong to someone else. - Kinds: the
Stationsgroup (componentsSmelter,CookingStation,Beehive,SapCollector,Fermenter),Bosses(Character.m_boss), and theComponentsandPrefabslists.Playeris never taken. HostOwnerApifor other mods via reflection:AddPrefab,AddComponent,IsOwnedKind.- Yields to explicit claims: when a player's client takes an object back right after the
host took it (
ClaimOwnershipfrom a mod or the game — a taunt, a cart), the object is left alone forYieldSeconds(30 s). - Console:
hostowner status | list | now. - Inert on clients and on a dedicated server. No Harmony patches.


