StructureProtection patched
Prevents creatures from deliberately targeting structures whose creator is offline and blocks player damage to structures inside active wards.Structure Protection (patched recompilation)
This is not the original mod. Structure Protection was created by Landoria Gaming. This repository is an unofficial recompiled build of their release containing fixes for problems in the original build. It is maintained by srnoob2570, with AI assistance, and is not affiliated with or endorsed by Landoria Gaming. Report problems with the patch here; report problems with the mod itself to the original project.
Prevents creatures from deliberately targeting structures whose creator is offline and blocks player damage to structures inside active wards.
About this build
This is a recompilation of the original 1.0.6 release plus targeted fixes.
- Fixed the leaked
Landoria_CharacterActivityZDO retries that filled the server log withZDO ... not used when creating objectwarnings and grew memory over time. Root cause and verification: FIX_PERFORMANCE.md. - The full list of changes is in CHANGELOG.md.
The patch keeps the original assembly name and version, so it drops in as a replacement for the upstream DLL. Install it on the server and on every client, as described below.
Valheim compatibility
Original mod release: 1.0.x (this patch targets 1.0.6).
Features
- Creatures cannot deliberately target player-built structures while their creator is offline.
- An active ward blocks damage to structures from players who are neither the ward creator nor on its permitted-player list.
- The ward creator and players on its permitted-player list can still damage protected structures.
- Protection against damage from unauthorized players remains active while the ward creator or a permitted player is online.
- Each character can have up to five wards in the world by default.
- Active wards are disabled after 30 real calendar days since their creator was last seen online.
Dedicated-server administrators can configure the protections with these command-line switches:
--structure-protection-offline-creature-targeting true|false--structure-protection-ward-player-damage true|false--structure-protection-max-wards-per-character <number>: defaults to5; use-1to disable the ward limit.--structure-protection-ward-inactivity-days <number>: defaults to30; use-1to disable inactivity checks.--structure-protection-ward-inactivity-check-hours <number>: defaults to6and must be at least1.
Installation
Most of Landoria mods need to be installed also on the dedicated server, we show you in this video how to do it on windows:
Setup a Valheim Modded dedicated server on Windows
| Crossplay support | Steam network support |
|---|---|
| Yes | No |
| Client required | Server required (dedicated) | Player-hosted server |
|---|---|---|
| Yes | Yes | Not Supported |
Install matching versions of Structure Protection on the server and every participating client.
Contact
- Patch issues and questions: this repository's issues.
- Original mod bugs and discussions: LandoriaMods issues and discussions.
All Landoria mods are used on the Landoria Valheim public servers.
