ValheimLumberNPC
Friendly lumber trolls for Valheim. Place a homestead, set a work radius, assign chests - they chop, smash logs, collect wood, and store it. Optional replanting. Multiplayer-safe.
Screenshots 5 screenshots
About this mod Author’s original text
Valheim Lumber NPC
Put your logging on autopilot. Place a homestead, set a work radius, assign a few chests — then let a friendly Lumber Troll chop trees, smash logs and stumps, pick up wood, and store it while you get on with raiding, building, and exploring.
Highlights
- Hands-off logging — chops trees, smashes fallen logs and stumps, collects drops, and deposits wood.
- You decide the mix — set chop priorities and replant priorities per tree type, filtered to the homestead biome.
- Optional replanting — after clearing a stump, can plant a sapling from seeds carried in the bag.
- Storage handled — assigns normal Valheim chests; deposits surplus and pauses when chests are full.
- Multiplayer-safe — works on local worlds, player-hosted games, and dedicated servers.
- Simple in-game menu — everything is driven from one panel on the Homestead piece.
| | |
|---|---|
| Version | 1.0.1 |
| Author | Pjanky |
| License | MIT |
| Requires | BepInExPack Valheim + Jötunn |
| Install on | Dedicated server and all clients (same version) |
Install
With r2modman Mod Manager (recommended)
- Install BepInExPack Valheim and Jötunn.
- Install Valheim Lumber NPC (Pjanky-ValheimLumberNPC).
- Use the same mods on the dedicated server and every client.
Manual
- Install BepInEx for Valheim and Jötunn.
- Copy ValheimLumberNPC.dll into BepInEx/plugins/ValheimLumberNPC/ on the server and every client.
- Launch once so the config file is created under BepInEx/config.
The mod adds one hammer build piece: Lumber Homestead.
By default only server admins can place the homestead and open the panel. To let any player manage lumber yards, set AdminOnlyPlacement and AdminOnlyAccess to false (see Configuration).
Quick start
Everything runs from the Lumber Homestead panel — interact with the placed homestead to open it.
- Place the Homestead where you want logging done. It spawns your first Lumber Troll automatically.
- Set the work radius on the main page (default 40 m, adjustable 10–100 m).
- Add storage. Place chests nearby and click Add chest for each.
- Tune tree priorities under Lumber settings if you want (biome-filtered).
That's it — as long as a player keeps the area loaded, the troll will chop, smash logs/stumps, collect wood, and deposit into your chests. When chests fill up, work pauses until you free space or add another chest, then unpause.
Trolls vanishing when you leave is normal. They are temporary workers, not permanent creatures. Your homestead settings, radius, and chest assignments are saved. When you return, open the panel and click Add Troll if none are present.
How it works
- The Homestead piece stores persistent data (chests, pause state, work radius, tree priorities) in the world save.
- Lumber Trolls only work while a player keeps the area loaded — they are summoned workers, not wandering monsters.
- Work loop: find tree → chop → smash logs → smash stump → (optional replant) → collect wood → deposit.
- On multiplayer, AI runs on the peer that owns the NPC’s network view, which keeps dedicated servers safe without forcing the headless server to simulate every troll.
- Talking to a troll toggles pause/resume for that homestead.
Full setup walkthrough
- Place the Lumber Homestead
Open the hammer, pick Lumber Homestead, and place it near the trees you want cleared (exact facing doesn’t matter). Interact with it to open the panel. The status line shows pause state, troll count, work radius, and chest count.
- Set the work radius
On the main page under Work area, drag the Work radius slider (10–100 m). Trees outside this circle are ignored.
Tip: MaxWorkRadius in the BepInEx config is a server ceiling, not the homestead’s current radius. Change the radius in the UI. If the config ceiling is stuck at 40, the slider cannot go higher until that config is raised (newer builds auto-correct a ceiling of 40 up to 100).
- Assign chests (storage)
- Place normal Valheim chests (or compatible containers) near th
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: