
HelloValheim
Minimal starter plugin that logs when Valheim loads it.Hello Valheim
A minimal BepInEx 5 plugin. When Valheim loads it, the plugin writes Hello Valheim is loaded! to the BepInEx log.
Install
Install this package and its Valheim BepInEx pack dependency in a Valheim profile using Gale, r2modman, or Thunderstore Mod Manager, then choose Start modded. For manual installation, place HelloValheim.dll in BepInEx/plugins after installing the BepInEx pack.
Build from source
-
From the solution folder, run:
dotnet build .\ValheimMods.slnThe build copies every DLL in the plugin project's output folder to the selected Gale profile's
BepInEx\pluginsfolder. By default, this is%APPDATA%\com.kesomannen.gale\valheim\profiles\Default\BepInEx\plugins.If Valheim is installed elsewhere, pass
-p:ValheimInstall="C:\path\to\Valheim". If your Gale profile is notDefault, pass-p:GaleProfile="C:\path\to\your\Gale\profile". To choose another plugin folder directly, pass-p:ValheimPluginsPath="C:\path\to\BepInEx\plugins". -
Launch Valheim with Start modded in Gale and check Gale's BepInEx log for the message.
The build copies DLLs from this project's output folder. BepInEx and Unity runtime assemblies are supplied by Gale's profile and the game; the project does not copy those assemblies.