AreaRepair
Repair nearby building pieces with one hammer action, synchronized for multiplayer servers.
模組介紹 作者原文
AreaRepair
Repair damaged building pieces in a configurable area with one hammer action.
AreaRepair follows Valheim's normal repair rules, costs, permissions, effects,
and multiplayer synchronization.
Features
- Configurable repair radius, with a default of 7.5 metres.
- Repairs the nearest damaged pieces first.
- Configurable safety limit for large bases.
- Ignores generated ruins and other non-player pieces by default.
- Hold Left Alt to temporarily use normal single-piece repair.
- Server-controlled gameplay settings.
- Required version validation for servers and clients.
- Standard ConfigurationManager interface on F1.
- Repair-count notifications in all officially supported Valheim languages.
Requirements
- Valheim 1.0.
- BepInExPack Valheim 5.4.2350.
- ConditionalConfigSync 1.0.9.
- ConfigurationManager 1.1.21.
-compatible mod managers install these dependencies automatically.
Installation
Mod manager
Install AreaRepair using a compatible mod manager and launch
the selected profile.
Manual installation
Install all requirements, then place AreaRepair.dll in:
BepInEx/plugins/AreaRepair/AreaRepair.dll
Remove or disable other area-repair mods before starting the game.
Multiplayer
AreaRepair and ConditionalConfigSync must be installed on the server and every
client. Connecting clients must use a compatible AreaRepair version.
The server controls gameplay settings. Client-local settings, such as the
single-repair key and repair-count notification, remain individual for each
player.
Configuration
Open ConfigurationManager with F1 and select AreaRepair.
Server-controlled settings
| Setting | Default | Description |
|---|---:|---|
| LockConfiguration | true | Restricts synchronized settings to server administrators. |
| Enabled | true | Enables or disables area repair. |
| Radius | 7.5 | Repair radius in metres, from 1 to 100. |
| MaximumPieces | 250 | Maximum pieces checked per repair action, from 1 to 2000. |
| OnlyPlayerBuilt | false | When enabled, ignores pieces without a player creator. |
Client-local settings
| Setting | Default | Description |
|---|---:|---|
| SingleRepairKey | LeftAlt | Hold to use normal single-piece repair. |
| ShowRepairCount | true | Shows the number of successfully repaired pieces. |
The generated configuration file is:
BepInEx/config/Wabbaka.AreaRepair.cfg
Troubleshooting
If the mod does not load or repair pieces, check BepInEx/LogOutput.log and
verify that AreaRepair and its dependencies use the same versions on the
server and clients.
When reporting an issue, include:
- AreaRepair version;
- Valheim version;
- host, dedicated-server, or remote-client status;
- relevant lines from BepInEx/LogOutput.log.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: