HexDevTools
Adds an in-game dev tools UI for running common Valheim dev commands.HexDevTools
HexDevTools adds an in-game dev tools panel for Valheim.
The panel lets you enable dev commands and quickly run common debug/dev commands from a simple UI.
You can also spawn prefabs from the spawn input field, which includes an autocomplete suggestion feature.


Warning
This mod is still under active development and has primarily been tested in local/singleplayer environments.
Dedicated server and multiplayer behavior may vary depending on:
- server configuration
- installed mods
- admin permissions
- client/server mod parity
Use at your own risk and always back up your world/server saves before installing new mods.
Some developer commands may not function on dedicated servers without additional server-side support mods.
Dedicated Servers
Valheim restricts many developer/debug commands on dedicated servers by default.
Commands such as:
debugmodespawnfly- no-build-cost creative mode
may not function on dedicated servers without additional server-side support.
For dedicated server environments, it is recommended to install:
- Server Devcommands by JereKuusela
https://thunderstore.io/c/valheim/p/JereKuusela/Server_devcommands/
Your SteamID / PlayFab ID must also be added to the server adminlist.txt.
HexDevTools provides a UI and convenience layer for dev commands, but does not bypass Valheim's built-in dedicated server restrictions.
Features
- Toggle the dev tools panel with a configurable hotkey
- Enable
devcommandsanddebugmode - Unlock additional command buttons after dev commands are enabled
- Run common dev commands from buttons:
- No Build Cost
- Fly
- Free Fly
- God Mode
- Day Time
- Night Time
- Reset Time of Day
- Spawn prefabs from an input field
- Close the panel using the Close button,
F8,Esc, or by clicking outside the panel - Uses Valheim-style UI through Jotunn
Default Hotkey
F8
The hotkey can be changed in the config file.
Configuration
Config file:
BepInEx/config/hex.devtools.cfg
Example:
[General]
## Toggle Dev Tools UI
# Setting type: KeyboardShortcut
# Default value: F8
ToggleKey = F8
You can also use modifier keys, for example:
ToggleKey = LeftControl + F8
Usage
- Press
F8to open the HexDevTools panel - Click
Enable Devcommands - Use the available dev command buttons
- Use the spawn input to run spawn commands
Example spawn input:
LoxPie 10
This runs:
spawn LoxPie 10
- Hide the panel by clicking Close, pressing F8 or Esc, or clicking outside the menu.
Notes
This is intended for local testing, debugging, and mod development.
Dev commands may require appropriate permissions depending on your world/server setup.
Devcommands stay enabled for the current Valheim game process once enabled.
Installation
Install with a mod manager or manually place the DLL into:
BepInEx/plugins/
Dependencies
- BepInExPack Valheim
- Jotunn
Feedback & Support
Report bugs, request features, or provide feedback through Discord:
