[GH-ISSUE #3840] [FEATURE] Integrate BepInEx into LinuxGSM independent of ValheimPlus #2504

Closed
opened 2026-02-27 03:03:27 +03:00 by kerem · 7 comments
Owner

Originally created by @Albonation on GitHub (Apr 8, 2022).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3840

User Story

As a user of LinuxGSM to get a Valheim dedicated game server up and running, I would like to use ./vhserver mods-install to list BepInEx (for Valheim) separate from ValheimPlus. Currently ./vhserver mods-install only lists ValheimPlus which bundles BepInEx with it, but there are individuals who would not want to use ValheimPlus. So, having an option to install ValheimPlus OR BepInEx would be appreciated.

Basic info

Distro: Debian GNU/Linux 10 (buster)
Arch: x86_64
Kernel: 4.19.0-20-amd64

Further Information

I was able to achieve this on my own by installing BepInEx manually and adjusting the file "start_server_bepinex.sh" so that the line starting with "exec ./valheim_server.x86_64 reads as the following (as opposed to what it says originally):
exec ./valheim_server.x86_64 "$@"

Before making that change, the file "start_server_bepinex.sh" would not allow the instance configuration files from LinuxGSM to do anything and I had to troubleshoot why I was getting the wrong password. Because start_server_bepinex.sh was setting the password.

Originally created by @Albonation on GitHub (Apr 8, 2022). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3840 ## User Story As a user of LinuxGSM to get a Valheim dedicated game server up and running, I would like to use ./vhserver mods-install to list BepInEx (for Valheim) separate from ValheimPlus. Currently ./vhserver mods-install only lists ValheimPlus which bundles BepInEx with it, but there are individuals who would not want to use ValheimPlus. So, having an option to install ValheimPlus OR BepInEx would be appreciated. ## Basic info Distro: Debian GNU/Linux 10 (buster) Arch: x86_64 Kernel: 4.19.0-20-amd64 ## Further Information I was able to achieve this on my own by installing BepInEx manually and adjusting the file "start_server_bepinex.sh" so that the line starting with "exec ./valheim_server.x86_64 reads as the following (as opposed to what it says originally): exec ./valheim_server.x86_64 "$@" Before making that change, the file "start_server_bepinex.sh" would not allow the instance configuration files from LinuxGSM to do anything and I had to troubleshoot why I was getting the wrong password. Because start_server_bepinex.sh was setting the password.
Author
Owner

@ottyn commented on GitHub (May 1, 2022):

This would be helpful also for other games that have mods that use BepInEx. For instance 7 Days to Die with the Undead Legacy overhaul. It comes bundled with a specific version of BepInEx, but could use a flag in LGSM to have it run the BepInEx launcher instead of the default startserver.sh file.

<!-- gh-comment-id:1114119078 --> @ottyn commented on GitHub (May 1, 2022): This would be helpful also for other games that have mods that use BepInEx. For instance 7 Days to Die with the Undead Legacy overhaul. It comes bundled with a specific version of BepInEx, but could use a flag in LGSM to have it run the BepInEx launcher instead of the default startserver.sh file.
Author
Owner

@h3o66 commented on GitHub (Aug 22, 2022):

Needed for the integration/update of beepinex:
Api docs from thunderstore:
https://valheim.thunderstore.io/api/docs/

example to get the latest beepinex version from thunderstore:
curl -s -X GET "https://valheim.thunderstore.io/api/experimental/package/denikson/BepInExPack_Valheim/" -H "accept: application/json"

<!-- gh-comment-id:1223289076 --> @h3o66 commented on GitHub (Aug 22, 2022): Needed for the integration/update of beepinex: Api docs from thunderstore: https://valheim.thunderstore.io/api/docs/ example to get the latest beepinex version from thunderstore: `curl -s -X GET "https://valheim.thunderstore.io/api/experimental/package/denikson/BepInExPack_Valheim/" -H "accept: application/json"`
Author
Owner

@MLNW commented on GitHub (Dec 29, 2022):

I see that a PR for this has been merged, ergo it should be included in the next release? Is there an ETA for the next release?

<!-- gh-comment-id:1367193141 --> @MLNW commented on GitHub (Dec 29, 2022): I see that a PR for this has been merged, ergo it should be included in the next release? Is there an ETA for the next release?
Author
Owner

@andreileonsalas commented on GitHub (Mar 9, 2023):

is this usable normally? how can i use it in my current install?

<!-- gh-comment-id:1461360598 --> @andreileonsalas commented on GitHub (Mar 9, 2023): is this usable normally? how can i use it in my current install?
Author
Owner

@h3o66 commented on GitHub (Mar 12, 2023):

is this usable normally? how can i use it in my current install?

You should be able to use this with version 23.1.0 and later.

to install bepinex just use:
./vhserver mods-install (or mi as short command of lgsm)

then type bepinexvh to install it.

<!-- gh-comment-id:1465158932 --> @h3o66 commented on GitHub (Mar 12, 2023): > is this usable normally? how can i use it in my current install? You should be able to use this with version 23.1.0 and later. to install bepinex just use: `./vhserver mods-install` (or `mi` as short command of lgsm) then type `bepinexvh` to install it.
Author
Owner

@mamolli commented on GitHub (Mar 25, 2023):

I am getting a lot of:
ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
After installing and running ./vhserver start

<!-- gh-comment-id:1483847298 --> @mamolli commented on GitHub (Mar 25, 2023): I am getting a lot of: `ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.` After installing and running `./vhserver start`
Author
Owner

@github-actions[bot] commented on GitHub (Mar 25, 2024):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:2017001661 --> @github-actions[bot] commented on GitHub (Mar 25, 2024): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2504
No description provided.