Please disclose if your mod was created primarily using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
HoldToCommand
Separates petting and commanding: Tap to pet, Hold to command.
| Date uploaded | a week ago |
| Version | 1.0.4 |
| Download link | Vonny1412-HoldToCommand-1.0.4.zip |
| Downloads | 520 |
| Dependency string | Vonny1412-HoldToCommand-1.0.4 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2202README
Hold To Command
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
$1will 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-assisted tools as a supporting tool
CHANGELOG
Changelog
v0.1.0
- Initial public release
v0.2.0
- Added translations File
v0.3.0
- Added config option "HoldThreshold"
v1.0.0
- Improved compatibility with other mods by checking
__runOriginalin theTameable.Interact()patch
v1.0.1
- Updated README
- Added AI-assisted development note for transparency
v1.0.2
- Added config option
ShowInNewLine - Adjusted plugin initialization order
- Improved localization registration to avoid missing translation keys
v1.0.3
- Translation strings are now
handled internallyinstead of being registered in Valheim's Localization system
v1.0.4
- Fixed wrong version beeing published