ValheimFarmerNPC
Autonomous goblin farmers for Valheim. Place a homestead, mark your field, assign chests - farmers plant, harvest, and store crops. Multiplayer-safe; server and clients need the mod.
截圖 共 4 張
模組介紹 作者原文
Valheim Farmer NPC
Put your farm on autopilot. Place a homestead, mark your field, assign a few chests — then let goblin farmers plant, harvest, and store your crops while you get on with raiding, building, and exploring.
Highlights
- Hands-off farming — farmers harvest mature crops and replant empty plots automatically.
- You decide the mix — set planting ratios and seed reserves per crop, filtered to what actually grows in your biome.
- Storage handled — farmers pull seeds from your chests and deposit the harvest back.
- 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.1.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 Farmer NPC.
- Use the same mods on the dedicated server and every client.
Manual
- Install BepInEx for Valheim and Jötunn.
- Copy ValheimFarmerNPC.dll into BepInEx/plugins/ValheimFarmerNPC/ on the server and every client.
- Launch once so the config file is created under BepInEx/config.
The mod adds two hammer build pieces: Farmer Homestead and Farm Boundary Post.
By default only server admins can place farm pieces and open the panel. To let any player manage farms, set AdminOnlyPlacement and AdminOnlyAccess to false (see Configuration).
Quick start
Everything runs from the Farmer Homestead panel — interact with the placed homestead to open it.
- Prepare a field. Till the soil and plant the plots you want farmed (saplings or grown crops both work).
- Place the Homestead near the field. It spawns your first farmer automatically.
- Set the boundary. Place two Farm Boundary Posts at opposite corners of the field, then click Assign Boundary Posts.
- Scan the field. Click Scan Field — the homestead remembers every crop inside the boundary as a work slot.
- Add storage. Place chests nearby and click Add chest for each.
That's it — as long as a player keeps the area loaded, farmers will harvest, replant, restock seeds, and deposit the surplus. Tune what they grow under Crop settings whenever you like.
Farmers vanishing when you leave is normal. They are temporary workers, not permanent creatures. Your homestead, field, and chest contents are saved. When you return, open the panel and click Add Farmer if none are present.
How it works
- The Homestead piece stores all persistent farm data (crop slots, chests, pause state, crop settings) in the world save.
- Farmers only work while a player keeps the farm's area loaded — they are summoned workers, not wandering monsters.
- On multiplayer, the game keeps the farm in sync across everyone; the dedicated server keeps field progress consistent even when several players share one farm.
- Talking to a farmer toggles pause/resume for that homestead.
Full setup walkthrough
- Plant the initial field (required)
Till the soil and plant every plot you want farmers to work. Scan Field discovers slots from existing crops inside the boundary — it does not create slots from bare tilled ground. After the first scan, farmers harvest and replant those remembered slots on their own.
- Place the Farmer Homestead
Open the hammer, pick Farmer Homestead, and place it near your farm (exact facing doesn't matter). Interact with it to open the panel. The status line at the top shows pause state, farmer count, crop-slot count, chest count, and whether a boundary is set.
- Place & assign Boundary Posts
- Place two Farm Boundary Posts at opposite corners of the rectangle covering your farm — just outside the outermost plots so every tile is inside the box.
- Keep each half-width within MaxFarmRadius (default 64 m), or scanning will fail.
- On the panel, click Assign Boundary Posts. Status should then
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: