Dedicated Servers

I'm not the most savvy, but the process for setting up a dedicated server should have been streamlined before Hearth and Home. I love this game, but it really puts me off how much ♥♥♥♥♥♥♥ around there is to start a server with your seed of choice.
2:13 am, September 27, 2021
JonBloodspray 0 comments 0 likes

L1m3r replied to Dedicated Servers May 1, 2023 @ 2:17:14 am PDT

Originally posted by B Rich:
But alas, my local LAN IP won't work for the server no matter what I do. Only the invite code or online IP work.

LAN IP vs. invite code / external is a crossplay/playfab problem.
Just disable crossplay on the dedicated server on your local LAN IP will work fine (with firewall exceptions of course).

Originally posted by B Rich:
Nor will my world load into the dedicated server. Its a new world every time no matter what I try.
Dunno what you're doing wrong with the world there. It couldn't be easier to just copy your world.db/.dwl to the proper server folder and tell the server startup (script) to use that world name. Done.
And "new world every time"? Are you running the server in a (windows) guest user account or something? That's the only reason I could think of right now for that behavior

Originally posted by B Rich:
Spent a whole day on it, and I do understand PCs...

So our only option is to pay for a server to play the same world in the same house?
That is pretty lame.
Sorry to disagree with you there but you don't seem to understand PCs - at least not to any degree I'd count...
I get not knowing about that stupid crossplay/playfab behavior but not even trying to disable an optional networking feature?...
Not to mention whatever problem you're having with your world (at least not without a lot more information).
11:13 am, May 1, 2023
0 comments 0 likes

JPValheim replied to Dedicated Servers April 29, 2023 @ 9:00:46 pm PDT

Its challenging to setup a dedciated server on your own computer and keep it running reliably. However; its super easy to just rent a server for $15-$20 a month and then you barely have to do anything.
8:13 pm, April 30, 2023
0 comments 0 likes

c0nan666 replied to Dedicated Servers April 30, 2023 @ 12:35:55 pm PDT

just rent a sever or download the dedicated sever in your library pretty easy.
8:13 pm, April 30, 2023
0 comments 0 likes

sarteck replied to Dedicated Servers April 29, 2023 @ 7:21:46 pm PDT

Originally posted by Fuzzynuts22:
I don't understand why it's made so difficult to setup and play on a server. I feel like I need a computer science degree just so my friend and I can play in the same world without needing to always be on at the same time. Any plans to make this way less of a headache in the future? It's actually ridiculous

Originally posted by Fuzzynuts22:
I might just be dumb. I'll keep trying to figure it out lol Idk what I'm missing. Thanks tho peeps

Just give a heads up on what issues you're having trouble with, and some people will try their best to help you out. (Just have to sort past the trash posts.) Give us a heads up with exactly what you've tried and what isn't working.
5:13 am, April 30, 2023
0 comments 0 likes

Tarc Novar replied to Dedicated Servers April 29, 2023 @ 7:49:59 pm PDT

I find that using Game Server Manager is great. Once the setup is done, running the server is simple.

https://steamcommunity.com/app/892970/discussions/0/4939856028583358261/

I highly recommend GSM.
5:13 am, April 30, 2023
0 comments 0 likes

Gullunardo replied to Dedicated Servers April 29, 2023 @ 9:00:46 pm PDT

Its challenging to setup a dedciated server on your own computer and keep it running reliably. However; its super easy to just rent a server for $15-$20 a month and then you barely have to do anything.
5:13 am, April 30, 2023
0 comments 0 likes

B Rich replied to Dedicated Servers April 29, 2023 @ 6:32:59 pm PDT

Originally posted by Fuzzynuts22:
I might just be dumb. I'll keep trying to figure it out lol Idk what I'm missing. Thanks tho peeps
Same, my wife and I want to be able to play on the same world whenever from different PCs.
Dedicated server seemed like the winner.
But alas, my local LAN IP won't work for the server no matter what I do. Only the invite code or online IP work.
Nor will my world load into the dedicated server. Its a new world every time no matter what I try.
Spent a whole day on it, and I do understand PCs...

So our only option is to pay for a server to play the same world in the same house?
That is pretty lame.
2:13 am, April 30, 2023
0 comments 0 likes

Jofraniac replied to Dedicated Servers March 24, 2023 @ 11:36:01 am PDT

It's gonna be difficult only if you don't like to deal with computer stuff in general, and that is true for every game server, you just have to be interested enough in the subject and search for the right tutorials. You don't even need to spend any money to have your own dedicated server.
9:13 pm, March 24, 2023
0 comments 0 likes

Quintium replied to Dedicated Servers March 24, 2023 @ 12:30:21 pm PDT

Originally posted by Ammikaameri:
Well if they change the game to a monthly subscription like 10 bucks a month then it could be done. For now it is a single payment game and you have to host or pay for the server yourself. But it is not hard to make a dedicated server or rent one.

There are game hosting services as well, so you don't have to mess with it yourself. Like gPortal.

In the end, the cost is yours.
9:13 pm, March 24, 2023
0 comments 0 likes

Fuzzynuts22 replied to Dedicated Servers March 24, 2023 @ 12:34:27 pm PDT

I might just be dumb. I'll keep trying to figure it out lol Idk what I'm missing. Thanks tho peeps
9:13 pm, March 24, 2023
0 comments 0 likes

Faceplant8 replied to Dedicated Servers March 24, 2023 @ 1:55:04 pm PDT

I run this under Docker:

https://hub.docker.com/r/lloesche/valheim-server

It handles all the Steam interaction, updates, backups, even modding if you want to do that.

You need to learn a bit about Docker, but it might actually be easier than figuring out how to install a Valheim server, and Learning about Docker might be more useful in the long run. You can probably find a Docker image for most any game server, and, of course, you can run all kinds of non-game software in Docker.
9:13 pm, March 24, 2023
0 comments 0 likes

Mandos replied to Dedicated Servers March 24, 2023 @ 2:01:38 pm PDT

Originally posted by Fuzzynuts22:
I might just be dumb. I'll keep trying to figure it out lol Idk what I'm missing. Thanks tho peeps

What are you hung up upon?
9:13 pm, March 24, 2023
0 comments 0 likes

Zelph replied to Dedicated Servers March 24, 2023 @ 9:52:15 am PDT

Its not hard to make a dedicated server though? I made one and I literally used the tool they give you and launched it, done.
6:13 pm, March 24, 2023
0 comments 0 likes

Ammikaameri replied to Dedicated Servers March 24, 2023 @ 9:54:47 am PDT

Well if they change the game to a monthly subscription like 10 bucks a month then it could be done. For now it is a single payment game and you have to host or pay for the server yourself. But it is not hard to make a dedicated server or rent one.
6:13 pm, March 24, 2023
0 comments 0 likes

DarthTanyon replied to Dedicated Servers March 24, 2023 @ 10:29:09 am PDT

It's the same for every online game period.. if you want a dedicated server it's hard work and know how or you pay for it.. the games can't just have a bunch of servers for us all to use.. how would they support that? this is not their issue. Sorry.
6:13 pm, March 24, 2023
0 comments 0 likes

Shade replied to Dedicated Servers November 12, 2022 @ 2:37:31 pm PST

Worth in general imo. I legit just got back into the game and reset up my gportal server in like 5 minutes does cost 14 a month tho.

Gives you an option to toggle crossplay on and off in the server settings.
12:13 am, November 13, 2022
0 comments 0 likes

张子枫他大舅 replied to Dedicated Servers November 12, 2022 @ 12:35:39 pm PST

But I think the server really has bugs. We have nearly 1000ms ping when we get together. It becomes normal when we get far from each other. It really annoys me....
9:13 pm, November 12, 2022
0 comments 0 likes

OneEye replied to Dedicated Servers November 12, 2022 @ 9:40:37 am PST

I use Gportal. I rarely have even a small bit of lag. Setting it up was really easy especially if a guy like me with moderate computer skills had little problem.
6:13 pm, November 12, 2022
0 comments 0 likes

Macjennin4 replied to Dedicated Servers October 26, 2022 @ 1:56:37 am PDT

I have done all of the above, but am getting errors like this in the Dedicated Server cmd.exe. It looks like I'm having trouble connecting to PlayFab, but not sure. It just keeps gonnecting for a minute and then disconnecting

10/26/2022 16:53:19: PlayFab reconnect server 'NanningServer'
10/26/2022 16:53:19: Server 'NanningServer' begin PlayFab create and join network for server
failed to establish or maintain a connection to a network or remote peer
PARTY_STATE_CHANGE_RESULT_INTERNET_CONNECTIVITY_ERROR
failed to establish or maintain a connection to a network or remote peer
PARTY_STATE_CHANGE_RESULT_INTERNET_CONNECTIVITY_ERROR
failed to establish or maintain a connection to a network or remote peer
failed to establish or maintain a connection to a network or remote peer
PARTY_STATE_CHANGE_RESULT_INTERNET_CONNECTIVITY_ERROR
failed to establish or maintain a connection to a network or remote peer
failed to establish or maintain a connection to a network or remote peer
Failed to send session data. Error: /Event/WriteTelemetryEvents: The requesting entity is not authorized to write events with namespace playfab.party. Allowed namespaces can be 'custom' or begin with 'custom.'.
10/26/2022 16:53:27: Game server disconnected
Failed to send session data. Error: /Event/WriteTelemetryEvents: The requesting entity is not authorized to write events with namespace playfab.party. Allowed namespaces can be 'custom' or begin with 'custom.'.
Failed to send session data. Error: /Event/WriteTelemetryEvents: The requesting entity is not authorized to write events with namespace playfab.party. Allowed namespaces can be 'custom' or begin with 'custom.'.
Failed to send session data. Error: /Event/WriteTelemetryEvents: The requesting entity is not authorized to write events with namespace playfab.party. Allowed namespaces can be 'custom' or begin with 'custom.'.
10/26/2022 16:53:33: Game server connected
11:13 am, October 26, 2022
0 comments 0 likes

Renlish replied to Dedicated Servers October 24, 2022 @ 11:05:55 pm PDT

Without actually knowing what's happening, it's hard for anyone to help you. What happens when you try to connect? How far into the start-game process are you when you hit problems?

First basic things to try:

Remove the mods you have running. See how vanilla runs. That's always first port of call.

Verify the your game files as this can help clear bottle-necks.

Check with your host that things are working correctly as they might need to refresh something.

Something as simple as restarting your router may fix this.

Flush the IP.

Start Valheim as Administrator.

If you're able to connect at all but hit problems loading the seed, you might need to start a new one as your current may be corrupted.
8:13 am, October 25, 2022
0 comments 0 likes

M4xhunt3r replied to Dedicated Servers October 24, 2022 @ 11:07:47 pm PDT

Heeey, I just happened to see this post was freshly posted lol. I am looking 4 a Valheim team/server to play with n have fun. Any rules goes for me :)
8:13 am, October 25, 2022
0 comments 0 likes

Takama replied to Dedicated Servers September 27, 2021 @ 6:22:40 am PDT

Originally posted by Pappy:
Depending on configuration options you put in the start up script, There will be an option to specify the map location, for example one of the servers i run uses something like below. You can ignore the -ip unless you run multiple IP's on your system.

valheim_server -nographics -batchmode -name "Yourservername" -ip YourhostIP -port 3456 -world "YourSavedMapName" -password "yourpassword" -savedir D:\Valheim-Node3\Gamesave\ -public 1

If you don't specify a -savedir, you will need to navigate to C:\Users\yourlogonname\AppData\LocalLow\IronGate\Valheim\Worlds\ and copy your generated map (the .db and the .fwl). You'll then need to make sure the -world "YourSavedMapName" is changed to match the name of the .db/.fwl file. That's it, there is also a PDF in the installation directory that explains these options in more detail.

What he said,

and if you are under linux, the default worlds save location is : ~/.config/unity3d/IronGate/Valheim/worlds/
2:13 pm, September 27, 2021
0 comments 0 likes

JonBloodspray replied to Dedicated Servers September 26, 2021 @ 8:31:00 pm PDT

I tried that but guess I messed it up. Not lazy, just didn't understand the directions.
5:13 am, September 27, 2021
0 comments 0 likes

Pappy replied to Dedicated Servers September 26, 2021 @ 9:46:25 pm PDT

Depending on configuration options you put in the start up script, There will be an option to specify the map location, for example one of the servers i run uses something like below. You can ignore the -ip unless you run multiple IP's on your system.

valheim_server -nographics -batchmode -name "Yourservername" -ip YourhostIP -port 3456 -world "YourSavedMapName" -password "yourpassword" -savedir D:\Valheim-Node3\Gamesave\ -public 1

If you don't specify a -savedir, you will need to navigate to C:\Users\yourlogonname\AppData\LocalLow\IronGate\Valheim\Worlds\ and copy your generated map (the .db and the .fwl). You'll then need to make sure the -world "YourSavedMapName" is changed to match the name of the .db/.fwl file. That's it, there is also a PDF in the installation directory that explains these options in more detail.
5:13 am, September 27, 2021
0 comments 0 likes

Takama replied to Dedicated Servers September 26, 2021 @ 6:12:55 pm PDT

Lol, you're kidding right ?

You just have to copy paste your world folder and that's it XD. Are you that lazy ?
2:13 am, September 27, 2021
0 comments 0 likes