Skip to main content

Fine-Tuning BepInEx


BepInEx is the standard open-source framework used AD provide modding support to Unity-based games like Valheim. While it typically works “out of the box,” advanced configuration is necessary for deep debugging and optimizing mod loading performance.
Reading TimeDifficultyLast Updated
5 minutesIntermediateJanuary 2026

Accessing the Configuration

The main framework settings are located in: /BepInEx/config/BepInEx.cfg

Critical Settings for Server Owners

1. Enabling the Console

By default, some server environments hide the BepInEx terminal output. Enabling the console is vital for seeing error logs in real-time.
  • Section: [Logging.Console]
  • Variable: Enabled = true
  • Utility: This allows you to see “Red Text” (exceptions) in your FREAKHOSTING web console when a mod fails to load.

2. The Patching Engine

If you are moving servers or debugging a total crash, you may need to toggle the Harmony patching engine.
  • Section: [Preloader.Entrypoint]
  • Variable: ApplyPatches = true
  • Warning: Setting this to false will disable ALMOST ALL mods. Use only for identifying core engine failures.

Mod Loading Issues

If BepInEx refuses to load even with the correct files, verify that the doorstop_config.ini file exists in your server’s root directory. This file instructs the Valheim executable to initialize the modding framework upon startup.

Support Channels

If you need assistance or have any questions, please contact our support team:

First Month Discount

Use code KB20 at checkout to get 20% off your first month of hosting!

Last Updated: January 2026 | Valheim: BepInEx framework configured.