AutoRefillFires
Automatically refills nearby fires from player or container fuel, with optional automatic repair for supported refillable objects.
模組介紹 作者原文
Auto Refill Fires
A BepInEx mod for Valheim that automatically refills nearby fireplaces and torches.
What's New in 1.2.3
Full CHANGELOG
- Added Shield Generator and Resin Candle refilling (both disabled by default).
- Builded against Valheim 1.0.16 & BepInEx 5.4.2351
Features
- Automatically refills campfires, hearths, torches, braziers, bonfires, hot tubs and other compatible fireplaces
- Can use fuel from the player inventory and nearby containers
- Configurable refill radius and threshold
- Refill to maximum or by a fixed amount
- Individual enable/disable options for fireplace types
- Optional automatic repair for supported refillable objects; repair follows the existing Fill* type toggles
Configuration
The configuration file is generated after launching the game once with the mod installed.
BepInEx/config/simplifydave.autorefillfires.cfg
Hotkey
Default:
F7
Pressing the hotkey toggles Auto Refill Fires on or off.
When disabled, the configuration file is automatically reloaded, allowing most settings to be changed without restarting Valheim.
Auto Repair Fires
Automatic repair is disabled by default. Enable it with:
AutoRepair = true in the config file.
By default supported objects are repaired when their health falls below 75%:
RepairBelowPercent = 0.75
Repair follows the existing Fill* type toggles. For example, if FillHearths = true, Hearths can also be repaired; if FillHearths = false, they are ignored by both refill and repair. The same rule applies to campfires, standing/wall torches, braziers, bonfires, Hot Tubs and compatible OtherFireplaces.
Set OnlyRepairOwnPieces = true to restrict automatic repair to pieces built by the local player.
The repair logic reuses the existing fireplace and Hot Tub scans, so enabling repair does not add another scene-wide search. Resin candles and Shield Generators are refill-only additions and are not included in automatic repair.
Fuel Reserve
Example:
KeepFuelReserve = 10
The mod will leave the last 10 matching fuel items untouched in each fuel source.
Fuel Source Priority
Available values:
PlayerFirst
ContainersFirst
If the preferred source does not contain enough usable fuel, the other source is used automatically.
Logging
Available levels:
None, Error, Warning, Info, Debug
Use Debug to see fireplace detection, fuel levels, refill decisions and fuel source selection.
Requirements
- Valheim
- BepInExPack Valheim
Installation
Install this client-side mod on each player's client that wants automatic refilling. Dedicated servers do not need it; refilling requires a local player. Server installation does not install the mod on connecting clients.
Install using r2modman Mod Manager, or manually place AutoRefillFires.dll inside:
BepInEx/plugins/AutoRefillFires/
License
MIT
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: