Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
DevToggle
Automatically enables devcommands and debugmode on world load. Hotkeys to toggle devcommands, debugmode, god mode, ghost mode, time of day, and environment overrides. On-screen confirmations for every action. ConfigurationManager compatible.
| Last updated | 2 weeks ago |
| Total downloads | 209 |
| Total rating | 1 |
| Categories | Mods Client-side Utility AI Generated |
| Dependency string | YouDied-DevToggle-1.0.0 |
| Dependants | 0 other packages depend on this package |
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
DevToggle — Valheim Mod
Author: YouDied! Version: 1.0.0 Framework: BepInEx 5.x
What it does
Automatically enables developer tools when loading into a world, with hotkeys to toggle everything on the fly. On-screen messages confirm every action.
- DevCommands — the master switch. Must be ON before anything else will work.
- Debug Mode — enables creative-mode keys:
Bno-cost building,Zfly,Kkill enemies,Lremove drops. - God Mode — invincible.
- Ghost Mode — enemies ignore you.
- Time of Day — set a fixed time or restore the normal cycle.
- Environment — force a weather override or restore default weather.
Install
- Make sure BepInEx 5.x is installed.
- Drop
DevToggle.dllinto<Valheim>/BepInEx/plugins/. - Launch the game — the config file is created automatically at
<Valheim>/BepInEx/config/YouDied.DevToggle.cfg.
Default hotkeys
| Action | Key |
|---|---|
| Toggle Dev Commands | 0 |
| Toggle Debug Mode | - |
| Toggle God Mode | G |
| Toggle Ghost Mode | H |
| Apply Time of Day | F6 |
| Reset Time of Day | Alt + F6 |
| Apply Environment | F7 |
| Reset Environment | Alt + F7 |
All hotkeys are configurable. Set to None to disable any of them.
Configuration
Config sections are numbered so they appear in a logical order in any config manager.
1 - DevCommands
| Setting | Default | Description |
|---|---|---|
EnableDevCommands |
true |
Auto-enable devcommands on world load |
ToggleDevCommands |
0 |
Hotkey to toggle devcommands on/off |
2 - DebugMode
Requires DevCommands to be ON.
| Setting | Default | Description |
|---|---|---|
EnableDebugMode |
true |
Auto-enable debugmode on world load |
ToggleDebugMode |
- |
Hotkey to toggle debugmode on/off |
3 - God Mode
Requires DevCommands to be ON.
| Setting | Default | Description |
|---|---|---|
EnableGodMode |
false |
Auto-enable god mode on world load |
ToggleGodMode |
G |
Hotkey to toggle god mode on/off |
4 - Ghost Mode
Requires DevCommands to be ON.
| Setting | Default | Description |
|---|---|---|
EnableGhostMode |
false |
Auto-enable ghost mode on world load |
ToggleGhostMode |
H |
Hotkey to toggle ghost mode on/off |
5 - Time of Day
| Setting | Default | Description |
|---|---|---|
AutoSetTOD |
false |
Auto-apply TODValue on world load |
TODValue |
0.5 |
0.0 = midnight · 0.5 = noon · 1.0 = midnight |
HotkeyResetTOD |
Alt+F6 |
Reset to normal day/night cycle |
HotkeyApplyTOD |
F6 |
Apply TODValue immediately |
6 - Environment
| Setting | Default | Description |
|---|---|---|
AutoSetEnv |
false |
Auto-apply environment override on world load |
EnvName |
Clear |
Environment to apply (see valid values below) |
HotkeyResetEnv |
Alt+F7 |
Reset to default weather |
HotkeyApplyEnv |
F7 |
Apply EnvName immediately |
Valid environment names:
Clear · Twilight_Clear · Misty · Darklands_dark · Heath clear · DeepForest Mist · GDKing · Rain · LightRain · ThunderStorm · Eikthyr · GoblinKing · nofogts · SwampRain · Bonemass · Snow · Twilight_Snow · Twilight_SnowStorm · SnowStorm · Moder · Ashrain · Crypt · SunkenCrypt
Hotkey safety
Hotkeys are suppressed while:
- The chat window (
T) is open and focused. - The F5 developer console is open.
This prevents accidental toggles while typing commands or chatting.
Known limitations
⚠ Manual console changes can desync DevCommands state If you type
devcommandsdirectly in the F5 console, the mod's internal state will be out of sync. Hotkeys for debug mode, god mode, and ghost mode use the mod's tracked state to determine whether DevCommands is active, so they may behave incorrectly after a manual toggle. To resync, simply press the DevCommands hotkey (0) twice.
ConfigurationManager support
If you have BepInEx ConfigurationManager installed, changes made in the in-game config UI take effect immediately — no world reload needed. Enabling or disabling any auto-enable toggle applies instantly.
License
MIT — do whatever you want with it.