Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
LinkedLightsCraft
Links crafting stations, light sources, wards, and chests into a unified build perimeter for building, crafting, station refueling, item despawn protection, and ward coverage.
| Date uploaded | a day ago |
| Version | 1.2.0 |
| Download link | IG5ks-LinkedLightsCraft-1.2.0.zip |
| Downloads | 14 |
| Dependency string | IG5ks-LinkedLightsCraft-1.2.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2360README
LinkedLightsCraft
Links crafting stations, torches, sconces, braziers, wards, and chests into a connected base perimeter.
Features
- Linked Station & Light Perimeters: Crafting stations and light sources (wall sconces, standing torches, braziers, campfires, hearths, jack-o'-turnips) link whenever their perimeter circles overlap, sharing build access across the entire connected network—even when lights are unlit or uncovered.
- Color-Coded Hammer Rings: Holding the Hammer renders subtle perimeter rings around nearby light sources (green-gold when linked to a station, dim red-gray when unlinked).
- Perimeter-Linked Chests (Craft, Build & Refuel): Automatically pull materials from chests anywhere inside your connected build perimeter when crafting, upgrading, building, smelting, cooking, refueling torches/fires, or reloading ballista turrets.
- Hold Left Shift while interacting with a smelter, kiln, fire, or turret to fill until full.
- Hold Left Alt to temporarily suppress pulling from chests.
- Per-Chest Include/Exclude Toggle: Every player-built chest includes a Perimeter: ON / OFF button in the top-right corner of the chest UI (enabled by default) saved directly to the chest's world data.
- Perimeter-Wide Ward Coverage: Any active Ward placed inside a connected build perimeter automatically protects the entire linked perimeter.
- Workbench-Linked Item Despawn Protection: Dropped items inside a light source's perimeter will not despawn if that light source is connected to a Workbench.
- Dedicated Server Config Sync: Server hosts automatically enforce perimeter rules, allowed light/container/item lists, and Ward/storage toggles on connected clients.
Installation
Install with r2modman / Thunderstore Mod Manager, or extract LinkedLightsCraft.dll into BepInEx/plugins/.
CHANGELOG
1.2.6
Changed
- Changed the minimap and full-map buildable zone overlay so it only displays when the Hammer (build mode) is equipped, hiding cleanly during normal exploration and combat.
- Color-coded map zones by player presence: only the connected craftable zone you are currently standing inside renders light green, while other craftable zones render light grey (flipping immediately as you step in or out of a zone).
1.2.5
Added
- Minimap & Full Map Buildable Zone Overlay: Added a soft light-green overlay (with a crisp outer edge) on both the corner minimap and the full map showing your connected buildable zone, scaling smoothly with map zoom and pan so you can immediately tell whether you are inside the buildable perimeter even in large bases. Added
ShowMinimapZoneOverlay(defaulttrue) under4 - Visuals. - Live Config Hot-Reload (No Restart Required): Added a debounced, main-thread
FileSystemWatcheronBepInEx/config/com.tingits.linkedlightscraft.cfg. Saving edits to the config file on disk now automatically reloads settings, refreshes perimeter/storage caches, and immediately broadcasts updated server config values to all connected clients without needing a server or game restart. - Linked Ward State & Permission Sync (when
ExtendWardsToPerimeter = true):- Newly placed Wards inside a linked craft/light zone now automatically inherit the existing accessible Ward's enabled/disabled state and permitted players list (preserving the reference Ward creator's access as well).
- Enabling or disabling a Ward now toggles all other accessible Wards in the same linked craft/light zone together (works across both singleplayer and multiplayer).
- When
ExtendWardsToPerimeter = false(default), Wards remain strictly within their original vanilla zone with no linked-zone syncing.
- Updated Thunderstore description and
README.mdfor clarity and full feature documentation.
1.2.3
Fixed
- Fixed
MissingMethodException: Character.Message(MessageHud/MessageType,string,int,UnityEngine.Sprite)insidePrivateArea.CheckAccesson newer Valheim builds (whereCharacter.Messagegained an additional optionalboolparameter), which broke opening doors, opening the Hammer build menu, and interacting with chests/stations even when Wards were disabled or absent. - Replaced the direct
Character.Messagecall with a version-safe cached reflection helper (ValheimAccess.ShowCharacterMessage) that dynamically supplies optional parameter defaults across Valheim versions.
1.2.2
Upgrade Note: Delete your existing
BepInEx/config/com.tingits.linkedlightscraft.cfg(on both client and dedicated server) so the new default config regenerates cleanly, or manually setExtendWardsToPerimeter = false.
Fixed
- Fixed existing personal Wards locking players out of their own chests and crafting tables across light-linked bases: changed
ExtendWardsToPerimeterto defaultfalse(opt-in) and ensured a player's own active local Ward is never overridden by a distant unpermitted Ward in the same light network. - Fixed entity tracking in
Awake()(!ZNetView.m_forceDisableInitwith lazynview.IsValid()checks) so chests, lights, and wards are reliably tracked regardless of UnityAwake()order. - Fixed the chest perimeter toggle button and Venn diagram icon not appearing by anchoring it directly beside Valheim's built-in chest buttons and resolving
UnityEngine.UI.Imageacross the cloned hierarchy.
Changed
- Replaced overlapping per-torch Hammer circles with an outer-perimeter-only animated dotted line (matching vanilla Workbench style) around the total connected zone.
1.2.1
Fixed
- Fixed runtime
MethodAccessException/FieldAccessExceptionon dedicated server login and world load caused by compiling against publicizedValheimGameLibswhile liveassembly_valheim.dll/assembly_guiutils.dllkeep 15 accessed members (ZNet.GetPeer,CraftingStation.m_allStations,PrivateArea.*,Smelter.*,InventoryGui.*,DLCMan.IsDLCInstalled,UITooltip.UpdateTextElements) private; replaced all 15 with cachedAccessToolsreflection helpers and addedIgnoresAccessChecksTo/SkipVerification. - Fixed Harmony patch signature mismatches for
CraftingStation.HaveBuildStationInRange,Player.HaveRequirementItems, andPlayer.ConsumeResourcesthat caused runtime failures and connection stalls. - Fixed Ward owners being locked out of their own perimeter by using
PrivateArea.HaveLocalAccess(). - Fixed building pieces bypassing required crafting stations or DLC checks when materials were available in chests.
- Fixed multiplayer Shift-fill loops over-consuming fuel/ore/ammo on peer-owned smelters, fires, and ballistas by capping fills to exact remaining capacity.
- Fixed station refueling mutating chests or dropping items on the floor when a station was full; items are now deducted only if actually consumed.
- Fixed ballista (
Turret) reloading to match currently loaded ammo type and avoid mixing bolt types during Shift-fill. - Fixed
Smelter.OnAddOrenull-reference risk when container items lackm_dropPrefab, excluded auto-destroying containers (m_autoDestroyEmpty), and respectedNoCostCheat/ free-build mode. - Fixed placement ghosts being tracked as real lights/chests/wards, removed redundant hammer HUD requirement patch, and cleared tracked state cleanly on disconnect.
Changed & Added
- Redesigned the per-chest perimeter toggle as a compact hovering square with a procedural Venn diagram icon outside the right edge of the chest window, complete with a native hover tooltip ("Include/exclude from perimeter pull").
- Added support for "any one ingredient" (
m_requireOnlyOneIngredient) crafting recipes from perimeter chests. - Added owner-routed
ZRoutedRpcchest deduction (LinkedLights_RemoveFromChest) for safer multiplayer chest pulls and avoided redundant ZDO saves on owned chests. - Decoupled
ServerConfigSyncfromZNet.RPC_PeerInfowith a 2-second post-login delay and added anEnableServerConfigSyncconfig toggle. - Added short-TTL caching and event invalidation for chest item counts and the perimeter graph, and cached reflection lookups to eliminate per-frame stutter and GC overhead.
1.2.0
- Added perimeter-wide Ward coverage when an active Ward is inside a connected station/light network.
- Added a Perimeter: ON / OFF toggle button inside the chest UI (default ON, persisted per chest via ZDO).
1.1.0
- Added perimeter-linked container pulling for crafting, upgrading, building, and refueling smelters, kilns, cooking stations, fires, and ballistas.
- Added color-coded Hammer perimeter rings (green-gold for connected lights, dim red-gray for unlinked lights).
1.0.0
- Initial release with linked station & light source build perimeters, Workbench-linked item despawn protection, and server config sync.