Valheim

Valheim

67 hodnocení
Valheim Dedicated Game Server Setup Guide
Vytvořil: 💖⎛⎝Silver Knight⎠⎞
This guide shows you what is required to get your very own Valheim dedicated server up and running. Not too much is known about Valheim right now due to just being released and i will update this guide as more is known. If you see any errors, please let me know and i will update them here in the guide.
2
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Introduction
This guide shows you what is required to get your very own Valheim dedicated server up and running. Not too much is known about Valheim right now due to just being released and i will update this guide as more is known. If you see any errors, please let me know and i will update them here in the guide.
Installation of server files
The first step is to retrieve the files for the game, this is done via SteamCMD.

Follow the guide here on how to use STEAMCMD.

Download SteamCMD for Windows: https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip

Once you have STEAMCMD, run the following command:

steamcmd +login anonymous +force_install_dir C:\valheimserver +app_update 896660 validate +exit

Note: You can adjust the +force_install_dir parameter to the directory you want to download the server to.

This will then download the entire game, Once completed, it's time to setup the server configuration.
Server Configuration
In this section we define the options on configuration and some basic commandline parameters

The best method for a self-hosted solution is to use the provided .batch file

Inside myserver\ folder where you downloaded the game files, create a bat file e.g. start.bat

Inside the .bat file enter in this:

start /high valheim_server -nographics -batchmode -name "SERVER NAME" -port 2456 -world "CHANGEME" -password "PASSWORD"

Change parameters as required e.g.Change theport to the ports you want to use ( You will have to portforward/open them )

Change name to what you want your server name to be.

Change password to what you want.
Running the server
The best method for a self-hosted solution is to use the created .bat file you created above

Inside the folder you set with steamcmd to install the files above, use the myserver\ folder where you downloaded the game files, Run Start.bat.

Please note some port-forwarding may be required, by default the server will use port 2456 and 2457, each server should use unique ports and runs a separate process. You should unblock these port in your firewall\router.

If setting up your own server is too much work for you, then please consider renting a server from Citadel Servers[citadelservers.com] - They setup everything for you and offer over 20 locations worldwide, i would highly recommend them

Počet komentářů: 107
2GAT123 10. úno. 2021 v 12.30 
Thank you.
Llenlleawg 10. úno. 2021 v 9.04 
Is anonyone seens all constructions and items gathered disapeared? We had what was discovered on the map but all the construction and items disappeared. Helppp
Tree 10. úno. 2021 v 8.20 
Can anyone post pics of how the .bat files look? i have no idea if im inputting this stuff correctly
Jagg 10. úno. 2021 v 7.37 
Got this working perfectly for 1 server. I'm trying to run another one on the same spare PC with a different port (forwarded different port as well) but it never shows up in server list on steam. Any ideas?
Hammylicious 10. úno. 2021 v 6.08 
To update the server, run the command "force_install_dir" to whatever directory you installed the game to before running the app update (app_update). Might have to update both app 896660 (the dedicated server itself) and/or 892970 (the game itself). I did both, but I would think it's just an update to the game files usually.
PollyReal 10. úno. 2021 v 4.27 
Been running the server for a few days logging out and logging back in, but since the update I can't start the the server got an error ./Runtime/Export/Debug/Debug.bindings.h Line: 35 when starting the server. Anyone with the same problems?
MadZ 10. úno. 2021 v 3.07 
Hello, how can I update the server ?
artyy__ 10. úno. 2021 v 2.43 
Ive updated the server on linux, and updates steamcmd and updated the app but the game still says incompatible version after the latest small patch that they put out, did anyone else get that or should i just reinstall the server?
Scotty 9. úno. 2021 v 23.59 
Same problem as @Nakoda. I can find my locally hosted server in the server browser and connect to it, but none of my friends can even see my server when searching for it. Before anyone asks, I can say with confidence my port forwarding on my router was set up as recommended (port range: TCP/UDP: 2456 ~ 2458)

FWIW, Steam provides a dedicated server client under Tools, so I didn't have to bother with any of the Installation portion of this tutorial, which would have been redundant given the pre-configured settings.
scrublord 9. úno. 2021 v 19.49 
Adding Steam ID to the admin lists, restarted our server, still unable to issue any admin commands. Anybody else?