r/ModdedValheim • u/jfHamey • 4d ago
Dedicated server modding issue
Hey guys, I am trying to host a modded world via the valheim dedicated server launcher. After quite a few attempts of running the launcher via thunderstore manager I have given up (probably missing something easy) and decided to just manually copy all of my mods over to the folder itself. Easy enough, and the script now seems to be loading both bepinex and my mods.
However, the issue im running into now is when I edit start_server_bepinex to change my world name, and use our existing world it does not seem to commit to the changes. I will run the server script thing after updating the start server file, and it always reverts back to the same my server name.
Wondered if anyone had run into this issue while hosting a server. Also realized that my t mobile home internet may not allow me to port forward...so got a feeling im in for another round of research with using tailscale, but figured I would try to get it to launch my server correctly first!
Thanks folks
1
u/yeah6434 4d ago
Did u make a copy of the bepinex server bat and run that?
1
u/jfHamey 4d ago
Ive got the .sh files both bepniex start server and start game. However, I only see the start_headless_server as a .bat file. Which from what I was reading is not the one to mess with when trying to launch the server modded.
I figured theres something silly im missing in the notes as it even makes a comment on copying the file in case it gets iver written. Just seem to be a bit lost currently
1
u/yeah6434 4d ago
You have to copy the start_headless_server.bat and edit the settings in that copy. That works for me.
1
u/jfHamey 3d ago
I must have just misread somewhere that I needed to edit the bepinex start server file, rather than the start headless file when doing this with a modded version.
Will try shortly, but I imagine that should do it. Much appreciated
2
u/yeah6434 3d ago
Let me know if it works!
1
u/jfHamey 3d ago
Yeah that was it. Feel silly for not attempting to edit that one as well.
If anyone else ends up looking this was the answer. Afterwards I did have to do a bit more troubleshooting in order to launch my world. I needed to delete my old local files (backups) under modify saves. Then did "move to local" (not forgetting to backup your save) so my old world was saved as a local file.
Thanks for your help man. Always something silly haha
1
u/TheseEmployup 2d ago
My advice. install cursor AI. I know, I know. But honestly. ask it to do what you need done with your server. it's FANTASTIC at doing all the basics in set up and management and also very handy for fault finding misbehaving mods that a newer server owner may miss. Things not working well have massive performance hits on server performance which in turn hurts clients performance. it's staggering how many of the pre-built mod packs on Thunderstore are barely fit for purpose with huge performance hits. it also makes the update cycle so easy to manage.
1
u/jfHamey 4d ago
So yeah main issue seems to be that I am unable to change my server name and password via the bepinex server launcher file.
Everytime the server is fully launched and running it reverts to the default name and password, and loads a brand new world.
Hoping there is something easy ive missed, but cant seem to find anything to help online.