DevFz-EasyRepairArea icon

EasyRepairArea

Repara todas as construções e barcos num raio configurável com uma tecla. Sem custo, sem stamina.

By DevFz
Last updated a week ago
Total downloads 354
Total rating 3 
Categories Mods Tweaks Misc Client-side Utility AI Generated Deep North Update
Dependency string DevFz-EasyRepairArea-0.1.1
Dependants 3 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
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.2333

README

Easy Repair Area

Press a single hotkey and every damaged build piece inside a configurable sphere around you is repaired — walls, floors, beams, doors, furniture and even boats. No need to hit a piece with the hammer first.

Repaired pieces cost no materials and do not check for a crafting station. The default radius is 100 meters.

Usage

In-game, press the configured hotkey (default: + on the numpad). A message shows how many pieces were repaired and within which radius.

The hotkey only works inside a loaded world and while the game is not paused.

Config

BepInEx/config/fernasz.easyrepairarea.cfg

Setting Default What it does
Enabled true Turns the mod on or off.
Radius 100 Sphere radius in meters around the player.
Hotkey KeypadPlus Any Unity KeyCode (e.g. F8, BackQuote, KeypadEnter, KeypadPlus).

The file is created the first time the mod loads. Reload the config from the console with easyrepairarea resetconfig is not needed — just edit the file and restart the game.

How it works

The plugin scans loaded build pieces (WearNTear components — the same component used by the hammer's repair action, which also covers boats) and calls the game's own repair method on each piece in range.

It does not use Harmony and does not patch any game code or other mods, so it is safe to run alongside other building mods, including RunicCrafting.

Multiplayer

Repairs are performed by the client and sync through the game's own network code. Install the mod on every client that should use the hotkey. Installing it on the dedicated server is optional — the mod is client-side and registers no RPCs.

Install

Install with r2modman or the Thunderstore Mod Manager.

To install by hand, copy EasyRepairArea.dll into BepInEx/plugins.

Requirements

  • Valheim (tested on 1.0.16)
  • BepInExPack for Valheim (5.4.23.5)

License

MIT. You can use, copy, change, and share this mod. Keep the copyright notice with any copy.