HoldToCommand
Separates petting and commanding: Tap to pet, Hold to command.
About this mod Author’s original text
Hold To Command
GitHub Repository
A small quality-of-life mod that separates petting and commanding tamed creatures.
In vanilla Valheim, interacting with a commandable tameable will immediately issue a command instead of allowing you to pet it.
This mod changes that behavior to:
- Tap → Pet creature
- Hold → Command creature
- Shift + Use → Rename (unchanged vanilla behavior)
Features
- Restores the ability to pet commandable creatures
- Adds intentional hold-to-command interaction
- Adjusted hover text to reflect new controls
- Fully localized (community language support)
- Uses external translation file (editable)
- Lightweight and fully standalone (no dependencies)
Configuration
HoldToCommand provides the configurable option HoldThreshold
to define how long the Use key must be held before a command is issued.
Adjust the value to match your preferred hold duration.
Installation
- Install BepInEx for Valheim
- Place the contents of the zip into:
Valheim/
This will install:
BepInEx/plugins/HoldToCommand/HoldToCommand.dll
BepInEx/plugins/HoldToCommand/HoldToCommand.Translations.txt
- Launch the game
Translations
HoldToCommand uses an external file:
HoldToCommand.Translations.txt
You can edit or extend this file to customize translations.
Format:
Language|Hold $1|Command
Example:
English|Hold $1|Command
German|$1 halten|Befehlen
- $1 will automatically be replaced with the Use key (e.g. E).
- If a language is missing, English is used as fallback.
Community translations are welcome.
Compatibility
- Client-side only
- Works on vanilla servers
- Safe to install or remove at any time
- No impact on servers without the mod
License
MIT License
Created with ♥️ — and AI assistance
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: