You are viewing a potentially older version of this package. View all versions.
Hardwire99-DaylightSavings-1.0.1 icon

DaylightSavings

Pauses fires and lights when they are not needed. Fuel is kept until someone is nearby or daylight is gone.

Date uploaded a month ago
Version 1.0.1
Download link Hardwire99-DaylightSavings-1.0.1.zip
Downloads 48
Dependency string Hardwire99-DaylightSavings-1.0.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 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.2350

README

DaylightSavings

Do not use on a server until Mod is fixed

Pause fires and lights when they are not needed. Remaining fuel stays put. They relight when someone walks up, or when daylight is gone.

Current version: 1.0.1
Requires: Valheim 1.0 (Unity 6) and BepInEx Pack for Valheim 5.4.2350+
Install: Client-side. Dedicated server is not required. Every player who joins should install it.

Links


Fires

Campfires, iron fire pits, hearths, and bonfires pause when no player is within 10 m. Walk back and they relight with the same fuel. They still burn in the daytime while you cook.

Lights

Sconces, standing torches, colored torches, wisp torches, braziers, jack-o-turnip, and lava lanterns:

  • Empty building at night: off.
  • Windowed hall in full daylight: off, even if you are standing in it.
  • Sealed pit / basement with no openings: on only while someone is within 10 m, day or night.

Always burn

Vanilla pieces have no on/off control. Alt+E on a fire or light pins it to Always burn (vanilla fuel use). Alt+E again returns it to Managed. Hover text shows which mode it is in.

Compatibility

Stay-lit mods that force Fireplace.IsBurning true conflict — this mod runs last and still pauses. Smelters, kilns, and ovens are not touched.

Config

Key Default Meaning
ProximityMeters 10 Player range
PauseLightsInUsableDaylight true Windowed / open daylight pauses lights
SealedCoverThreshold 0.8 Sealed pit vs windowed hall
ExtraFirePrefabs / ExtraLightPrefabs / ExcludePrefabs Prefab name lists

Full keys live in BepInEx/config/Hardwire99.DaylightSavings.cfg.

CHANGELOG

Changelog

1.0.1

  • Warning: Do not use on a server until the mod is fixed. Mixed sessions (not every player installed) desync flames vs fuel, and unmodded players can still get local comfort/heat from a paused fire.
  • README lists this in red at the top.

1.0.0 — Valheim 1.0

  • Requires Valheim 1.0 (Unity 6) and BepInEx Pack for Valheim 5.4.2350+.
  • First release: pauses fueled Fireplace pieces when they are not needed and keeps remaining fuel.
  • Fires (campfire, iron fire pit, hearth, bonfire) pause when no player is within 10 m (configurable). They still burn in daytime while you cook.
  • Lights (sconces, standing torches, colored/wisp torches, braziers, jack-o-turnip, lava lantern) pause unless someone is in range and the space has no usable daylight.
  • Windowed halls in full sun stay off even with a player standing there. Sealed pits only light while someone is nearby, day or night.
  • Alt+E pins a piece to Always burn (vanilla fuel use) or back to Managed. Hover text shows the mode and pause reason.
  • Fuel catch-up after an unloaded zone is skipped so walking back in does not dump a huge fuel bill.
  • Client-side. Dedicated server is not required. Every player who joins should install it. Stay-lit mods conflict; DaylightSavings runs last on Fireplace.IsBurning.