mirror of
https://github.com/mbround18/valheim-docker.git
synced 2021-10-22 21:53:54 +03:00
* Docs and releases * added specific files for package * added readme * moved odin.md to README.md in odin folder * http-server to huginn * ignore files
3.4 KiB
3.4 KiB
BepInEx Support
Installing BepInEx
Due to the fact that there are so many variants of installing and running BepInEx; we will be covering only the basics. If you have additional questions please visit their discord. BepInEx Discord If you have issues with setting up a specific plugin, please contact the mod developer!
-
Access the container as the steam user.
docker-compose exec --user steam valheim bash -
Create a new folder
mkdir -p ~/tmp -
Download BepInEx
wget -O /home/steam/tmp/bepinex.zip https://github.com/valheimPlus/ValheimPlus/releases/download/0.9.7/UnixServer.zip -
Extract the BepInEx zip file
unzip -o /home/steam/tmp/bepinex.zip -d /home/steam/valheim -
Cleanup files
cd /home/steam/valheim && rm -rf /home/steam/tmp -
Restart your server.
You should see a huge disclaimer in your console about running with bepinex.
BepInEx/Modded Variables
These are set automatically by Odin for a basic BepInEx installation; you DO NOT need to set these and only mess with them if you Know what you are doing.
| Variable | Default | Required | Description |
|---|---|---|---|
| LD_PRELOAD | libdoorstop_x64.so |
TRUE | Sets which library to preload on Valheim start. |
| LD_LIBRARY_PATH | ./linux64:/home/steam/valheim/doorstop_libs |
TRUE | Sets which library paths it should look in for preload libs. |
| DOORSTOP_ENABLE | TRUE |
TRUE | Enables Doorstop or not. |
| DOORSTOP_LIB | libdoorstop_x64.so |
TRUE | Which doorstop lib to load |
| DOORSTOP_LIBS | /home/steam/valheim/doorstop_libs |
TRUE | Where to look for doorstop libs. |
| DOORSTOP_INVOKE_DLL_PATH | /home/steam/valheim/BepInEx/core/BepInEx.Preloader.dll |
TRUE | BepInEx preload dll to load. |
| DOORSTOP_CORLIB_OVERRIDE_PATH | /home/steam/valheim/unstripped_corlib |
TRUE | Sets where the decompiled libraries containing base mono files are located at |
| DYLD_LIBRARY_PATH | "/home/steam/valheim/doorstop_libs" |
TRUE | Sets the library paths. NOTE: This variable is weird and MUST have quotes around it! |
| DYLD_INSERT_LIBRARIES | /home/steam/valheim/doorstop_libs/libdoorstop_x64.so |
TRUE | Sets which library to load. |