Valheim Tutorials

Installing BepInEx on Your Valheim Server

Install BepInEx on your Valheim server to enable mod support. Upload the BepInExPack and update the startup command.

Last updated: April 13, 2026

4.9

512+ Satisfied Customers

Install BepInEx on your Valheim server to enable mod and plugin support. If you’re using the WinterNode Game Panel, our support team can handle the full installation for you.

Upload BepInEx Files

  1. Download the latest BepInExPack_Valheim from Thunderstore
  2. Extract the archive on your PC
  3. Connect to your server via SFTP
  4. Upload the contents of the BepInExPack_Valheim folder to your server’s root directory

Update the Startup Command

BepInEx requires a modified startup command to load correctly.

If you’re using the WinterNode Game Panel: Contact our support team via Discord or a Client Area ticket to update the startup command. You can skip to Next Steps.

If you manage your own server (VPS or similar): Use one of the two methods below.

Option A: Use the Startup Script

BepInEx includes a shell script that sets the required environment variables automatically.

  1. Open start_server_bepinex.sh in your server’s root directory
  2. Edit the command line arguments in the exec command at the bottom (server name, password, world name)
  3. Set the file as executable:
    chmod +x start_server_bepinex.sh
  4. Run the script from the server root:
    ./start_server_bepinex.sh

Option B: Use a Single Startup Command

If you can’t run .sh scripts, use this command instead (based on the Pterodactyl egg):

export DOORSTOP_ENABLE=TRUE; export DOORSTOP_INVOKE_DLL_PATH=.//BepInEx//core//BepInEx.Preloader.dll; export DOORSTOP_CORLIB_OVERRIDE_PATH=.//unstripped_corlib; export LD_LIBRARY_PATH=/".//doorstop_libs:$LD_LIBRARY_PATH/"; export LD_PRELOAD=/"libdoorstop_x64.so:$LD_PRELOAD/"; export templdpath=$LD_LIBRARY_PATH; export LD_LIBRARY_PATH=/".//linux64:$LD_LIBRARY_PATH/"; export SteamAppId=892970; export LD_LIBRARY_PATH=$templdpath; .//valheim_server.x86_64 -nographics -batchmode -name /"My server/" -port 2456 -world /"Dedicated/" -password /"secret/"

Replace the -name, -port, -world, and -password values with your own settings. Add -public 0 to the end to hide your server from the public server list.

Next Steps

Your server should now start with BepInEx loaded. You can confirm by checking the console output for BepInEx initialization messages.

Once BepInEx is running, follow the plugin installation guide to add mods to your server.

Frequently Asked Questions

Yes. Contact our support team through Discord or a Client Area ticket and we'll handle the entire installation.

Yes. If you're using the WinterNode Game Panel, contact support to update it. If you manage your own server, use the startup script or command provided in this guide.