-
Notifications
You must be signed in to change notification settings - Fork 3
Frequently Asked Questions
A dedicated server allows you to run the multiplayer component of Valheim in the background without having the whole game running. This lets other players hop in and out of your multiplayer game event while you (the host) are not actively playing.
Running a dedicated server from your own PC has a few benefits:
- As host, you can run a game for your friends without needing to actively play the game at the same time.
- This means if you leave your PC on with the dedicated server running, you can have your friends play while you're away, at work, or asleep, without having to worry about your own character getting mauled by a wandering Greyling.
- You can hop to your own single-player world while still hosting a multiplayer game - so you can access that personal stash of iron we all know you're pulling from.
- You could get all these benefits from a paid server provider as well, but this is 100% free - as long as you're willing to leave your PC on!
Currently, running a dedicated server is a little hacky and involves editing a batch file that may get overwritten by Steam. This may improve over time (the game is in Early Access, after all), but for now I've written this application that will do the same thing just by editing a few form fields. Plus, you get all the nice features listed in the README for free!
Yes! As of v2.0.0, ValheimServerGUI supports running multiple servers at once. Here's how you do it:
- Go to File > New Window. Each server will run in a separate window.
- In the new window, to go File > New Profile, and enter a name for this server configuration. You can now modify the server details in this window independently from the Default profile.
- You can save your server details at any time with File > Save Profile. Your profile is also saved each time you start the server, unless you have disabled this setting under File > Preferences.
- To switch between profiles in any window, go to File > Load Profile.
Yes! As long as you are still ultimately running your server through valheim_server.exe, you can use your mods in conjunction with ValheimServerGUI. For example, it's been tested and working with a Valheim Plus server configuration.
If you have a server-side mod that you're unable to use with ValheimServerGUI, please open an issue and let me know. I'll see if it's something I can support.
There are some cases where ValheimServerGUI cannot accurately match up a player's name with their Steam/Xbox ID based on the server's logs. Particularly, this can happen when multiple players join the server at the same time. In these cases, the app will take its "best guess" as to what the correct name pairing should be.
To fix a mismatched name, click "View Player Details..." for the affects players, and add/remove character names as needed. The next time the players join the server, the app will prefer to match them up to a name that's already in that player's list.
To avoid this entirely, have each player join your server one at a time - specifically, make sure there are no two players in the "Joining" status at the same time. Once ValheimServerGUI is able to match up a Character Name / Steam ID confidently, it will remember this for future sessions so that it's less likely to happen again.
To understand why this happens, you should first know that World Modifiers can be set one of two different ways:
- When you set them in-game, Valheim saves the modifiers directly to your world file.
- When you set them on a server, the modifiers are passed to the server as command-line options.
When you set world modifiers in VSG, you're simply telling it to pass command-line options when the server starts up. These command-line options will override any options that are already saved to the world file.
However, there is a problem! If, for example, you have set Death Penalty: Normal in VSG, but set Death Penalty: Hard in Valheim (saved to the world file), then you will ultimately get Death Penalty: Hard when the server launches. This happens because:
- There is no command-line option for "Normal" values. The only way to set a modifier to its "Normal" value on server startup is to not set it at all.
- A workaround might be for VSG to read what modifiers are already set on the world, and to pass the same values (if they are not "Normal") to the command-line. However, this would require VSG to be able to parse the world file, which it currently cannot do.
For now, the recommendation is to reset all world modifiers to Normal within Valheim if you want to manage them through VSG instead. If you know how to solve either of these problems, please let me know on Discord!