AFK Skill Trainer
Client-side only: the server doesn't need it. Trains your skills on a T.W.I.G. while you're away: attacks, blocks, parries or rolls, eats your best stamina food, drinks stamina potions or rests when s
About this mod Author’s original text
AFK Skill Trainer
A Valheim BepInEx plugin that trains your skills on a T.W.I.G. while you're away from the keyboard.
Stand near the dummy and press '. Your character walks in close enough for the mode, then keeps
attacking, blocking, parrying or rolling. It drinks a stamina potion or rests when stamina runs out, eats
when it can, stays on the spot and stops when the skill reaches 100. Dodge mode needs much less: it rests
instead of drinking and only eats when it has to.
Client-side only: only you install it. The server and other players don't need it.
Controls
| Key | Does |
| --- | --- |
| ' | Start or stop training |
|; | Switch the training mode: attack, block, parry, dodge, then back to attack (works mid-training) |
Training modes
- Attack swings whatever weapon is in your hands and trains that weapon's skill. Unarmed trains
Unarmed. It walks you in until the T.W.I.G. is inside three quarters of the weapon's reach, read from
the game, so every swing lands.
- Block holds your shield up against the T.W.I.G.'s swings to train Blocking. The mod drives the
block directly, so your block hold/toggle setting doesn't matter. Blocking the T.W.I.G.'s 1-damage
swings costs well under 1 stamina each and a parry costs none
(Valheim Wiki), so block and parry mode hardly ever rest.
- Parry raises the shield just before each swing or rock lands, so every block is a parry, which
earns more Blocking experience than a plain block. Each kind of T.W.I.G. swing is timed separately, and
each T.W.I.G.'s rock for where you stand, since a rock takes longer to fly from further away: the first
of each is held with a plain block while the mod measures it. Tower shields can't parry, so with one this
mode holds block and says so when it starts.
- Dodge rolls just before each swing or rock lands, so the hit lands while you're invulnerable, which
trains Dodge. It rolls into the T.W.I.G. and walks you back to the start spot between swings. You can't
roll while over-encumbered, so if the rolls aren't happening it stops and says why. It only eats when it
has to and rests instead of drinking potions (Food and potions in dodge mode).
Block, parry and dodge walk you in to about 1.3 m from the T.W.I.G., inside the range all of its swings
come from, so it swings at you.
Parry and dodge need to see the T.W.I.G.'s swings. If they can't, for example because another player's
game runs the T.W.I.G., parry mode holds block and dodge mode rolls on a steady 3 s beat, and the mod says
so in the corner of the screen.
Rocks
A T.W.I.G. throws rocks at you when you're out of reach of its swings, up to 12 m away. Parry and dodge
mode watch every T.W.I.G. that close, not just the one you train on, so a second T.W.I.G. nearby gets
its rocks parried or rolled through too. A shield only stops hits from your front half
(players on the Steam forum), so parry mode
doesn't raise it for a T.W.I.G. behind you; dodge mode rolls for those as well, since a roll works against
attacks from any direction (Valheim Wiki: Dodging). When
training starts, the log lists each other T.W.I.G. it watches and whether it's in front of you, so you can
move one that's behind you.
Parry and dodge can also train against rocks on purpose: start 4 to 12 m from a T.W.I.G. and training
stays where you stand instead of walking you in. A rock comes every 6 s at most, so this is slower than
training up close. If no rock comes in the first 12 s, parry mode holds block and dodge mode rolls on a
beat until one does; if none ever comes, start closer. Block and attack mode always walk you in, and
switching to one of them while training at range does too.
Walking in
Training only ever walks you closer: if you're already close enough, it starts where you stand.
Switching mode with; walks you in again if the new mode needs you closer. If something is in the
way, it trains from as close as it got, as long as that's within 0.4 m of the spot. If it can't get
that close, it gives up after 5 s, or 2 s for
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: