TWIG Defenders
Experimental base defenders with eight biome-material tiers, 30m spear throws, melee, and hammer repair. Required on all peers. Real Steam and dedicated-server multiplayer testing is still pending.
About this mod Author’s original text
T.W.I.G. Defenders
Build a line of stationary wooden defenders that turn toward hostile creatures, throw spears, and fight at close range. Eight separately buildable tiers use materials from Meadows through Deep North. The normal training dummy keeps its vanilla behavior.
v0.4.0 is an experimental playtest build. Tested on Windows with Steam Valheim 1.0.12 (build 25253764). Real Steam multiplayer, dedicated servers, rendered presentation, and raid balance still need player testing. Start in a new disposable world and back up any existing saves before trying the mod there. A separate mod-manager profile does not isolate your world saves.
Features
- Build under Hammer → Misc, starting with T.W.I.G. Defender (Wood).
- Thirty-metre engagement range, spears at 35 m/s, and a minimum four-second interval between ranged attack starts. No ammunition is consumed.
- Native close-range melee when enemies get near. Spears deal 75% of each tier's melee base damage as pierce.
- Defenders stay anchored, turn toward enemies, and require line of sight. Walls stop attacks.
- They ignore players, tamed creatures, passive animals, and other defenders. Neutral Dvergr are excluded unless aggravated.
- Hammer repair restores health near the tier's station, with normal tool/stamina costs and ward restrictions. No repair materials are required.
- Player-built defenders return their recipe when dismantled or destroyed.
These are separate pieces, not automatic raid scaling or an in-place upgrade system. All tiers currently share the vanilla model and icon. This release adds spear attacks, not bows or new equipment models.
Installation
Mod manager (recommended)
- Close Valheim. Mod Manager or r2modman, select Valheim and create a fresh test profile.
- Install TWIG Defenders and its declared dependencies: BepInExPack Valheim 5.4.2350 and Jotunn 2.30.0. The manager handles dependency installation; verify the actual versions in the profile.
- Start Valheim through the manager's modded launch option.
- Create a disposable test world. Obtain a hammer, discover a Workbench and Wood, and build a Wood defender near the Workbench for 10 Wood.
You do not need Unity, a.NET SDK, the source project, or the developer test plugin to play. The package follows 's BepInEx layout; a clean mod-manager installation still needs acceptance testing.
Manual installation
- Close the game/server. Install the two dependencies above using their own instructions.
- Copy this ZIP's BepInEx/plugins/TwigDefenders folder into your Valheim installation's BepInEx/plugins folder. The final DLL location is:
/BepInEx/plugins/TwigDefenders/TwigDefenders.dll
- Keep only one active copy of TwigDefenders.dll. Do not leave an older copy in another plugins subfolder or combine duplicate manual/profile installations.
- Launch the modded game and use a test world first.
Multiplayer
Install the same mod version on the host/server and every player, along with BepInEx and Jotunn. This is not a server-only mod. Version matching is required. Dedicated-server deployment and Steam/PlayFab sessions are still test targets, not confirmed supported configurations.
Biome tiers
Damage below is base damage before native difficulty, skill, and resistance modifiers. Costs and stats are provisional.
| Tier / biome | Health | Melee blunt | Spear pierce | Materials | Station |
| --- | ---: | ---: | ---: | --- | --- |
| Wood / Meadows | 300 | 20 | 15 | Wood ×10 | Workbench |
| Bronze / Black Forest | 600 | 40 | 30 | Corewood ×20, Bronze ×10, Deer Hide ×4 | Forge |
| Iron / Swamp | 1,000 | 65 | 48.75 | Ancient Bark ×20, Iron ×15, Chain ×2 | Forge |
| Silver / Mountains | 1,400 | 90 | 67.5 | Finewood ×20, Silver ×15, Wolf Pelt ×6 | Forge |
| Black Metal / Plains | 1,900 | 120 | 90 | Finewood ×20, Black Metal ×20, Linen Thread ×10 | Forge |
| Carapace / Mistlands | 2,500 | 160 | 120 | Yggdrasil Wood ×20, Carapace ×20, Refined Eitr ×5 | Black Forge |
| Flametal / Ashlands | 3
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: