NotYourFriend-NotYourHotkeys icon

NotYourHotkeys

Modifier-aware vanilla hotkey isolation for Valheim. Prevents vanilla actions from firing when their keys are used as part of mod hotkey chords.

Last updated 2 weeks ago
Total downloads 246
Total rating 1 
Categories Tweaks
Dependency string NotYourFriend-NotYourHotkeys-0.1.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

NotYourHotkeys

Stop vanilla hotkeys from firing when you're trying to use a modded key combination.

Valheim normally doesn't care whether you're holding Alt, Shift, or Ctrl when it checks many of its keyboard actions. That means a mod using something like Alt + M can accidentally trigger both the mod hotkey and the vanilla M action.

NotYourHotkeys fixes that.

When a configured modifier is held, selected vanilla actions are temporarily suppressed so the modded shortcut can fire by itself.

Example

With Map isolation enabled:

  • M → Opens the vanilla map normally
  • Alt + M → Mod shortcut fires, map stays closed
  • Shift + M → Mod shortcut fires, map stays closed
  • Ctrl + M → Mod shortcut fires, map stays closed

No key rebinding required.

Supported modifiers

Alt, Shift, and Ctrl can each be enabled or disabled independently.

Supported vanilla actions

Version 0.1.0 supports isolation for:

  • Map
  • Inventory
  • Build Menu
  • Hide
  • Sit
  • Auto Pickup
  • Emote Radial
  • General Radial
  • Toggle Walk
  • Guardian Power
  • Hotbar slots 1–8

Each action can be individually enabled or disabled through the configuration file.

Designed to stay out of the way

NotYourHotkeys does not globally replace Valheim's input system.

It patches specific vanilla input-processing paths and only suppresses actions explicitly configured for isolation. Unsupported actions continue through Valheim normally.

Controller inputs are left untouched.

Configuration

Config file:

BepInEx/config/notyourfriend.NotYourHotkeys.cfg

Configuration includes:

  • Master enable/disable
  • Alt isolation
  • Shift isolation
  • Ctrl isolation
  • Individual vanilla-action toggles

Why does this exist?

Because sometimes Alt + M means:

"Do the mod thing."

Not:

"Do the mod thing AND OPEN MY MAP."

Version 0.1.0

Initial release.

  • Modifier-aware vanilla hotkey isolation
  • Alt / Shift / Ctrl support
  • Per-action configuration
  • Hotbar isolation
  • Guardian Power isolation
  • Map, inventory, building, radial, and utility action support
  • Keyboard-only suppression; controller behavior remains unchanged

Created by NotYourFriend.