RainproofBuildings

v1.0.0·Updated 2026-10-01

Protect your buildings from rain and water wear.

About this mod Author’s original text

Rainproof Buildings

Protect your buildings from rain and water wear.

Keep your Valheim builds protected from rain and water wear, with configurable filters, wear limits and damage rates. The default settings fully protect every piece that would normally take this type of wear, while preserving wet visuals.

Rainproof Buildings does not repair existing damage or prevent attacks, loss of structural support, snow, ash, lava or other damage sources. Roof and shield checks remain part of the game's normal behavior.

Features

  • Full protection by default, or a configurable health floor and wear rate.
  • Protect all eligible pieces, include selected name patterns, or exclude selected patterns.
  • Coverage for both exposed rain wear and submersion wear.
  • Nonnegative wear damage: already damaged pieces are never healed, and rain protection never subtracts from another damage source.
  • A focused Harmony transpiler changes only the rain/water condition and contribution inside the original wear method.
  • No per-frame plugin update, world scans, per-piece health cache or wet-piece log messages. Filter text is parsed when settings change.

Requirements and installation

Tested on Valheim 1.0.16, Windows, with BepInExPack_Valheim 5.4.2350 (BepInEx 5.4.23.5). The package declares denikson-BepInExPack_Valheim-5.4.2350 as its dependency. Harmony is supplied by that pack; no separate Harmony installation is needed.

Mod manager

  • Close Valheim normally.
  • Install RainproofBuildings by NegroniForge in your Valheim profile using r2modman or Mod Manager. Allow the manager to install the declared dependency.
  • Start the game through that profile. After the first launch, the configuration file is available in the profile's config editor.

Manual installation

  • Close Valheim and install BepInExPack_Valheim according to its instructions.
  • Copy this package's BepInEx folder into your Valheim installation folder. The plugin should be at BepInEx/plugins/NegroniForge-RainproofBuildings/RainWearProtection.dll. The DLL and configuration keep their original technical names; the plugin appears as Rainproof Buildings.
  • Start the game once to generate the configuration. Keep only one copy of this plugin installed. If upgrading an earlier local RainWearProtection installation, back it up and remove its old DLL before installing this package; retain the existing configuration.

Configuration

File: BepInEx/config/negroniforge.valheim.rainwearprotection.cfg

| Section | Setting | Default | Meaning |

|---|---|---|---|

| General | Enabled | true | Enable the configured protection. False uses normal game wear. |

| Damage Filter | Filter Type | ALL | ALL selects every eligible piece. INCLUSIVE selects matching names. EXCLUSIVE selects names that do not match. |

| Damage Filter | Filter List | empty | Comma-separated, case-sensitive substrings of internal GameObject names, not translated display names. Spaces around entries and empty entries are ignored. |

| Rain Damage | Max Damage | 0 | Fraction of maximum HP that rain/water may remove, from 0 to 1. Zero fully protects; 0.25 sets a 75% health floor; 1 permits wear down to zero where game rules allow it. |

| Rain Damage | Damage Per Minute | 5 | Percentage points of maximum HP per normal rain step. Five means 5 HP on a 100-HP piece or 20 HP on a 400-HP piece, limited by the health floor. |

The game schedules rain steps after more than 60 seconds of eligible wet time. This is not continuous damage or a catch-up rate. Normal timer behavior is retained when conditions or settings change.

Finite Max Damage values are clamped to 0..1; non-finite values become 0. Negative or non-finite Damage Per Minute values become 0. A zero rate prevents rain/water wear on selected pieces. Pieces below the configured health floor keep their existing HP; they are not repaired. Other damage can still take them below that floor.

Unselected pieces use normal game wear. An empty INCLUSIVE list selects nothing; an empty E

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
RainproofBuildings-1.0.0.zip
File size
37.4 KiB