You are viewing a potentially older version of this package. View all versions.
potto007-OttoFuel-1.6.2 icon

OttoFuel

Auto-fuels smelters, kilns, ovens, torches, windmills and shield generators from nearby chests.

Date uploaded 3 weeks ago
Version 1.6.2
Download link potto007-OttoFuel-1.6.2.zip
Downloads 3129
Dependency string potto007-OttoFuel-1.6.2

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

OttoFuel - Keep the Fires Burning

OttoFuel

Updated for Valheim 1.0

OttoFuel keeps your production burning. It pulls fuel and ore out of nearby chests and off the ground, then feeds them to the things that need them.

Maintainer: Paul Otto


What it fuels

  • Torches, standing torches, wall torches, braziers and campfires
  • Hearths and hot tubs
  • Smelters, blast furnaces, charcoal kilns, windmills and spinning wheels
  • Stone ovens and any other cooking station that burns fuel (new in 1.5.0)
  • Shield generators

Other features

  • Stacked smelters. Removes most smoke and the "smoke blocked" check.
  • The blast furnace accepts every ore.
  • Kiln output limit, so a kiln stops once you have enough coal.
  • Per-object switches, so you can turn any of it off.
  • ServerSync. A server pushes its config down to the clients.

A config file BepInEx/config/potto007.OttoFuel.cfg is created after you run the game once with this mod.

Coming from AutomaticFuel? Your settings carry over. On first run OttoFuel looks for TastyChickenLegs.AutomaticFuel.cfg and copies its values into its own file. It never touches an OttoFuel config that already exists.

On a clean install OttoFuel writes a starter config with LeaveLastItem = true, so it never empties a chest to zero. Every other setting keeps its stock value.

Every setting lives in BepInEx/config/potto007.OttoFuel.cfg, and you can change it in a text editor or in game through Configuration Manager. Enabled and IsOn sit in the unnamed section at the top of the file, which BepInEx writes as [].

Section Key Default What it does
(unnamed) Enabled true Turns the mod on or off.
(unnamed) IsOn true Whether fueling is currently on.
General ToggleKey F10 The key that toggles fueling. Leave it blank to disable the key.
1 - General Lock Configuration On When on, only a server admin can change the settings.
General DropRange 15 How far, 1 to 50 meters, to pull dropped fuel.
General Use Dropped Items for Fuel true Use fuel lying on the ground, not only fuel in chests.
Fireplace FireplaceRange 5 How far, 1 to 50 meters, to pull fuel from chests for fires.
Fireplace FuelDisallowTypes RoundLog,FineWood Items never used as fuel, comma separated.
Fireplace RefuelStandingTorches true Refuel standing torches.
Fireplace RefuelWallTorches true Refuel wall torches.
Fireplace RefuelBraziers true Refuel braziers.
Fireplace RefuelFirePits true Refuel fire pits.
Fireplace RefuelHearth true Refuel hearths.
Fireplace RefuelHotTub true Refuel hot tubs.
Oven RefuelOvens true Refuel the stone oven and any other cooking station that burns fuel.
Oven OvenRange 5 How far, 1 to 50 meters, to pull fuel from chests for ovens.
Smelters SmelterOreRange 15 How far, 1 to 50 meters, to pull ore from chests for smelters.
Smelters SmelterFuelRange 15 How far, 1 to 50 meters, to pull fuel from chests for smelters.
Smelters OreDisallowTypes RoundLog,FineWood Items never used as ore, comma separated.
Smelters LeaveLastItem false Leave the last item in a chest instead of emptying it. A clean install writes true.
Smelters DistributedFueling true Add one piece of fuel or ore at a time, so it spreads across every smelter.
Smelters AllowStackSmelters false Let smelters and kilns stack, which drops the smoke and the smoke blocked check.
Smelters BlastFurnaceTakesAll true Let the blast furnace take every ore.
Smelters RestrictKilnOutput false Stop fueling kilns past a coal limit.
Smelters RestrictKilnOutputAmount 50 The amount of coal, 1 to 1000, that shuts off kiln fueling.
Smelters Turn Off Kiln false Leave kilns alone.
Smelters Turn off Smelter false Leave smelters alone.
Smelters Turn off Blast Furnace false Leave blast furnaces alone.
Smelters Turn Off Windmills false Leave windmills alone.
Smelters Turn Off SpinningWheel false Leave spinning wheels alone.

Installation: (manual)

Extract the DLL from the zip file into <GameDirectory>\BepInEx\plugins, then start the game.


Installation (Automatic)

Use the R2Modmanager on Thunderstore. Search for the mod and install


Server Configuration

For Servers that want to control ther configuration, install on the server and clients.  
The server config will push down.

For Servers that cannot use mods, simply install this on the clients only and it will work just fine.  Clients will all need
the same settings in their config files for optimal results.

Version Information

The full release history lives in CHANGELOG.md, and it renders on the Changelog tab of the Thunderstore package page.

Credits

OttoFuel is maintained by Paul Otto.

It continues AutomaticFuel by TastyChickenLegs, who built that mod on the idea and original code of Aedenthorn's AutoFuel. Credit for the mod belongs to both of them. OttoFuel carries their work forward under the same public-domain licence.

More mods by TastyChickenLegs

CHANGELOG

Changelog

All notable changes to OttoFuel. Versions from v1.4.7 down are the history of AutomaticFuel by TastyChickenLegs, which OttoFuel continues.

v1.6.5

  • Rebuilt against Valheim 1.0.16. Every Harmony patch target still resolves in this build, and nothing else changed.

v1.6.4

  • Rebuilt against Valheim 1.0.15. Every Harmony patch target still resolves in this build, and nothing else changed.

v1.6.3

  • Rebuilt against Valheim 1.0.14. Every Harmony patch target still resolves in this build, and nothing else changed.

v1.6.2

  • Fixes ground pickup in multiplayer. When a player other than the piece owner dropped wood or ore next to a kiln, smelter, fireplace, oven, or generator, the piece destroyed only its local copy of the item. The item's data still belonged to the player who dropped it, so it respawned on the next sync and was taken again, giving unlimited fuel or ore from a single drop. Reported by Cookie4Free in GitHub issue #1. The mod now claims the dropped item before taking it, the same way the game does when you pick an item up. Chests were never affected.

v1.6.1

  • Drops the Ottomation_ModLib and Jotunn dependencies that 1.6.0 added. OttoFuel needs only BepInEx again.
  • Setting names go back to the 1.5.3 spelling, such as Lock Configuration and Turn Off Kiln, so a config from 1.5.3 or earlier, or one carried over from AutomaticFuel, loads with its values. If you ran 1.6.0, check your settings, because a value you changed under 1.6.0 is back at its default.
  • Keeps the corrected README config table, now with the names above.

v1.6.0

  • Depends on Ottomation_ModLib 1.16.0, which brings Jotunn with it. OttoFuel uses the library for its config handling, and keeps ServerSync for syncing settings, so LockConfiguration works as before.
  • Config names follow the Ottomation series spelling. Lock Configuration is now LockConfiguration, Use Dropped Items for Fuel is now UseDroppedItemsForFuel, and the Turn Off switches lose their spaces, so Turn Off Kiln is now TurnOffKiln. IsOn and Enabled move out of an unnamed section into General, and the old 1 - General section merges into General.
  • Your values carry over. On first load the library renames your config in place before OttoFuel reads it, and a config carried over from AutomaticFuel goes through the same rename.
  • The README config table now lists the real setting names. The old table named settings like fireplaceRange that never matched the file, a verifyClient setting the mod does not have, and an autofuel reset console command that does not exist.
  • The config file starts with an _Author section, the same as the rest of the Ottomation series.

v1.5.3

  • Carries your AutomaticFuel settings over on first run. If a TastyChickenLegs.AutomaticFuel.cfg exists and no OttoFuel config does, OttoFuel copies its values. LeaveLastItem matters most: at stock the mod empties a chest to zero.
  • Renames the old Use Dropped Items key to Use Dropped Items for Fuel while it copies, so that setting survives too.
  • Writes a starter config on a clean install, with LeaveLastItem = true. Lock Configuration keeps its stock value of On, so a server still governs the settings of the clients that join it.
  • Never overwrites an OttoFuel config that already exists. A failure here only logs a warning; the mod still loads.

v1.5.2

  • Added CHANGELOG.md, rendered on the Thunderstore package page.
  • Raised the BepInEx pack dependency to the current release.
  • Reworked the package categories.
  • Tidied the README.

v1.5.1

  • New title banner and package icon.

v1.5.0

  • Renamed to OttoFuel. Forked from AutomaticFuel 1.4.7 by TastyChickenLegs.
  • Added refuelling for the stone oven and any other cooking station that burns fuel.
  • Added the config keys Oven / RefuelOvens and Oven / OvenRange.
  • The config file is now potto007.OttoFuel.cfg. Settings do not carry over.

v1.4.9

  • Ported to the Valheim 1.0 API:
    • Character.Message gained a log parameter.
    • Smelter.RPC_AddOre gained a cheated parameter.
    • Inventory.Changed gained two parameters.
    • Inventory.RemoveItem changed a default; the old behaviour is pinned.
    • ZRoutedRpc.Everybody became a constant, so ServerSync was rebuilt.
  • Rebuilt against the current Unity and game assemblies.

v1.4.7

  • option to disable blast furnace and smelter default is on
  • Added ability to turn off using floor drops for fuel

v1.4.6

  • Updated for newest patch and added Shield Generators

v1.4.5

  • Updated server sync

v1.4.4

  • Updated for The Bog Witch version

v1.4.3

  • Updated for newest version
  • Added Iron Ore to the list of items to be made in Blast Furnace
  • Thanks EiraValkyrie for reporting the problem

v1.4.2

  • removed for errors in build

v1.4.1

  • Updated for final release of Ashlands.

v1.4.0

  • updated for Valheim 0.218.12 Ashlands PTB

  • THIS VERSION WILL NOT WORK IN ANYTHING BELOW 0.218

  • Use the older version for non Ashalands Versions.

v1.3.9

  • updated for Valheim 0.271.22

v1.3.8

  • Updated to the newest Haldor's Quest Version

v1.3.7

  • Updated to newest Test Branch of Valheim
  • Increased amount of selectable coal before turning off kilns
  • fixed a few spelling errors

v1.3.6

  • Updated to newest BepInEx and Valheim Patch 0.214.300

v1.3.5

  • updated to the newest version of Valheiml 0.214.2

  • added back the toggle to turn off and on Automatic Fueling.

  • 1.3.4 - fixed several RPC bugs and bumped version for incorrect README.MD

v1.3.0

  • add ability to turn off Spinning Wheel and Windmills

v1.2.0

  • Added ability to turn off Hearth and BathTub. This allows the mod to coexists with other mods like BetterWards

v1.1.9

  • Fixed bug in turning off Kilns. When kilns were turned off all "Smelters" stopped working.

v1.1.8

  • Option to turn off Kilns
  • Ability to pull from carts
  • Added ownership checks to containers for multiplayer duping

v1.1.7

  • Added option for Blast Furnace to take all fuel. Default is on.
  • Lots of code cleanup.

v1.16

  • Fix for smelter oject not set to an instance error. Widmills and Spinning Wheels are smelters and they were causing errors when checking their smoke.

v1.15

  • Enabled the ability to turn off the verification of clients. This keeps the server from kicking players that do not have the mod.
  • Added the ability to stack smelters and kilns.

v1.1.4

  • Added ServerSync - Install on the Clients and Server and the Server will control the config.
  • fine tuned the container code to include custom chests and mods
  • confirmed working with Drawers Mod.

v1.1.3

  • Fixed the black iron chests and custom chest. Can now pull from all containers
  • Confirmed working with Eitr Refinery

v1.1.2

  • Fixed the toggle key

v1.1.0

  • added the options for torches, campfires and hearths

v1.0.1

  • initial release