SpamKeyMod

版本 v2.1.0·更新於 2026-09-10

Automates repetitive actions in Valheim without changing game mechanics. Supports Attack, Block, Interact, Sprint, Fishing, Bow, Eitr, and more.

模組介紹 作者原文

Spam Key Mod

A lightweight Quality of Life mod that automates repetitive actions in Valheim.

It doesn't modify skill gain, bypass game mechanics, or provide unfair advantages. Instead, it repeatedly performs selected inputs for you, making repetitive gameplay less tedious and allowing you to step away from your keyboard when appropriate.

Perfect for AFK-friendly skill training and servers with local character progression.

Features

Language

Configure Language English/Russian. From update language in Mod Menu - Restart Game. Ingame messages update istantly.

Fully configurable hotkey

Configure a toggle key in the F1 Configuration Manager.

Default: Mouse3 (Back)

Switch automation on or off instantly, or change modes with Shift + Mouse3 without opening the configuration menu.

Adjustable repeat interval

Set the delay between repeated actions.

Default: 0.1 seconds

Supported automation modes

  • Attack
  • Block
  • Interact
  • Sprint
  • Jump
  • Sneak
  • Fishing
  • Swimming
  • Cultivator / Hammer
  • Bow
  • Eitr Magic

On-screen indicator

A small status indicator appears in the upper-left corner whenever automation is enabled.

Automation Modes

Attack

Continuously performs the primary attack.

Perfect for AFK skill training or repetitive combat actions.

Block

Repeatedly taps the block button, making parries much easier.

Need to hold block continuously instead? Enable the dedicated option under Special Mode Settings.

Interact

Rapidly presses the Interact key.

Greatly speeds up filling furnaces, smelters, spinning wheels, windmills, and other crafting stations.

Uses the global spam interval.

Sprint

Automatically sprints forward while managing stamina.

  • Stops when stamina is depleted.
  • Resumes automatically after recovering to 50% stamina.

The same stamina management logic is shared by several other automation modes.

Jump

Continuously jumps while automatically managing stamina.

Sneak

Continuously moves while sneaking using the same stamina management logic as Sprint.

Fishing

Automatically casts and reels in the fishing rod.

You can configure:

  • Cast duration
  • Casting distance

The next cast begins automatically after stamina has fully recovered.

Swimming

Automatically swims forward.

If stamina drops below the configured threshold (20% by default), the character turns around and swims back toward shore.

After fully recovering stamina, swimming resumes automatically.

Cultivator / Hammer

Automatically cultivates terrain or places structures.

Features:

  • Automatic stamina management
  • Stops when tool durability reaches 1

Bow

Optimized for Bow skill training.

Uses an emote-based animation cancel to increase firing speed.

Safety features:

  • Stops automatically when durability reaches 1

Prefer vanilla behavior?

Simply use the regular Attack mode instead.

Eitr Magic

Continuously holds the attack button.

Primarily intended for elemental magic, such as the Staff of Frost.

When Eitr falls below 5, casting pauses automatically until Eitr has recovered to 50%.

Configuration

Open the F1 menu (requires Jotunn or BepInEx Configuration Manager) and select Spam Key Mod.

  • Key

Configure:

  • Toggle key
  • Spam interval
  • Actions

Select which automation mode should be active.

  • Special Mode Settings

Additional options for specific automation modes.

Requirements

  • BepInEx Pack for Valheim

FAQ

Does this increase skill gain?

No.

The mod does not modify experience gain or skill progression.

Does it bypass game mechanics?

No.

It simply automates repeated key presses while respecting the game's normal mechanics.

About

This project was built almost entirely with the help of Claude Sonnet 5 and ChatGPT.

I'm not a programmer, so while I've tested every feature extensively, there may still be undiscovered bugs.

The mod originally started as a personal project for myself and a few friends. Since I couldn't find anything similar, I decided to share it with the community.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
SpamKeyMod-2.1.0.zip
檔案大小
163.4 KiB