SimplifyDave-AutoRefillFires icon

AutoRefillFires

Automatically refills nearby fires from player or container fuel, with optional automatic repair for supported refillable objects.

CHANGELOG

Changelog

All notable changes to Auto Refill Fires will be documented in this file.

[1.2.3] - 2026-09-26

Added

  • Optional FillShieldGenerators for buildable Ashlands generators, using their accepted fuel list. (Disabled by default)
  • Optional FillResinCandles, including toggle-only resin candles and preserving the light's on/off state. (Disabled by default)
  • These new types are refill-only; existing automatic repair behavior is unchanged.

Fixed

  • Allow opted-in resin candle refilling even when the normal interaction is toggle-only; log candle checks and refill decisions.

  • New refill paths only consume fuel when a complete unit fits, avoiding fractional-slot waste.

  • Create ZIP entries with forward slashes in both local and central headers for Linux installers.

  • Resolve package paths from the project directory for project and solution builds.

Documentation

  • Clarify client-only installation and put developer build instructions in BUILDING.md.

[1.2.2] - 2026-09-13

Added

  • Added optional automatic repair for all supported refillable object types.
  • Added AutoRepair master configuration option.
  • Repair follows the existing FillCampfires, FillHearths, FillStandingTorches, FillWallTorches, FillBraziers, FillBonfires, FillHotTubs and FillOtherFireplaces toggles.
  • Added RepairBelowPercent configuration option to control the health threshold that triggers repair.
  • Added OnlyRepairOwnPieces configuration option.
  • Repair reuses the existing fireplace and Hot Tub scans and does not add another scene-wide object search.

Fixed

  • Fixed Resin candles being able to fall through to FillOtherFireplaces despite the candle ignore rule.

[1.2.1] - 2026-09-09

Added

  • Support for Valheim 1.0 Deep North update

[1.2.0] - 2026-09-06

Added

  • Added automatic Hot Tub refilling support.
  • Added a separate FillHotTubs configuration option.
  • Hot Tubs use the same fuel source, reserve, priority and refill settings as other supported objects.
  • Prioritizing fire with the lowest fuel to refill

Changed

  • Refactored the plugin into separate components for configuration, fuel handling, fireplace refilling, hot tub refilling, logging and scan coordination.
  • Simplified Plugin.cs so it mainly handles plugin startup, toggle state and scan timing.
  • Added shared logging through ModLogger.
  • Cleaned up unused code and imports.
  • Standardized and simplified code formatting across the project.
  • Improved internal code organization and maintainability.

Fixed

  • Fixed Resin candles being incorrectly detected as refillable fireplaces.
  • Removed leftover dead code from the previous fuel refill implementation.

[1.1.0] - 2026-08-29

Added

  • Added a configurable toggle hotkey.

    • Default: F7
    • Allows automatic refilling to be enabled or disabled while in-game.
    • The configuration file is automatically reloaded when Auto Refill Fires is disabled, allowing settings to be changed without restarting the game.
  • Added configurable logging levels:

    • None
    • Error
    • Warning
    • Info
    • Debug
  • Added KeepFuelReserve.

    • Prevents Auto Refill Fires from consuming the last configured amount of fuel from player inventories and containers.
    • Example: a reserve of 10 means the last 10 Wood, Resin, or other fuel items will be kept.
  • Added configurable fuel source priority:

    • PlayerFirst
    • ContainersFirst
  • Added support for using multiple nearby containers during a single refill.

    • Fuel is taken from the nearest usable containers first.
    • If the selected source cannot provide enough fuel, the plugin automatically falls back to the other configured source.
  • Added OnlyRefillOwnPieces.

    • Optionally restricts automatic refilling to fireplaces and torches built by the local player.
  • Added more detailed Debug logging for:

    • Fireplace detection
    • Range checks
    • Fuel levels and refill decisions
    • Fuel source selection
    • Nearby container availability
    • Fuel consumption

Changed

  • Significantly reduced unnecessary container scanning.

    • Containers are now discovered once per refill scan cycle and reused for all fireplaces during that cycle.
    • A container is no longer rediscovered once for every individual fuel item added.
  • Fuel is now removed in batches instead of one item at a time where possible.

  • Nearby containers are sorted by distance and the closest usable container is preferred.

  • Improved fireplace type detection.

    • Vanilla campfires using the fire_pit prefab are correctly recognized as campfires.
  • Improved handling of unknown and modded objects based on Valheim's Fireplace component.

Fixed

  • Fixed excessive scene-wide container searches when refilling fireplaces to maximum fuel.
  • Fixed campfires potentially being classified as OtherFireplaces because of their vanilla prefab name.
  • Fixed Debug messages being hidden by the default BepInEx Debug log filter.

[1.0.0] - 2026-08-23

Initial release.

Features

  • Automatic campfire, hearth, standing/wall torch, brazier refilling
  • Optional nearby container fuel usage
  • Configurable refill radius, treshold
  • Refill-to-max or fixed refill amount
  • Individual fireplace type toggles