ToolLockWhenSeen

v1.1.0·Updated 2026-10-06

Blocks hammer, hoe, and cultivator use while the player is seen or heard. Each tool and detection type can be configured separately.

About this mod Author’s original text

ToolLockWhenSeen

Prevents certain build tools from being used while the player is detected by an enemy.

By default, only the hammer is restricted when the player is seen.

Tools

  • Hammer
  • Hoe
  • Cultivator

Each tool can be enabled or disabled separately.

Detection

  • Seen – player is sensed by an enemy.
  • Heard – player is targeted by an enemy.

Each detection type can be enabled or disabled separately.

By default, Seen is enabled and Heard is disabled.

Config

Each tool has:

  • Enabled – turns the restriction on or off
  • SeenBlockedMessage – message shown when blocked while seen
  • HeardBlockedMessage – message shown when blocked while heard

Detection settings:

  • RestrictWhenSeen – enables the Seen restriction
  • RestrictWhenHeard – enables the Heard restriction

Feedback

For suggestions or issues, Discord: NxDimi

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. 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.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. 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.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
ToolLockWhenSeen-1.1.0.zip
File size
107.4 KiB