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
模組介紹 作者原文
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: B no-cost building, Z fly, K kill enemies, L remove 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.dll into /BepInEx/plugins.
- Launch the game — the config file is created automatically at
/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 devcommands directly 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.
Lice
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: