Valheim
Install with App

Details

Latest version
1.0.0
Last Updated
First Uploaded
Downloads
24
Likes
2
Size
79KB
Dependants
ADDatHost Valheim hosting
30% off

ToolLock

Prevents certain build tools from being used when an enemy is nearby, sees the player, or hears the player.

By default, all three tools are restricted by nearby detection and Seen detection.

This mod combines the functionality of ToolLockWhenSeen and ToolLockWhenEnemyNearby into a single mod, with additional configuration options.

Tools

  • Hammer
  • Hoe
  • Cultivator

Each tool can be enabled or disabled separately.

Detection

  • Nearby – an enemy is within the configured detection distance.
  • Seen – player is sensed by an enemy.
  • Heard – player is targeted by an enemy.

Each detection type can be enabled or disabled separately.

The default detection distance is 20 metres.

Config

Each tool has:

  • Enabled – turns the detection restrictions on or off
  • NearbyBlockedMessage – message shown when blocked while an enemy is nearby
  • SeenBlockedMessage – message shown when blocked while seen
  • HeardBlockedMessage – message shown when blocked while heard

Detection settings:

  • DetectionDistance – distance at which enemies will prevent tool use
  • RestrictWhenNearby – enables the Nearby restriction
  • RestrictWhenSeen – enables the Seen restriction
  • RestrictWhenHeard – enables the Heard restriction

Disable

Each tool can also be disabled entirely.

  • DisableHammer
  • DisableHoe
  • DisableCultivator

Each has its own customizable message.

Disabling a tool takes priority over all detection restrictions.

Feedback

For suggestions or issues, Discord: NxDimi

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.