Valheim
Install with App

Details

Latest version
1.4.0
Last Updated
First Uploaded
Downloads
3.2K
Likes
1
Size
128KB
Dependants
ADDatHost Valheim hosting
30% off

Valheim HotKeys

A Valheim mod to add configurable hotkeys for various actions.

Features

  • Toggle HUD: Quickly hide/show the in-game HUD (default F3).
  • Repair Hammer: One press equips your hammer with repair already selected (unbound by default). Press again while repairing to put the hammer away. It looks for any tool with a repair option rather than the vanilla hammer by name, so it should also work with modded hammers or tools that have one (untested; tools without a repair option are ignored).
  • Hotbar Shortcuts: Use hotbar slots 1-8 with key combinations such as Alt + 1 (unbound by default). Valheim's Controls menu can give each slot an extra key, but not a combination.
  • Custom Item Bindings:
    • Bind hotkeys to items by name (e.g., "Healing Mead", "Arrow"). This can be either the localized name or the internal item ID.
    • Partial Matching: "Arrow" will match "Fire Arrow", "Wood Arrow", etc.
    • Item Cycling: Press the hotkey multiple times to cycle through all items in your inventory that match the search name.
    • Bindings fire while you are moving, so you can drink or swap ammo on the run.

Installation

Thunderstore / r2modman (Recommended)

  • Install via Thunderstore Mod Manager or r2modman.
    -or-
  • Download the mod from Thunderstore, and follow the Manual Installation instructions below.

Nexus Mods / Vortex

  • Install via Vortex Mod Manager.
    -or-
  • Download the mod from Nexus Mods, and follow the Manual Installation instructions below.

Manual Installation

  1. Install BepInExPack Valheim.
  2. Download the latest release of ValheimHotKeys from GitHub.
  3. Extract the ValheimHotKeys.dll file into your <Valheim Install Folder>\BepInEx\plugins directory.

Compatibility: tested with Valheim 1.0.

Configuration

The com.malafein.valheimhotkeys.cfg file will be generated in your BepInEx/config folder after the first run.
There you can set the HUD toggle key, the repair hammer key, the hotbar shortcuts, and the eight custom item bindings.

Recommendation: Use a configuration manager like shudnal's Configuration Manager to easily edit bindings and settings in-game.

Mouse buttons may be bound, but only Mouse0 through Mouse4, the buttons Valheim's input system supports.

To put a hotbar slot on a single key, use Valheim's own Controls menu, which has a rebindable alternate key for each of Hotbar 1-8. The hotbar shortcuts here are for combinations with Shift, Ctrl, or Alt.

Shortcuts still fire when you hold modifiers they don't include, so they work while you sprint. Valheim's own keys ignore modifiers entirely, though, so a shortcut shares its key with any game binding on the same key: Alt + 1 also uses hotbar slot 1. Left Shift and Left Ctrl are risky modifiers for hotbar shortcuts, because the game uses them to sprint and crouch: a Left Shift + 1 shortcut fires every time you press 1 while sprinting. Alt, Right Shift, and Right Ctrl are free. Left and right modifiers are separate keys, as they are in the game. The BepInEx log warns when a shortcut shares a key with one of the game's.

Changelog

See CHANGELOG.md.

Thank You

Jthorell - For requesting the Repair Hammer hotkey!

Bugs & Known Issues

Feel free to log any issues you encounter while using this mod on GitHub.

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