#dedicated-server

1 messages Β· Page 3 of 1

proven niche
#

I have a 'not relevant' question re: SteamCMD, if you don't mind. What is the advantage to using it on a self hosted server box using headless Ubuntu OS?

lime skiff
#

the advantage for me is subjective - I use the ubuntu server to self host other things too, valheim is just an added plus. and its easy to add it to systemctl as a service so it starts on server reboot so its always running 24/7. just another thing to add to a nerdy hobby really.

objectively, is it easier, simpler, more efficient to host it on ubuntu headless? probably not. it's definitely easier to just download the dedicated server with the desktop Steam client and run it 24/7 that way instead. and for a lot of people thats probably the best. but for me, what's the fun in that? lol

although, there seems to be bit of a performance boost(slight) when connecting to a server vs hosting a world on my desktop, so there's that

proven niche
#

OIC thanks for explaining that. Personally, I've moved up to NoMachine remote control for my server box also running Debian Linux and never looked back. The increase in communication over SSH is very significant for me. And well worth any increase (currently unnoticeable) in terms of server box resources. NoMachine is free for personal use.

lime skiff
#

interesting, now checking out NoMachine's website. I'll have to give it a try sometime.

proven niche
#

It works equally well on Linux or Windows OS, if that's your daily driver. πŸ™‚

lime skiff
#

πŸ‘

#

Justin was right by the way, i was on the public test branch, and I fixed the problem. i seemed to have some leftover config from the public test over a year ago that re enabled it again.

for anyone searching this in the future, if you have "incompatible version" problems on your linux dedicated server, and it hosted the public test branch in the past, here is what worked for me:

navigate to your server directory, then to steamapps folder. for me its Valheim/steamapps
in that folder is a file titled appmannifest_896660.acf with some json
at the bottom of it are "UserConfig" and "MountedConfig" objects
if they contain references to "public beta" or "public test", delete those lines, save the file, and restart your valheim server

this also means it was not a problem with the valheim dedicated server itself, just some leftover json in a steamCMD config file

proven niche
#

Good info. Thanks for sharing it! πŸ™‚

final current
#

Another way to revert to the stable/public branch is to update the local depot passing -beta public to SteamCMD when installing/updating

dull breach
#

Does anyone know how mods work on a crossplay server? I know that the Xbox players wouldn't be able to install/use mods but if I put something like the "Plant Everything" mod on the server would the PC players be able to utilize it, or would there be errors that prevent the Xbox players from joining the server?

dull breach
proven niche
dull breach
# proven niche It's true that server mods in general won't prevent Xbox users from joining a se...

Thank you, I guess the only way to know for certain is to add the mods one at a time and see if it's still joinable. I'm avoiding adding too many mods but hoping that "No AFK Raids", "Plant Everything", and potentially "Protective Wards" work but the ward one seems to add some functions I could see creating issues. The reddit post I found indicated that the AFK one was benefiting his Xbox players on Xplay so I'm hoping I can get that one and a few QoL mods working.

proven niche
round sleet
#

We should make sure that mods discussion happens in #mods-discussion or #mods-issues , this channel is for supporting the unmodified base game πŸ˜‰

dull breach
round sleet
proven kestrel
#

Hey all, I set up a dedicated server last night. I've done it on Windows using Steam actual. I believe I've done all the port forwarding and firewall things correctly. I'm running it on a laptop but playing on a different computer (desktop).

Last night I was able to access the server no problem from my desktop. I left the server up overnight to test it. This morning I tried to log in from my desktop and it would not connect. I had to close the cmd prompt and rerun the server from the laptop to get it to work.

I messed with my laptop's settings to make sure it wouldn't turn off or anything during the day. Got home this afternoon and had to go through the process again of restarting it on the laptop before I could access it on the desktop.

Is there some sort of setting or common problem that causes servers to go offline? I haven't yet tested actually playing the game for an extensive period to see if I get DCd after X amount of time

proven niche
proven kestrel
#

Thanks I'll take a look. I also downloaded a network monitor. I'm worried this laptop has hitches in internet connection at random times, even hard wired into the router

proven niche
proven kestrel
#

Any recommendations?

proven niche
strong gale
#

What was the issue with linux servers that has been fixed now?
I run Valheim through a container via AMP

versed smelt
proven niche
strong gale
proven niche
sly flint
#

How is dedicated server performance out-of-the-box these days? I have a 64u/128g server it will be running on. I'm expecting 10 players on for Ashlands. I used to have to run some mods for better network settings on server/clients to have a smooth 10-player experience. All Steam clients.

proven niche
last summit
#

if I delete valheim, or reset my pc and install it again, will my dedicated server files be saved??

proven niche
last summit
#

oh ok, well I was just wondering because im about to reset my pc and was worried I'd lose my world files

proven niche
last summit
#

like factory reset or whatever it's called

proven niche
#

Well, you may want to copy your C:\Users\[UserID]\AppData\LocalLow\IronGate\Valheim folder to a flash drive to be sure.

last summit
#

alright, thanks

wide fiber
#

I actually got my dedicated server up and running on my raspberry pi a week or so ago, and my current valheim group has been playing on it ever since. There are 6 total but only 4 of us are really active. Usually there are 2-3 people connected at the same time.

Issues we've encountered:

  • desyncs pretty bad when sailing for a long time with 3 or more players
  • lag is brutal in Mistlands when fighting many seekers (tested with 2-4 people, pretty similar regardless of how many connections there are)

Did a bit of research on how the netcode operates to understand it better and to see if there are any potential remedies to it, but don't have anything super promising to try. So currently just continuing to play as usual and seeing how it behaves

#

My current theory is that its something to do with how chunk discovery is shared between the initial discoverer and everyone else who is online (perhaps parallel having to simultaneously process attacks and actions). But its a really weak theory atm

slow perch
#

What files/folders in the valheim directory typically get updated when the devs release an update? I'm running a second dedicated server via a 2nd game folder, so steam will only update one of my servers.

wide cipher
slow perch
wide cipher
#

oh lord. it totally depend on what we update etc

last summit
#

I switched device and the world of my dedicated server seems to be gone
I put everything on a flash drive
How can I change the world back to the one it was before?

proven niche
last summit
#

Ok thank you I will try that

spiral pivot
#

Hello,
Can you set the portal changes in the startup config, so you can transport all materials, just lige you do with -preset hammer for creative mode?
And is there a place where I can look these commands up?

knotty oracle
#

Yep.

#

Either in the dedicated server manual or https://valheim.fandom.com/wiki/World_Modifiers

Valheim Wiki

World Modifiers allow the player to customize a variety of parameters to increase or decrease the challenge of the game. They can be found on the Join World screen. Modifiers can also be used via...

spiral pivot
#

I meant for the startup commands. I know I can do it with the game client, but I don't want to boot up the game all the time to do changes πŸ˜›

knotty oracle
#

So did I

#

My apologies for helping you. πŸ˜•

spiral pivot
#

Ah, it's in there. Just looked a the wrong place.
Thanks πŸ™‚

wide cipher
#

it's included in the install files and are pinned in this channel

#

you're free to add a metric ton of things to startup now

spiral pivot
wide cipher
#

you want it gone?

#

it's still clunky

#

you apply settings. to reset them. you need to remove them, launch the server and then close it

#

then re-apply them :/

spiral pivot
#

Initially I downlaoded the world files and used the game client to make the changes, but it got difficult to remember what servar had what, so I wanted the startup options instead.So I reset it to normal through the game before doing the startup options. But for some reason, the no cost is sticking, even after I've stopped and started the server.

wide cipher
#

I think you need to force it to use normal world modifier πŸ€”

#

it's far from perfect system

spiral pivot
#

So no modifiers first, then stop it, add it again, and start it?

dull breach
#

I've caught a player bringing in stacks of wood from another world. I told him I'd prefer it if he didn't do that because it ruins the sense of progression I'm hoping to maintain on the server but I'm aware I don't have any control of him doing it. I'm considering boosting the rates to incentivize gathering in the MP world but am worried that setting the rates higher would throw things out of whack. Does anyone know if there is a way to specifically boost gather rates of wood/stone items but leave other items default (hides, cores, etc.)?

spiral pivot
#

I mean, I don't know a solution without mods.

dull breach
#

Do you know offhand what mods might allow this? I did a quick search for "rates" and "wood" on thunderstore but nothing caught my eye at first glance

spiral pivot
#

Valheim Plus did.
I think Beepin took over mostly on that so you just install everything manually

knotty oracle
#

Bepinex is just a modloader, it doesn't do anything itself.

dull breach
#

I was going to say.. I haven't messed around with modding much in Valheim but I thought Bepinex was just a plugin for enabling mods and wasn't aware if that was a feature or not

#

I forgot about the mod discussion channel, I'm going to move this conversation there - apologies

barren oasis
#

Is there a way for me to change the world modifiers in an existing world via the bat file?

wide cipher
#

yup

#

look in the PDF πŸ™‚

barren oasis
#

I did...

knotty oracle
barren oasis
#

ah... I missed the -modifier raids none.... I thought it was just about raids. I saw the presets but I didn't want to change all the elements to easy

#

ty

craggy bloom
#

How do I force a file update, my dedicated server is stuck on 217.46

#

Steam says no updates available

proven niche
craggy bloom
proven niche
sharp obsidian
#

How do I set multiple modifiers in the server start script?
i.e. something like a modifer to both **resources **and deathpenalty
valheim_server -nographics -batchmode -public 1 ..... -modifier resources more -modifier deathpenalty veryeasy.
Is it like that or something else?
Thanks!

humble axle
#

Posting the screenshot as I was timed out for presumably including links, but here was my post a bit ago if anyone could shed some light on my issue.

heady geyser
heady geyser
proven niche
# humble axle Posting the screenshot as I was timed out for presumably including links, but he...

I believe you could get some help with your problem in the #mods-issues channel here. The folks that hang out around there have experience with what it takes to add the sort of content you're looking for to an existing world. If you're lucky and your issue has a solution, they can also help you decide whether there are risks to doing it that way and what they are. It may take a day or two for a response as many of them are busy updating to the current patch. πŸ™‚

humble axle
proven niche
tender oyster
#

I am trying to get a server up and running

tender oyster
#

i get to "Connecting" but never get prompted for a password

#

port forwarding

#

trying tcp/udp

#

that worked

now to replace the game world

wide cipher
burnt cosmos
#

Morning all - I changed some modifiers after starting a dedicated server and now the server won't launch

#

is there a known issue with changing something like -modifier deathpenalty casual to -modifier deathpenalty Casual

#

I also reverted the changes and the server still won't launch (hence me dropping in here)

versed smelt
#

Do you see any unusual warning in the logs?

#

Without a clue there the first thing I would try is starting it with no modifiers at all

burnt cosmos
#

Logs in the console that normally pops up? If so, it's not even getting that far

#

I'll tool around with the modifiers some more

knotty oracle
#

I don't believe they're case sensitive so it shouldn't have made a difference.

novel crypt
#

Anyone else run their server using the ich777 docker container on unraid? How do you tell if it's running the latest version of the game? How do you make it update if it's on an old one? Just restart it?

burnt cosmos
#

got it working again - do we know if -modifier deathpenalty casual actually works?

#

I am still dropping everything on death

proven niche
proven niche
silent valley
#

Hello everyone.
Since two days, me and my friends can't connect to our dedicated server. It was first a incompatible server issue. We host the server on a private machine running Arch. I reistalled everything a first time and tried some steamcmd commands that i found here that seemed to be related to the issue.
Then i moved on. The problem was no longer a version problem but a "Failed to connect".

We triple checked all the settings and ports. I checked the versions on both client and server, it's matching.

For further tests, I installed the dedicated server on my laptop to reach it from my desktop and still "Failed to connect"

And now I installed the dedicated on the very same computer i play with and tried to connect on 127.0.0.1 and still "Failed to connect".

I can't be the only one facing these issues, right ?

Version is 0.217.46 for both client and server
All the involved machines are running on Gnu/Linux

Does anybody know what happens ?

proven niche
silent valley
#

Hi, thank you for your help !
I don't know if the crossplay is active by default. I'm diagnosing on my desktop computer at the moment and the dedicated server i'm running is really default. I can't tell if the crossplay is on. Should it be ? We are all running on computers and we were not aware of this option before

I see nothing concerning in the shell that opened

proven niche
silent valley
#
04/12/2024 21:23:54: Game server connected
04/12/2024 21:23:54: PlayFab reconnect server 'My server'
04/12/2024 21:23:54: Server 'My server' begin PlayFab create and join network for server 
04/12/2024 21:23:56: Joined PlayFab Party network with ID "<REDACTED>"
04/12/2024 21:23:57: Created PlayFab lobby with ID "<REDACTED>", ConnectionString "<REDACTED>" and owned by "<REDACTED>"
04/12/2024 21:23:57: Session "My server" registered with join code 911851
04/12/2024 21:23:59: Session "My server" with join code 911851 and IP 144.2.106.
#

Here, it is really the vanilla setup just out of the freshly installed dedicated server from steam. Nothing more

proven niche
#

Ok, that indicates that you are using -crossplay. And that changes everything about how you have to connect to that server. With crossplay, no one connects directly to the server. All server traffic goes through the MS playfab network. That means that you either connect by using the Join Code shown here (911851) instead of the server's IP address or name. Or by using the server's WAN address and port number.

silent valley
#

Oh, okay. I'll try this out. BRB

#

And if i remove the crossplay, i'll then be able to connect with the local ip just like before ?

proven niche
#

Yes.

silent valley
#

Great. Thank you very much already. I'll check this out and come back to confirm asap

#

Excellent. I confirm i could connect using the code ! Thank you very much, you saved my weekend with my friends :3

proven niche
#

@silent valley You'll get a new Join Code everytime the server restarts. Also, crossplay can be unstable at times depending on what's going on with the MS network. So, you should probably disable it whenever you get random timeouts or disconnects in the future.

When you remove crossplay, check to see that your port forwarding is current in your home router. Crossplay doesn't use port forwarding so, if the server's local IP address has changed recently, crossplay would still work but non-crossplay would need the port forwarding updated. And, of course, no Join Codes without crossplay. πŸ™‚

silent valley
#

Okay, good to know that this code changes at every startup. I'll then go without it. I prefer the oldschool way. And furthermore, there is something weird when i look at the output on the dedicated server, it gives no code:

04/12/2024 21:07:17: New session server "My server" that has join code , now 0 player(s)

and the other issue is that even though i updated

steamcmd +login anonymous +app_update 896660 -beta none validate +quit

, the version is wrong on the target machine:

04/12/2024 21:07:13: Valheim version: l-0.217.38 (network version 20)

Why is the update not setting the right version ?

proven niche
silent valley
#

Same result. I removed the "validate" from the command, entered and the server output is the same. Stuc on old version

proven niche
silent valley
#

The server has no GUI so it's command line only and no steam client.

#

But i think i'm moving forward thanks to your information about the crossplay

#

Thank you very much

proven niche
silent valley
#

The server works ! I removed everything for the 10th time and now everything is perfect without crossplay

sturdy glade
#

any public servers with no passwords?

#

community*

knotty oracle
sturdy glade
#

😦

#

i just wanna join and play with other people or something haha

knotty oracle
#

Just send the admin a DM.

sturdy glade
#

i once put my world on community and i had some ramdom join - that was a couple years back tho

#

ok, kinda new to this, but thanks

wooden mountain
#

I got a really dumb question: with the recent valheim patch, if I update my server valheim using steamcmd on headless install on linux, is there any way to roll back to previous version, in case I experience issues?

wooden mountain
#

Also... is there a way to see what version a dedicated server is running without launching into the game itself from a client?

#

Disregard 2nd one, it states version on bootup in the log.

round sleet
wooden mountain
#

sweet! ty!

tender oyster
#

is this the way to add admins to ones server?

gilded vine
serene tiger
#

Hello everyone, everything good? I need help with a dedicated server I created in the game. I was playing normally with my friends but now I can't connect to it anymore. I've already updated the game on steamcmd and on steam too, what could be happening? Ports 2456 to 2458 are free on my internet router and I'm using Google's DNS. I update the game in steamcmd too with the command app_update 896660

proven niche
serene tiger
#

Ok thanks, i will test this now!

#

damn it didn't work

proven niche
#

Did the recent game patch cause it? Or was it working ok between now and three days ago? Are you or the server using any mods?

#

Check your player.log file and the server's log, if you have access. And see what the errors are there.

serene tiger
#

Before yesterday it was working normally, I don't use mods but some of the players on the server do.

serene tiger
#

Even if my friends are not online, can mods interfere?

proven niche
# serene tiger I will look for this, thanks!

The server you're talking about is the in-game one you create from within the game's start up screen? Or is it a stand alone server program running on another PC, or a remote host, or even on your game PC but not part of the Valheim game program?

serene tiger
#

Sorry for the delay, my english isn't that good, Im translating some words.

#

this is de bat

#

i remove the command -crossplay

proven niche
serene tiger
#

and this is my steamcmd when i update the game

proven niche
#

I'm sorry I just don't know enough about SteamCMD to be of much help.

serene tiger
#

On the website my server is not online but in the game it is haha. and it appears that my friends are also online.

proven niche
#

Is your game the wrong version?

serene tiger
#

is updated as well as the server

#

saddd kkkk but its ok

proven niche
#

Getting that Join Code means the server is still running with -crossplay.

#

You'll have to use the Join Code or the EXTERNAL IP address and port to connect.

serene tiger
#

I managed to make it WORK

#

thanks man!!! i remove the commands -cros and put again

#

but the IP changed too

mint oar
#

Good day everyone. First time question. I started a dedicated server about 2 weeks ago and everything ran perfectly we played 5 people simultaneously no problems. I set the port forwarding and added the firewall rules. But tonight when I tried to connect it kept on saying failed to connect. I see the server in the community list, aka it picks it up but no matter how many times I try it keeps saying failed to connect. I reset my router. I've uninstalled the dedicated server reconfigured everything but to no avail. Does any one know if something maybe changed which I'm not aware of? Or what could possibly be the problem?
There are no errors in die cmd terminal, it shows ready as it did previously. When I tried to connect previously it would show the attempt of connecting, now nothing is shown.

outer goblet
#

There was an update that dropped recently, have you updated your client and server to the latest? Are you using mods?

mint oar
#

No mods no. I have updated both. Reinstalled the dedicated server and my client is on auto update.

outer goblet
#

Hmm...can you verify that your IP hasn't changed? Can you connect using the internal IP on your LAN?

mint oar
#

I did double check the IP and it remained the same. I tried to connect using the IP and port but it didn't seem to work, not sure if I did it correct because I never connected that way. I can try again to double check.

outer goblet
#

Do you use the -crossplay option?

#

And do you understand the difference between an internal and external IP? (forgive me if this seems nitpicky, best not to make any assumptions)?

#

When you supply the IP+port it's should be in the usual format of xxx.xxx.xxx.xxx:xxxx (IP:port). When you connected previously without any problems, did you use a join code instead of the IP?

mint oar
#

sorry for my absence. There was something that required my attention.
I do know the difference between internal and external IP.
I have however never connected to the dedicated server using the IP. We usually look for the dedicated server in the community list and connect via that way. Thereafter we go to either recent or favorite to ensure I go directly to the right server.

#

I will try to connect using the external IP and port to eliminate the possible cause.

#

I've tried connecting with the external IP and port, the internal IP and port listed in the dedicated server terminal as well as the join code and all of them end up with failed to connect.

mint oar
proven niche
#

Check your game's player.log file for errors. And you should be able check the server log for errors, too. Although, generally the server is up and running ok, if it's giving you a Join Code.

mint oar
#

thanks I'll check

mint oar
#

it wasn't up when I first checked.
I then re-added the port forwarding and remove the -crossplay from the bat file. (also restarted everything)
When I checked again geekstorm said the server was up.

#

I was able to connect again. I don't quite understand the use of the -corssplay option but thank you @proven niche and @outer goblet your input and advice helped solve the issue and it is really appreciated! Have a nice weekend!

outer goblet
# mint oar I was able to connect again. I don't quite understand the use of the -corssplay ...

My understanding is that the -crossplay option creates a connection port via Microsoft's Playfab to allow Xbox players to join your server. If you only play with Steam (PC) clients, it isn't needed. However, I thought you could also join via IP:port even if the -crossplay option was used. I might be mistaken by this. Glad you got it working. Did you have to re-add the port forwarding on your router because it was factory reset? (Just out of curiosity, for future troubleshooting).

mint oar
#

Thanks for the explenation it is quite insightful.
When geekstorm said the server was not accessible I deduced that either the port was locked and needed to be released or somthing of the sort. So I double checked the firewall rules (removed and added again) and rebooted te server pc. and went onto the router and removed the portforwarding rule and readded it, as well as the crossplay. I didn't reset the router but I did restart it.
The external IP still didn't change, therefore the above is unfortunately only an assumption. I wish I could have definatively identified the problem for future help.

outer goblet
#

Yeah, sounds like you just went through all the steps to reset all the ports and firewall access to be the same as before. Strange. When I upgraded my server and client, it worked right off, no need to reinitialize the ports or anything. Just to clarify, you added the -crossplay option again, restarted the server, then stopped it, removed it, and restarted it again? So you are currently playing with or without crossplay and you are connecting via IP:port?

mint oar
#

I did not re-add the crossplay option. The friends on the servers uses PCs to play so from your explanation it will not be needed. I'm currently playing without crossplay. I checked that the server is accessible via the site and searched for the server in the community list and accessed it via that route so no direct IP or join code used.

wicked island
#

start basic with minimal setup first then go from there

#

got a question for you guys. I got a dedicated server and I wonder if theres any way to prevent people to use Wemod or any 3rd pary app that provides cheating like that ? I know for a fact that the game doesnt provide it as vanilla or integral support so I guess I'm looking at a certain plugin, app or even mod to some extent ?

somber slate
#

Hey, I got a noob question. I had an existing world that I wanted to use for a dedicated server but when I log in it's a different world, what could be the issue? -world is the parameter to use the same name for, right?

#

(using the steam valheimd dedicated server app)

versed smelt
proven niche
hearty glade
#

Hello I'm thinking of creating a dedicated server, does anyone know a simple tutorial video or website that I can watch or read to get started. Would appreciate suggestions as well thanks!

proven niche
# hearty glade Hello I'm thinking of creating a dedicated server, does anyone know a simple tut...

Start with a thorough reading and understanding of the dedicated server manual .pdf that comes with the Server Tool download from Steam.

Then have a look at Youtube for specific info that might suit your purposes for exactly what kind of server you want to create. Which tutorials there are best is totally a personal thing as to which ones work best for you specifically.

Good luck with it! Have fun. πŸ™‚

knotty oracle
#

There's a couple of good guides linked in this channel too.

hearty glade
quartz mason
#

ive seemed to have cocked up my valhiem folders/file orders after a server re-build, i have a tonne a files saved but which ones do i need to reload my currents world and in what order do they need to be in?

versed smelt
#

Not sure what you mean by "order" since that should not matter but the nested structure would matter

golden tide
#

my server has been updated and verified yet when i try to connect i get the following error

proven niche
golden tide
#

i just updated it, it won't update anymore

proven niche
golden tide
#

steamcmd

versed smelt
#

Might help if you paste the cmd here, something must be missing so logs and CMD code would help confirm

golden tide
proven niche
#

Did you run the app_update 896660 command?

golden tide
#

yeah it's there

#

it worked fine before, so i'm confused as to why it isn't now

frozen zephyr
#

you check c: for a Valheim folder, spaces in dir paths mess with things when you dont put the path in "

proven niche
#

When you install and run a dedicated server with SteamCMD, can you still update the Server Tool manually? Or is that no longer possible?

golden tide
#

copied the address bar

#

like i said, it was working fine until the last update

proven niche
#

Is your server running on a Windows or Linux host OS?

golden tide
#

windows 10 home

proven niche
#

Ok. I guess I'll have to find out about the manual update elsewhere. NP

frozen zephyr
proven niche
versed smelt
# golden tide my batch

This is mine. I am running on a windows 10 pro machine. Might help with troubleshooting as its literally one line
C:\steamcmd\steamcmd.exe +login anonymous +force_install_dir S:\Games\ValheimServer +app_update 896660 validate +exit

#

That app id is not the same as me and @proven niche , anyone know why? UPDATE: nvm, had to scroll to see it being set

frozen zephyr
outer goblet
#

The quotes should be easy to check...do you have a C:\Valheim directory and/or a C:\Valheim Server directory?

proven niche
#

I wonder if his server is actually up to date and his game is on the PTB, which is a 'newer' version number?

outer goblet
#

Is there a way to check your dedicated server version number?

frozen zephyr
#

PTB and official are same right now

proven niche
frozen zephyr
#

you dont run a server with steamcmd, steamcmd is a command line version of steam client used to download games

proven niche
outer goblet
#

I don't think you can update it without SteamCMD...SteamCMD is what you use to update it.

frozen zephyr
outer goblet
#

Could you concievably copy the updated files from someone else's server and just clobber over the directory (minus the world and character save files)?

proven niche
outer goblet
#

IF they are on the same computer, they are essentially the same thing.

#

SteamCMD is just a command line interface for steam.

frozen zephyr
#

steam client and steamcmd are the same one has a GUI other dont, they made by the same people

outer goblet
#

If you are running your dedicated server on a windows system and it's the same system as you run the game client, then I'd imagine you can update it via the Steam GUI as you mentioned. Just make sure it is pointing to the correct file location as when you launch the dedicated server. Otherwise, it would download another copy of the dedicated server to a completely different location and you would still be loading the outdated version of the server using the batch file.

quartz mason
#

im trying to get my dedi up and running its proving to be a fn nightmare

#

excuse the french

outer goblet
#

Where are you stuck Zed? Windows/Linux/DockerImage?

outer goblet
# proven niche Exactly. Thank you.

To be honest, I've never updated or installed the server via the Steam client, so I don't know how you would do that, or where it puts the files by default. 😦

quartz mason
#

i had my dedi running perfectly on my network, just clicked on the val BAT file , logged into valheim, added my ip with :2456 , then i was good to go , now i wanna cry

frozen zephyr
proven niche
quartz mason
#

i cant even load a saved world .db fwl, wwwwaaahhhhh

proven niche
quartz mason
#

its vanilla as mate

#

ive done all my port forwarding, the works

outer goblet
#

Did you make a new .bat file or .sh or did you use the default one that gets clobbered when you update the server?

proven niche
#

Check your server's log file for errors. Maybe that will show what's wrong.

quartz mason
#

ive downloaded a fresh install from cmd, the way ive always done it in the past..

proven niche
#

When you say 'cmd', you meant SteamCMD?

quartz mason
#

yes sir

#

i have a tonne of saved db/fwl....i cant load them ..... 😦

outer goblet
#

Where is the server's log file?

quartz mason
#

i put my db and fwl files , in worlds folder right?

outer goblet
#

Yes, but you also have to tell the batch file which world to load (which should match the name of the .db/.fwl files exactly.

frozen zephyr
quartz mason
#

yes , ive done that

golden tide
#

figured it out, i had to "c:\Valheim Server"

quartz mason
#

then edit the batch file to the same name as my save world file?

outer goblet
#

There should be an argument in the .bat file for -world "worldname" make that match the world.db file name (minus the .db)

quartz mason
#

yep. thats what i ment, ive done that

outer goblet
#

When you launch the server, what happens? Do you get a different new world instead of your old one?

quartz mason
#

i get the spinning hammer, then failed to connect

outer goblet
outer goblet
golden tide
#

i went through my files and noticed that it made a new folder

quartz mason
#

i get this, but the file is in there?

versed smelt
#

If you are on windows, use \ instead of /

#

This seems to be all pathing related

quartz mason
#

how do i change that?

outer goblet
#

Do you specify the save directory in your batch file? I thought the default path was supplied, but maybe it points to a different location?

outer goblet
#

Yeah, so is the default path using the wrong forward or backslash in windows?

versed smelt
#

Working launch cmd and dir for comparison

outer goblet
frozen zephyr
outer goblet
#

I use a custom -savedir path and the game updated and worked fine afterwards as well.

versed smelt
#

Seems possible given this is the official server guide

outer goblet
#

Zedman try adding the argument:

-savedir "C:\Users\1337bonkz\AppData\LocalLow\Irongate\Valheim\world_local"

to your .bat file after the -world Dedicated line. AND is Dedicated the name of your world file?

versed smelt
#

@quartz mason ^

outer goblet
#

I'd imagine if the default location has always been busted, more people would complain about it.

versed smelt
#

I agree but I'm leaving it as a possibility

frozen zephyr
#

C:/Users/1337bonkz/AppData/LocalLow/IronGate/Valheim will work in windows also

versed smelt
#

its also possible it was from a guide elsewhere that was copy/pastes from a non-windows ENV

#

no harm in reducing the number of variables at play for the issue though

outer goblet
#

Yeah, so maybe it's not the slashes, but something else. Waiting on @quartz mason to respond verifying that that's the name of the world.

quartz mason
#

ok, im here, just typing some stuff in..

outer goblet
#

If the world file doesn't exist, I believe the default action is it creates a new world file with that name at the specified location. So you should still be able to connect to it, it will just be a new world and not your saved world. It may take a little while for it to load, and you shoul wait till you see "Game Server Started" in the console before trying to connect.

#

So probably what would help us is if you posted the .bat file and the server log file in its entirety once started.

frozen zephyr
outer goblet
#

I mean, the command line output from when you start the server. If you can't post it all, just the end tail would be helpful.

proven niche
# quartz mason ok, im here, just typing some stuff in..

If it turns out that the server is up and running but you just can't connect, it might be due to something new going on with a VPN or Firewall change on the server's PC. Maybe a Windows update changed something there. Or maybe an IP address got auto-updated by the ISP or router.

quartz mason
#

see the thing i cant even connect to "new world" on my dedi server let alone a saved world....gggrr

outer goblet
#

Yes, there is two issues...we'll try to help with both.

quartz mason
#

its annoying because it was good for years, now no dice

frozen zephyr
#

if bat has -crossplay in it you need to use your wan ip to connect to it

quartz mason
#

yes im using wan ip

#

am i port forwarding to the wan ip or to the switch ip

outer goblet
#

Did you verify that your IP is the same? Try removing -crossplay and using your internal IP...does that connect?

frozen zephyr
#

crossplay dont need any port forwarding

outer goblet
#

If your internal or external IP has changed, port forwarding will be hosed, but you should still be able to join using the join code, yes?

quartz mason
#

how do you remove cross play?

outer goblet
#

if you have a -crossplay option in your .bat file, remove it and restart the server. (if you don't, no need to do anything).

quartz mason
#

there is no option

outer goblet
#

Okay, can you connect via the internal IP on your local network? Does that connect?

quartz mason
#

ima gonna go uninstall re install......everything

#

cheers for your help/effort

proven kestrel
#

Any setting that would let me log in on the same LAN as my server but wouldn't let someone remote log in?

#

Server running on a laptop, playing the game on a desktop.

It was working smoothly until I restarted the laptop and server a few hours ago. Now my friend can't connect anymore

proven niche
proven kestrel
#

I misworded my question

proven niche
#

Indeed...

proven kestrel
#

I WANT someone to be able to log in from the internet

proven niche
#

Is your friend using PC and Steam game?

proven kestrel
#

Yes

proven niche
#

How much time between him being able to access the server and then not being able to?

proven kestrel
#

We were experiencing some lag, I decided to shut down the server and restart the laptop a few hours ago. When I logged everything back in, neither of us could connect with the same information. For me, I realized that my laptops local IP address had changed so I re-entered the server information on the login page and was able to get it to work. They are still unable to access the game

proven niche
#

Is the server currently using -crossplay?

proven kestrel
#

I had taken that out a while ago

#

Should it be in? I thought I had read it could cause some connection issues

proven niche
#

Then you need to correct the forwarding in your home router. It's trying to forward the server traffic to the wrong internal IP address.

proven niche
proven kestrel
#

Oh yep

#

There it is, I see it going to the wrong address.

Next question then: Is there a way to have my laptop have the same local IP address all the time?

proven niche
#

It depends on your particular router. Some let you adjust internal port 'leases'. Some others just never change them unless the router is restarted or power recycled. You'll have to investigate that on your router. Sometimes you can use your router's brand and model number and ask how to control internal IP address leases with Google.

proven kestrel
#

Awesome, thank you so much. A hero again ❀️

outer goblet
proven niche
tranquil harbor
#

Hi guys, my GPORTAL server doesn't seem to be running correctly, keep getting "Failed to connect" any ideas why? It is quite heavily modded with around 175 ish mods

#

Was planning on running it in order to see which mods I need to take out which aren't required that are "client sided"

#

But can't seem to do that now lmao

proven niche
tranquil harbor
#

yeahh i managed to figure it out

fervent chasm
#

Is there a simple explaination how to make a dedicated server?

proven niche
fervent chasm
#

i wish i knew more πŸ™‚

round sleet
#

The best way to know more is to start reading πŸ˜‰ It all starts somewhere. Running a dedicated server directly takes a fair bit of knowledge though, you're going to have to know a bit about networking, ports, file structures and software configuration through config files instead of a UI.

proven niche
#

Pro Tip: There's a copy of the manual among the pinned msgs here. πŸ™‚

outer goblet
#

My server is holding steady aroundg 4gb.

#

Oh, you must mean for the OS and stuff...nevermind.

proven niche
outer goblet
#

I just googled how to setup a Valheim dedicated server, and I think it sent me to a youtube video that shows how to do it, step by step in a few minutes (depending on which OS you are using).

knotty oracle
#

It's definitely better to use the manual rather than some random YouTube video that's probably out of date.

outer goblet
#

If you want to get fancy and deploy a Docker or something it can get complicated, but just to run a bare bones server is pretty simple to setup and get it running.

proven niche
#

I'm not anti-docker or anything but I think docker, SteamCMD, and LinuxGSM all add layers of complexity that are unjustified.

outer goblet
#

Unjustified? Don't you use them at your own discretion?

knotty oracle
proven niche
outer goblet
#

Originally I deployed a server on one of my Windows PCs. It was fairly straightforward to get SteamCMD, download the app, then edit the batch file and start the server. But then I wanted to transfer it to my home NAS system since I have it up and running 24/7 anyways. That was really the only justification for moving to use a Docker container to deploy it, otherwise I would have just kept it on my Windows PC.

proven niche
#

I run 3 barefoot dedicated servers on the same box as my home security system and NAS and have never had any problem at all. I put a watt meter on that box and it draws as much electricity as a 30 watt lightbulb. Surprising.

outer goblet
#

Yeah, that's what I mean. If you don't need it, then don't use it. It's at your own discretion.

proven niche
#

One of them has 158 mods. ROFL The other two are a little more reasonable. πŸ˜„

round sleet
#

I just run the dedicated server directly on my gaming machine as another process, works fine πŸ˜›

outer goblet
#

Can you use the Steam client to download the dedicated server and then just copy the directory to a new location rather than using SteamCMD?

river sapphire
#

Hello all, wonder if anyone can help me with some questions about ports and friends connecting on a dedicated server I'm running. Which is pretty much set save a few issues

proven niche
#

What's your question?

river sapphire
#

I have setup a dedicated server running on windows 11 on a mini PC. It's plugged into my modem/router where I have reserved and leased a dedicated local IP to it 192.168.0.196 . Setup my ports forwarded them and some friends can connect but my sister and her partner in the same house cannot connect. It immediately fails

#

It works for other people, the weird thing I've noticed is that it doesn't work for people on 5g wifi networks. E.g. if I connect my PC to my phone hotspot on 5g it fails. My sister and partner have a 5g modem and they constantly cannot connect

#

Can see the UDP port is open on my IP. Any suggestions as to what might be causing this and how we can resolve. CGNAT? DMZ? UPNP?

proven niche
#

Some routers don't allow loopbacks. Players in the same household and on the same LAN have to use either the internal IP address and port or, if using -crossplay, then they must use the external IP address.

river sapphire
#

The internal IP?

#

I should mention they are not in my household. They are in a different state

proven niche
#

The 192.168.0.196 is an internal address. An external adderss would be the one your ISP gave you.

#

Every device on your LAN has it's own internal address.

river sapphire
#

Yeah I know, that's the IPv4 address that the host is using. My external address is 58.96.55.1#

#

And I'm using port 2457 instead of 2456 because I wasn't sure if that was the issue

#

Both are open

proven niche
#

Use the 2456 port. Is the server using -crossplay or not?

river sapphire
#

I've ttied with and without crossplay (found without is faster) and also tried the public listing -public 1 in the batch config

proven niche
#

Is the server using -crossplay or not?

river sapphire
#

Not currently

#

But that doesn't seem to have made any difference to the issue.

proven niche
#

Ok. Sorry I couldn't help.

river sapphire
#

Well, this problem seems to be a deeper problem for alot of people. I don't know what the solution is but I'm going to get my sister to try requesting CGNAT to be disabled and get a static IP see if that helps them.

round sleet
muted oyster
#

I know we have the ability to set keys and have mode through command line, but can I also do that with devcommands in the server as well?

#

I'm looking at different hosting services, and not all allow for setting keys through server start.

knotty oracle
#

If you have the server devcommands mod installed you should be able to use the setkey command, yeah. Otherwise no.

proven niche
knotty oracle
#

Hard to say, I've seen the occasional report but not enough to suggest there's a major issue. It's a tricky one to test.

versed smelt
#

I regularly use the setkeys command as admin on my dedicated server

proven niche
#

Anyone had any problems recently with resetting and/or removing the keys after they've been set?

versed smelt
#

I have heard of problems with people removing them, myself included. Resetting them I have not had any issue with

muted oyster
#

Biggest complaint was that for admins, listing the keys in console doesn't always show exact changes until re-logging is done.

trim urchin
#

Hi - is there a way to save your dedicated servers world, locally?

muted oyster
#

Normally I start a server from a save file that already exists rather than having it generate a new one. Then I would tell my batch file the direct path to that save and have it keep running from that.

trim urchin
sour canyon
#

does anyone have a UFW app profile title and description for valheim?

sour canyon
#

Does anyone know where the server logs go?

frozen zephyr
sour canyon
#

aight

#

I checked the wiki and can't be bothered doing that so I did that

#

still can't figure out whats wrong. Is the server meant to be using shaders?

#

it just shuts itself down after initialising

#

and I can't find any errors because shaders are muddying the results

knotty oracle
#

You can safely ignore the shader errors.

sour canyon
#

omg is it that the password is too short

frozen zephyr
#

Could be

sour canyon
#

istg...

#

IT ************* WAS

#

idk what the rules are on curses

knotty oracle
#

Generally, don't.

#

Glad your issue is resolved though.

proven niche
plain trellis
#

...and is it SteamCMD stright in Windows or Linux, or is it in Docker, or what? "Server" could be so many different setups...

soft ridge
#

I have a dedicated server, I'm on Xbox and my friend is on Steam. He keeps getting disconnected after a few seconds. I've switched server provider, same issue. What can this be?

cedar forge
#

Anyone have experience with running a server on a Intel NUC or similar tiny PC?
Last couple of rented servers had issues with desync, even when we were only 2 players in an area, so for Ashlands i want to run my own

steady geyser
#

Is there away to take off water damage

round sleet
# steady geyser Is there away to take off water damage

Not without mods. You can build wood mostly touching stone and it won't take water damage, or roofs, or darkwood and angled wood pieces, but there's no way to turn off water damage. Good news is it maxes at 50% of the piece health, so it won't get destroyed by water.

sacred lily
#

is this still a thing?
Because, i enabled it and it works

#

just tried it out via gamepass

sour canyon
#

I am unable to connect to my dedicated server via my local network, but I can if I join via my public IP address

sour canyon
#

I have a dell optiplex 7060 running ubuntu

#

I have set up a remote desktop with remmina for anything that I want to do with a GUI

#

although I do know how to use SSH, some things are just easier with a GUI

#

if you want any help dm me and I am happy to be of assistance

sour canyon
#

my firewall allows anything in my subnet to connect through any port

opal saddle
opal saddle
sour canyon
#

yeah they are, crossplay is disabled and I still can't use my local IP

#

will having -crossplay 0 make it crossplay still?

#

that may be it lol

#

The answer is it was...

I have spent too much time on this

#

Ugh

cedar forge
sour canyon
#

That is your perogative, If you don't have any linux experience just run windows 11

cedar forge
#

Perfect! Just found a very cheap Optiplex 7060 with 8gb of RAM, 8500T and 256gb SSD. Upgrading RAM will probably only be necessary if we run into issues on our playthrough.
Really hoping this solves those desync problems weve had in the past on rented servers

sour canyon
#

I have one with 16 gigs, you can upgrade the CPU as-well

#

they are a great little machine, super repairable and easily upgradeable with storage

opal saddle
sour canyon
#

if the servers are rented it is more likely a network thing

#

how many rented server providers have you been with?

#

also there is a simple way to test if your desync issues will be fixed. By hosting it on your main pc or laptop, and getting your friend to test if they experience them

#

then you can commit to self-hosting on a mini pc

cedar forge
#

Last time we had GTXgaming, which was by far the best experience, right up until Mistlands and our base getting too big and chests getting filled with too many items. We had problems with stuff loading in when going through portals and desync when fighting monsters in mistlands.
We are both on playing on High end pc’s and both being on 300/300 fiber internet connections
We’ve run it as just hosting the gameworld as a server when loading it up, never having issues - idk if that counts

sour canyon
#

it could be the location of the server is bad for routing through the network cables (idk the technical term, but you get the point)

#

one weak link could cause packet loss. if you self host right now and don't have any issues, selfhosting on a optiplex should be good.

young zodiac
#

is there someone else who are having problems running dedicated server on same steam account? one logges out the other client and server.

pastel vale
#

Hi everyone,
I have been playing Valheim for a while now together with my friends.
But at some point - when I moved to another country, I couldn't connect to the servers (both to dedicated and private) anymore.
I tried some random servers from the list - some of them work, some of them not.
FYI:

  • Valheim is in exception for Firewall.
  • Some time ago, I was cleaning my file system and deleted everything from ROAMING, APPDATA etc.

Please do you guys have any hints how to fix it? I'm eager to continue playing.
Any help will be much appreciated.
Cheers.

gilded lintel
#

How do i update a server for the ashlands

#

I made my own private server on a separate pc for the first time

versed smelt
versed smelt
# gilded lintel Yes

The instructions for participating are probably going to be the same for dedicated server as they are for a local installation, you might want to try asking in #valheim-public-test but it's possible someone might chime in with some dedicated server specific info here.

sacred lily
#

i have a dedicated own hosted server.
I have crossplay enabled.
Is this causing lags

#

?

sacred lily
#

is this a know bug, if crossplay is enbabled, it lags+

proven niche
sour canyon
#

I have managed to set up a dedicated server hosted on a mini pc for my friends and I. I use ubuntu server, however I have set up gnome for me to remote desktop into it. I used steamcmd to install valheim and I can't get r2modman to recognise my game folder. I would prefer not having to use a GUI or have to open r2modman to launch my dedicated server. any suggestions?

sour canyon
#

Also r2modman requires me to select a steam installation directory which is completely impossible because I manually decided the location of the server and I installed steamcmd, not steam.

umbral osprey
#

Does anyone here have experience setting up a local server in a docker via open vpn in a VPS?

ocean river
#

Hey guys! Im getting incompatible version with the PTR on ashlands

#

This is on my dedicated server. Do you guys have an idea how to fix it?

frozen zephyr
ocean river
#

Thank you!

unreal ravine
#

Can we run ptb on a nitrado sever

bleak burrow
#

HI I am new here, is there any recommendation for good hosting aka renting server for Valheim? I mean pay 3rd side for running my private server. Thank you very much for any tips!

minor escarp
#

see channel topic. "We cannot help you with 3rd party hosting sites or give advise which one you should buy/rent"

kindred niche
#

how do I get my server on ptb

#

awh I found it

pseudo egret
#

Anyone got the Beta to work onn PINGPERFECT ?

#

DOes that look right ?

solar pond
#

hello,
I've setup beta version of Valheim Dedicated Server and it works, but it doesnt see my world when I log in - any suggestions? I used (on Windows PC) path C:\Users\YOURNAME\AppData\LocalLow\IronGate\Valheim\worlds to include my world saves

frozen zephyr
dull breach
#

Does the recall command not work on dedicated servers? I suppose this might be more for the mod channel since I'm using devcommands on the dedicated and can't get recall *player to do anything. Any idea?

hasty ravine
#

does dedicated server need to use a different update branch for the PTS? I am running on linux using steamcmd, and I ran the standard update command

frozen zephyr
hasty ravine
hasty ravine
#

maybe I'm blind? I looked through a few times now and still can't find it

brave fossil
#

uhh whats the name of the firehazard key? to enable/disable fire hazards in dedicated servers

knotty oracle
plain trellis
#

It's quit early to worry about this, but when Ashland drops into Live in the future, what should we have in mind about the map-re-generation of our server-world? We see it takes place in PTB, when they load into their game, and it takes some time.
Any advice how to load into a server world (after it drops onto Live in the future)?
(Started my first server long after Hildir-Update)

plain trellis
gilded lintel
#

Im running a docker container for a valheim dedicated server. Do anyone know how to enroll in the public test? Its running on a linux container

plain trellis
glossy glade
proven niche
glossy glade
#

so it runs Valheim l-0.217.46

proven niche
#

And you can Ctrl+F search the README file for "beta" and make it quicker.

glossy glade
#

Thanks! Turned "blind" reading it the first (5) times πŸ˜„

proven niche
glossy glade
#

And when some one holds your hand...
As soon as you ask for help, you find the issue πŸ˜„

gilded lintel
#

this worked for my compose file:

SERVER_PUBLIC=false
STEAMCMD_ARGS="-beta public-test -betapassword yesimadebackups"

glossy glade
spark shale
#

I'm using a headless server. I have added in the -beta public-test -beatapassword yesimadebackups to the modifiers lines and it still will shows when I try to connect with my game clines that the CL beta is FALSE. Should this be in the modifiers area, or up in the top where the game code and update sit?

wheat monolith
#

Has anyone here had experience setting up a server behind NginxProxyManager? Tried doing a search with no luck in the chats.

copper wraith
copper wraith
#

oh wait - duh - yeah those are the steamcmd config file updates that you need to do, the server launches normally then

peak perch
#

Out of curiosity. My dedicated server in the past that had the Mistlands explored (pre-Mistlands release), they were all just plain mountains with enemies... no infested mines...etc. So I had to start a new server. Is the Ashlands update projected to be the same case or am I safe with an older server?

knotty oracle
#

Yes, anywhere you've explored won't be updated.

peak perch
verbal fulcrum
gilded lintel
#

how can i change modifiers on my server that is running on a seperate pc

#

im using the valheim dedicated server tool on my seperated pc

proven niche
# gilded lintel how can i change modifiers on my server that is running on a seperate pc

Two ways to do that. One is to take the world files to your solo game and make the modifications there. And, then take it back to the server.

The other way is to use console commands while playing on the server to make the modifications. In order to do that, you need admin access to the server and load up ServerDevcommands on your game. You can find the exact commands you want with a search of the Valheim WIKI.

gilded lintel
#

i would have to make myself admin

proven niche
proven niche
knotty flame
#

Been trying to get a crossplay server working in a proxmox lxc for a while now. cannot for the life of me figure out what's up.
I tried Debian 12 first, then Ubuntu 22.04, but I still cannot get it to work. Every time it boots, it initially looks like it connects, but then no join code is posted, and i get the reccouring PlayFab reconnect server and Server 'ServerName' begin PlayFab create and join network for server
I have all the dependencies I could find, and I've looked everywhere, but I cannot find how to fix this issue online. The closest I've seen, is someone using a docker container who was able to fix it by slightly modifying their network configuration for it.
Anyone know anything?

#

Nvm it was pulseaudio, I was missing pulseaudio

plain trellis
#

Re-post:
It's quit early to worry about this, but when Ashland drops into Live in the future, what should we have in mind about the map-re-generation of our server-world? We see it takes place in PTB, when they load into their game, and it takes some time.
Any advice how to load into a server world (after it drops onto Live in the future)?
(Started my first server long after Hildir-Update)

main turtle
#

is it possible to run a valheim server on the ash lands PT

silent hill
#

Hi, haven't played Valheim since the first two months of launch. Could someone let me know if the following issues have been resolved that we used to experience with dedicated servers:

  • Desync of players, enemies and boars
  • Couldn't build or terraform too much without noticeable decrease in FPS
  • Performance issue causing generally low FPS. I think the most we could get was 40FPS with tweaking/modding to help with some optimizations.
dense hamlet
#

Is it possible to run a dedicated server of ashlands thru SteamCMD (CLI, Windows) ?

late dirge
#

With the current Ashlands PTB, one temporary fix I've learned to fix the portal bug is by restarting the server. In case this hasn't been shared yet.

round sleet
silent hill
round sleet
silent hill
#

I don't even think we got that many instances the first play through before it started giving issues. And we rented quite a beefy server at the time

frozen zephyr
balmy wraith
#

help me! i'm Error when trying to start dedicated server

fiery eagle
#

If I run the command β€œsetkey skillgainrate 200” is this increasing the rate for just me or everyone on the server?

balmy wraith
#

ERROR: Shader

grand jay
#

is it possible to add the test branch to my Nitrado server please

frozen zephyr
empty ore
#

How do I run a dedicated server on the PTR build?

empty ore
#

I don't have access

heady geyser
#

To join the PTB channel and get all info you need on it, open the channels and roles section at the top of the channel list, and select "I want to be a public tester"

empty ore
#

Thank you

grand jay
#

Thankyou

limpid jetty
royal cipher
#

What is the best hosting site for a Valheim server in your opinion? I have used dathost and gportal before, but i want to know if there is other companies to consider πŸ™‚ I like Dathost for the modding support, but gportal is better to finetune mods in my opinion. I found a site called Valhost. Is that good? I would be glad for other experiences πŸ™‚

earnest nymph
#

How does one set up server modifiers for immersive mode?

#

I think i have it.

proven niche
#

Valheim doesn't recommend any particular hosting company. And the experiences that other folks have had in here probably won't be useful to you due to things like location, level of support needed, location of players, etc.

You would do best to find an online review of game hosting companies in your area and consider those choices.

royal cipher
#

The company i have used has servers in my neighbour country, so maybe dathost is the best then

#

But i see valhost has much more oneclick modding for servermods

proven niche
royal cipher
proven niche
#

That's nice but reddit is a forum not an online review as I was thinking of it. Google for 'game hosting companies' and see what comes up. There should be some review sites in there not coming from the hosting companies themselves.

royal cipher
#

Ok πŸ™‚

low surge
#

Hi all! New private server host here. I'm just wondering if there is anything out there to help make the rolling log file more useful? Color-coding the console output? Maybe a tool that reads the logs and sends messages to a Discord server? Just checking before I see what I can do. πŸ™‚

proven niche
#

Nothing like that in the vanilla game.

lime sky
#

My dedicated server cmd box runs, and then does a whole bunch of stuff, then closes. Can I see where there's an issue with my config somewhere?

winter hull
#

I need advice for the best server hosting website for 2-3 people vanilla. Best bang for my buck to have no lag/stutter issues. Thanks in advance!

proven niche
lime sky
proven niche
winter hull
proven niche
lime sky
#

I see, I see. I'll look into it, then. Ty.

#

I did go in and generate the world, so the world is indeed there.

proven niche
#

Are you or the server using any mods?

lime sky
#

No mods.
Completely fresh install, never have used mods, to be clear.

#

The CMD interface opens, does a whole bunch of stuff ~ and then at the end it closes.

#

My client isn't even running a the time. (The actual game I'd be connecting through localhost:xxxx)

proven niche
#

One sec....

lime sky
#

Mhm!

proven niche
# lime sky Mhm!

Your password is too short. It needs to be at least 5 chacters.

lime sky
#

Ah,ha. Silly mistake

proven niche
#

Gotta love those logfiles. πŸ˜„

lime sky
#

No kidding!

kind latch
#

I run a dedi on 4netplayers for ashlands PTB. Anyone know if there's any way to enable world modifier for fire propergation?

kind latch
#

... how do I get access? πŸ™‚

proven niche
#

Use the id:customize channel to enable the valheim-public-test channel.

kind latch
#

Ta

lime moth
#

Okay question for you gurus out there. Been hosting a dedicated server on my PC for awhile, but about to be down to move. Brother was planning to hose the server on his PC to keep it going for everyone. What files will I need to provide him so he can host the same dedicated server that I am currently hosting?

winter hull
#

how do I safely add a few mods, and do I have to download the same mods to my local valheim as the ones I install on the server?

mint blaze
#

Did anyone figure out how to do No Map with Gportal? The toggle does nothing.

proven niche
proven niche
proven niche
mint blaze
proven niche
mint blaze
#

/setkey nomap right?

#

@proven niche Love you. That worked πŸ™‚

twin rune
#

whats the command to fix the terrain?

west timber
#

I set my self as an admin in server I set console on and logging in the server open console and typing devcommands and trying to toggle fly and it does nothing

Am I doing something wrong?

lime sky
#

Is there a way to increse the number of players on a server without mods?
Trying to go from 10 to 12.

knotty oracle
#

Nope, 10 is the limit.

proven niche
proven niche
hollow prawn
#

Hey, is it allowed to ask for recommendations here? For paid server services

proven niche
#

I suppose you could ask but IronGate Valheim has NO official recommendation at all. You'd get the best info from an online search in your area for "hosting company reviews" or maybe "best hosting company". Just don't go to the site owned by the actual companies, LOL

storm lodge
#

can i convert my server to a test server

proven niche
# storm lodge can i convert my server to a test server

Maybe, if you remove any mods you might have and realize that once you go PTB with a world, there's no going back. You would find the beta option in your Steam Client library by right clicking on the Valheim Server Tool there. I'm not recommending it, though. Pro Tip: make and archive a separate backup of your world and your character first.

thorn dove
#

could somebody tell me where i can change dedicated server settings to allow player based raids

proven niche
thorn dove
proven niche
thorn dove
proven niche
west timber
#

Is there no more an option to load a wanted seed into Dedicated server?

I created a single save and changing the -world "Save name"

But when I load into the dedicated server it apply a diff seed and when I log into the single save it shows me the one I inserted

safe kelp
#

How do I setup the public-test branch in a dedicated server?

frozen zephyr
final current
west timber
final current
mild geyser
#

Whose the best valheim server provider?

#

Need one thats going to run smooth as butter for about 20 people once ashlands drop

west timber
#

I named the world after my single player world (with the wanted seed) beside that I didn't move any files

final current
covert smelt
#

are dedicated servers less laggy?

knotty oracle
#

Than?

covert smelt
knotty oracle
#

I'm confused, it all uses the same netcode so it depends entirely on the people playing.

craggy wedge
#

I dont know what the quality of servers are for valheim but its always possible to get a dedicated server with better performance

#

Its also possible for the dedicated server to be worse

final current
# mild geyser Whose the best valheim server provider?

If you see the channel topic, we try to avoid 3rd party host advice. Quality is subjective and will vary based on the locales/ISPs of the players, the hosting provider, and Azure PlayFab Party cloud relay regions (if using Valheim crossplay). Opening up the discussion to such advice can also lead to spam, shilling, and scams. Sorry :/

sudden lichen
#

Hey folks, I ran out of ideas trying to get my dedicated server working for my friend to connect, so if anyone has any tip...

I'm hosting on debian VM. The server works fine when using playfab (-crossplay) options in the server settings.

Issue starts when removing -crossplay. I have my ports forwarded (2456-2458) and I can see traffic hitting the server on my LAN, both denies from random IPs and my friends IP which is allowed.

But.. the connection is only going to port 2457, which from my understanding is for steam, even though my server is hosted on default :2456. In fact, I do not see any traffic trying to hit :2456 which is weird

#

Am i missing something?

final current
sudden lichen
#

yeah my friend is accessing my public ip:2456 which goes to my edge router, that forwads 2456 to 2458 to my firewall before the server and the firewall sends to forwards again to my server

#

the one on the right is my friends IP allowed traffic to the valheim server on my LAN

#

i just dont understand why would only 2457 be getting traffic, when the server is hosted on 2456 .. and whole range is forwarded

#

i forward both tcp/udp

final current
#

And your Firewall allow rules are for both TCP and UDP?

#

And your LAN IP hasn't changed since you set up the forwarding and firewall rules?

sudden lichen
#

nope, i can connect to the server on LAN and my public IP is the same

final current
#

So .22 is your current LAN IP, your current router forwarding rule LAN IP, and the firewall allow rule IP? Any local firewall software or VPN client running on the server?

sudden lichen
#

duuuuude you are right ...i just realized, debial still uses iptables as default FW..this might be it, brb

stone dome
#

Sorry to interrupt, I'm having issues with my Dedicated Server. The world doesn't seem to be saving properly after shutting down the server. After booting it up this morning I found the character in the same place i left him, but the world reverted back a couple of hours so I'm missing buildings and portals. This has happened to multiple worlds.

final current
stone dome
#

Last night I pushed Ctrl +C, then it asked if I wanted to terminate batch job and i hit Y

opal saddle
# covert smelt are dedicated servers less laggy?

In principle, no, there's no difference whatsoever. In theory, you could run the server on another computer and offload a bit of the load from a client. But most of network traffic is still going from client to client (in case of Valheim), so the difference is negligible.

Bottom line: don't run a dedicated server just in the hopes it will reduce lag. A better solution is to have the client hosting the world have a good PC and a good Internet connection (also, all clients better have a good, low latency packet-loss free connection).

The main benefit of running a dedicated server is the fact that there's no-one who needs to be online all the time or keep running Valheim. Anyone can connect whenever they want to.

(Also, a dedicated server can usually be run headless. There are other games which somehow manage to do a (Windows-only) client dedicated server which can not be run without a GUI; ahem ||Wreckfest|| ahem)

sudden lichen
#

Dang..seems like past me didnt forget it and the rules are in place in the debian FW

sudden lichen
final current
#

Alright. So far looks like you're doing everything right. Make sure you don't also have additional rules managed by non-iptables frontends like ufw or nft. nftables became the default on Debian somewhat recently.
You should also confirm the process is listening on the right ports with sudo ss -l -n -p | grep -i valheim

sudden lichen
#

Yeah the sockets are open, I'll check if any other software FW could drop it. Btw, does Valheim work by first requesting over :2457 (via steam?) and then connecting on 2456? I'm still confused why would I see my friend's IP connecting to :2457 instead of 2456, even though he is trying to join with specific ip:port

#

Checked iptables which has the chains and nftables service is not running, so there shouldnt be issue on server side I think

final current
#

If you've disabled crossplay and are using the public lobby beacon (-public), then 2457 serves the Steam A2S protocol. It's a simple service that reveals statistics about the game server (e.g. player count and version information). So it will be read by the lobby facilitation software and possibly other clients.

sudden lichen
#

Alright, that makes sense

final current
#

Also worth checking to make sure you don't have a competing worlds directory alongside your server's worlds_local.

#

Worst case, you can try adding your player ID to the adminlist.txt and from a game client started with -console, Hit F5 and enter the save command before another shut down.

#

If you're still having issues, @sudden lichen, you might try troubleshooting from the other side.
https://geekstrom.de/valheim/check/ to see if the Internet at-large can access it. If so, then next thing to troubleshoot is your friend's side. They may have a VPN or security suite installed that is blocking the request or it's possible their ISP prohibits connectivity to other residential ranges.

sudden lichen
#

Aight, I got working. So it was not enough to just allow my friends IP through to the ports. Just tested to allow all traffic to hit those ports and it flags as online after that change on the valheim check link.

#

yep, can see it now. Thanks Justin for the assist πŸ™‚

proven niche
#

Sounds like Steam needed access, too. Your friends were accessing the server with your WAN ip address?

sudden lichen
#

yeah with my WAN:2456. I will have to update the server to connect to it, so I guess the :2456 traffic will come when from a connect client and I think there might be some other steam service besides just stats that allows it to be connected to. DMR maybe or something tied to steam server list?

proven niche
#

That's what I was wondering. πŸ™‚

sudden lichen
#

Maybe some info could be gathered from a wireshark pcap

final current
#

Glad you got it working. I suspect 2457 should be connectible to all on a -public server for the sake of the lobby facilitation, but not sure about 2456. If you find out more, let us know.

proven niche
#

This may have already been puzzled out on Reddit or the Steam forum. πŸ˜„

final current
#

I would expect so, yeah

pure prawn
#

hello i tried to access beta throught my linux server

#

with batch and pw

#

but it gives me wrong version error while trying to log in

final current
#

You've switched your client to the public beta as well, @pure prawn?

pure prawn
#

yep my client on beta

#

maybe im missing smt in configs, im pretty fresh with linux ssh

final current
#

If you're using SteamCMD, paste us the command line you used for the upgrade or install. Also note that there was an updated public-beta pushed out 9 hours ago. You will have needed to update both the client and server since then.

pure prawn
#

shall i share common.cfg ?

final current
#

What is providing this vhserver set of programs? Doesn't look like the official distribution.

pure prawn
#

i think it uses up to date files from steam db

#

guess im on the right way

final current
#

Build 14158634 was what went out 9 hours ago and corresponds to the version of the public-beta game/client that Steam auto-updates to.

pure prawn
#

and i really dont even know where it located

final current
# pure prawn and i really dont even know where it located

Looking at the doc, it would be at ~/lgsm/config-lgsm/vhserver.cfg. The reason is that if you have other game servers managed with this suite, common.cfg will put those other games on their own public-test branches (if they exist for those games)

pure prawn
#

oh no no server is only for valheim no other games installed

#

its will be a no problem

dire talon
#

im having issues hosting a dedicated server, im using the valheim dedicated server app to host for ptr....have my ports open etc 2456-2458. udp/tcp

#

was getting non compatible versions earlier

#

maybe i got name and world mixed up in server bat...

#

Do i need to move my ptr world into the main games world folder?

#

nvm its there already.

knotty oracle
#

I was about to ask where else it would be.

dire talon
#

yeah...just having trouble hosting. started the server.bet and it keeps failing to load all things and then closes itself

abstract socket
#

I am a bit confused on a dedicated server, is it I can 1. set up a server directly from my pc or 2. I use a hosting service?

knotty oracle
#

Yes. Just depends on who is paying.

abstract socket
#

I don’t have the best pc but I’d like to pay for a dedicated server, so if it uses my pc that’s not going to work but if it routes it through a server host then it wouldn’t use my pc right? That’s what I was asking

rotund pendant
#

Looking for a modded V-heim server. preferably an adult server. non rp. @rotund pendant me if you have one.

red trellis
#

Morning, i have a Problem with my world Files. I womt to start a dedicated Server and want to juse an existing world, so now fore uploding my world i need the fwl and db Files, but im my local worlds Ordner are only 3 TexCache per world. Any Tips?

proven niche
red trellis
#

PTB?

knotty oracle
#

I'd say look in the cloud.

red trellis
#

Yea the TexCache are Just map File in my Opinion to

olive fog
#

Hey all. I have attempted to run a dedicated server using the Steam Valheim Dedicated Server (without CMD) and using a modified start_headless_server.bat file. This is something I successfully ran about a year ago. I thought editing the file section with a new value for -name and matching the value of -world to a world already created on the PTR branch of Valheim would be enough to start it as a dedicated server. I can find the server in Valheim by using "Add Server" in the game and using the Join Code. It seems to connect. It prompts for a password, loads for a bit, and then fails with the message "server is using an older version" (something along those lines). I can see in the cmd window that indeed the server is still running 0.217.46. Is there something I should add to the start_headless_server.bat file or the properties of the Valheim Dedicated Server in Steam?

proven niche
pure prawn
#

how to set modifier "portal items" in server command

#

there is only 3 option " casual, hard, very hard"

pure prawn
versed latch
#

Hey! Possible to get some help with a PTB server? Using Filezilla x G-Portal, any takers?

versed smelt
#

State your problem and what you've done to fix the issue so far and someone may respond

versed latch
#

I've uploaded the files, but it seems to load the wrong world file for some reason.

versed smelt
#

What kind of environment are you working in and where do you expect the world files to go?

versed latch
#

Windows, using Filezilla for the files and the server is set up through G-Portal.com

lime moth
versed smelt
versed latch
#

Okay, thnx for the tip! I will try again πŸ™‚

woeful mural
#

hey yall, havent used dedi servers much but set one up for the new patch. can xbox/steam users play on the same dedi on the playtest? the xbox players have an 'incompatable version' error when they try to join. is the xbox/steam version on a diff patch?

#

the gportal site has crossplay enabled also

frozen zephyr
#

Last patch was 15 days ago and Xbox and steam can both play on a crossplay server of it

grim stump
#

I hope this is the right place. Just looking for why this might be.

I am on a server between me and some friends. When on my xbox, it works just fine. When I am on my computer, using Xbox PC game pass, "failed to connect" any idea why that might be.

proven niche
grim stump
#

I can get on my other worlds, and even run them as servers.

No VPN. No clue about firewall

woeful mural
frozen zephyr
woeful mural
#

my mistake, did not see that channel. the xbox players are also on the beta version through xbox insider, i am just assuming its not on the same patch version as steam yet. thanks though

frozen zephyr
#

Not sure if they sent it to both, but we also know Microsoft can be a little slow getting things out

woeful mural
#

yea i have noticed xbox updates are usually a little behind for most games

astral ether
#

Has anyone had issues with Gportal servers showing 0 ping and 0 transit? they say it can be the game file being corrupted because they moved the server a few times but no luck, idk if thats possible or not, and I don't know how to download the save file to test it somewhere else

knotty oracle
olive fog
sharp mantle
#

I'm having issues with supply chain buldings turning on/off at regular intervals with no ... visible explanation

#

server resources seem more than fine and enough

dull breach
#

Is it possible to make it daytime for the entire server using the tod or another command? Or is that client-side?

sharp mantle
barren lintel
#

To anyone that hosts a dedicated server, do you use the Server Simulation mod? Does it break your server? I ran into an issue today where we killed a troll and it kept looping the death animation, spawning bodies and causing the fps to drop to 1 until it crashed our clients. Had to roll the server back and I've been trying to figure out what caused that. I've narrowed it down to either the Server Simulation mod or Better Networking. I was hoping someone had some experience with this or knowledge to share.

sage vale
#

What would be the safest way to host a server? i don't feel excited about port forwarding

#

just a private server for me and my friends

opal saddle
frozen zephyr
sage vale
frozen zephyr
brave plank
#

Please tell me!
I want to install "dev commands" on a dedicated server.
This mod requires Belpen ex.
Tell me, should players also have a Belpen or can they log in without it?
From "pure" Valheim?

lean summit
#

Hi, anyone who runs a linux dedicated server could help me ?

How do i update/change my server to beta version?

final current
final current
lean summit
#

SteacmCMD

final current
# lean summit SteacmCMD

In your next app_update or clean install, supply -beta public-test -betapassword yesimadebackups to switch to the public test branch if you wish to. The #valheim-public-test channel and its pins can be helpful further. Consider switching back to the main public branch with -beta public when you are no longer participating in testing to avoid future surprises.

lean summit
timid rose
#

any idea how to add sleep plugin for dedicated server?

final current
timid rose
#

character in game

#

if one person sleeps the night skips

final current
tranquil kayak
#

Hi there, if me and my friends started up a new dedicated server (that I am hosting on my personal machine) and we played like normal, will the game world automatically update and add the new Ashlands content when the update releases? I know we cant explore in that area, but as long as we stay far enough away, the new content will populate in when the update releases, correct?

final current
tranquil kayak
final current
timid rose
#

any idea why my dedicated server 4 proccesors 16 gb of ram is lagging when 4 people are near?

lunar tree
#

anyone have experience using the mrbound18 docker image to run the test server?

versed smelt
#

not to run the test server though, just vanilla

versed smelt
timid rose
#

any idea why my dedicated server 4 proccesors 16 gb of ram is lagging when 4 people are near?

proven niche
timid rose
#

its dedicated server

#

it doesnt work like that

versed smelt
#

It actually does because a single player with a bad connection will seem to lag because they will jump around as the server struggles to update everyone else with information regarding that player. If EVERYONE is noticing issues with more than just a single player then maybe there is more going on but I wouldnt rule that out without more information

proven niche
# timid rose its dedicated server

Also, 4 processors is kind of weak, too. What else is the server box trying to do at the same time. Anti-virus? Are you thinking that the term "dedicated server" means that it's remotely hosted by a gaming hosting co.? Because, that's not what it means.

lunar tree
versed smelt
# lunar tree Im having a hell of a time with this image trying to get the test server up. Mig...

Please report back what you end up doing. I've been trying to use this repo since it seems to be most kept up with but I still have problems and a few pending issues. I got it working for vanilla just recently and its been stable but I'm curious if the auto-update feature is going to be successful when ashlands drops given the recent issues I've seen with auto-restart. Thankfully the maintainer is receptive and resolving them within about a week or 2 so fingers crossed. You should post your compose file in the discussion area on that repo, I could look at it there and someone else might be able to chime in too

timid rose
final current
#

Yes, likely one or more of the players' game client or their connection to this server, @timid rose. Alternatively, if you're using crossplay, it can be the relays slowing you down. In this case, you can try switching to direct connectivity to the server.

lunar tree
# versed smelt Please report back what you end up doing. I've been trying to use this repo sinc...
version: "3"
services:
  valheim:
    image: mbround18/valheim:latest
    stop_signal: SIGINT
    ports:
      - "${PORT}:${PORT}/udp"
      - "2457:2457/udp"
      - "2458:2458/udp"
    environment:
      PORT: ${PORT}
      NAME: "${NAME}"
      WORLD: "${WORLD}"
      PASSWORD: "${PASSWORD}"
      TZ: "${TZ}"
      ENABLE_CROSSPLAY: 1
      PUBLIC: 0
      AUTO_UPDATE: 1
      AUTO_UPDATE_SCHEDULE: "0 5 * * *"
      AUTO_BACKUP: 1
      AUTO_BACKUP_SCHEDULE: "0 3 * * *"
      AUTO_BACKUP_REMOVE_OLD: 1
      AUTO_BACKUP_DAYS_TO_LIVE: 5
      AUTO_BACKUP_ON_UPDATE: 1
      AUTO_BACKUP_ON_SHUTDOWN: 1
      AUTO_UPDATE_PAUSE_WITH_PLAYERS: 1
      WEBHOOK_URL: "${WEBHOOK_URL}"
      WEBHOOK_INCLUDE_PUBLIC_IP: 0
      UPDATE_ON_STARTUP: 0
      USE_PUBLIC_BETA: 1 # Also didnt work because idk... code looks good but idk
      STEAMCMD_ARGS: ${STEAMCMD_ARGS} # Used to play beta versions as well <- didnt work because i believe the variables are mismatched.
    volumes:
      - /docker/valheim/saves:/home/steam/.config/unity3d/IronGate/Valheim
      - /docker/valheim/server:/home/steam/valheim
      - /docker/valheim/backups:/home/steam/backups
timid rose
#

any way i can fix this bs?

final current
#

So you're not using crossplay? You're using wired networking, and you don't have a VPN or Internet security/anonymity proxies running on the server?

#

And if this is cloud-hosted, I would recommend against instance types with CPU bursting (e.g. shared-core)

versed smelt
lunar tree
versed smelt
#

If you don't need crossplay AND you are forwarding the ports on your router then turn crossplay off and try to connect directly through the steam server list

final current
# lunar tree ```yaml version: "3" services: valheim: image: mbround18/valheim:latest ...

A couple of notes. If this is not a fresh install to your bind-mounted server dir, you will need to trigger an update in addition to setting USE_PUBLIC_BETA. It looks like you'd set UPDATE_ON_STARTUP to 1 to do that. Also, it doesn't look like STEAMCMD_ARGS is a valid variable in the current version of that image, so consider dropping that one. There is an ADDITIONAL_STEAMCMD_ARGS if you have something other than the branch to supply.

lunar tree
#

within literal seconds lloesche is up and running

#

im abandoning ship

final current
#

Well, that works too πŸ™‚

mint fiber
#

Is it possible to set player-based raids in the startup script for running a server locally? The manual notes that you can set raid intensity with -modifier raids <value>, but I don't see a correlate for player-based raids. Unfortunately when I try to google this info, I just get either ads for server hosting or links to the valheim wiki, which doesn't contain an answer either. I also checked pinned dedicated server help info link (which is great btw, props to whoever wrote that), but that doesn't appear to get into config arguments.

#

Aha - finally found it by searching through this server: the oddly named playerevents tag appears to be it.

final current
final current
#

That looks good enough, IMO, @timid rose, unless you are saturating this with players. If the server itself (or crossplay relay) is at fault, you would likely see the server connectivity issues icon in the top left corner of the game during the bad times. If it is a player causing this, I would suggest advising your players to avoid Wi-fi, disable any VPN, 3rd-party Internet security, or anonymization software they might be running. Sorry I don't have more :/

#

You might also need to take into account your players' locations when choosing the GCP region and pick something more central to all of them (including yourself)

tranquil kayak
#

Would turning crossplay off increase performance if everyone on my server is playing on PC? Its a dedicated server running off my machine that everyone will connect to using either my IP or the join code that the game generates. If so, how do i disble crossplay? Just delete the "-crossplay" from the batch file?

final current
#

Most of the time, yes, @tranquil kayak. But note that once you disable it, everyone will be connecting to the server directly. Join codes can no longer be used, and the game's ports must be reachable from the Internet. A typical home setup would have you:

  1. Use a DHCP reservation for your LAN IP to avoid it changing
  2. Create forwarding rules in your router exposing the ports to the Internet with your reserved LAN IP as the local destination.
  3. If your Internet/external IP changes, setting up Dynamic DNS so you can give the other players a predictable host to connect to
tranquil kayak
final current
#

If that favorite was created by IP address, then no. Their games/clients won't have a way to discover your new IP. If you used Dynamic DNS and your players favorited that hostname, it would work fine across IP address changes once your Dynamic DNS provider's entry updates.

#

That is one of the few benefits of crossplay. Your server is given a unique Microsoft Azure PlayFab Party identifier that is remembered on subsequent connections from other players and used to discover the relay your server is using.

tranquil kayak
final current
#

In my experience, yes, the performance increase is substantial. This will likely vary based on location and proximity to whatever Playfab Party regions Iron Gate or the publisher has enabled. Also worth noting is that once you drop crossplay, your own game client can connect via your server's LAN IP instead for a connection that is about as direct as you can get if you're on the same network.

tranquil kayak
#

Gonna add a note, I might have found dynamiuc DNS, I think my router just calls it Custom DNS

final current
# tranquil kayak Thanks again for all your help, a couple more questions... Would it be benefici...

You can use a local static IP as an alternative to a DHCP reservation if you'd like, it is just more parts to set up, in my experience. If you're talking about an external static IP, you'd have to see if your Internet service provider offers it first. If they do, then yes, it's a viable alternative to Dynamic DNS.

And yes, some Dynamic DNS vendors have desktop clients that can be used to update your current external IP address with the vendor.

Many newer routers have the feature built-in, sometimes labeled as DDNS or DynDNS.

tranquil kayak
final current
#

2456 usually. And if you're using the default, they likely don't even need the :port part. Make sure your port forwarding rules include UDP traffic.

tranquil kayak
ebon root
#

hi all i have a server with about 2 to 300 hour and a load of building but the map is fully show and wont load any new areas is there away to reset the map exploration to load these areas but keep the buildings

final current
tranquil kayak
proven niche
ebon root
proven niche
boreal crypt
#

Hello, I'm in a bit of a jam. The machine that I'm running our dedicated server on is having disk issues. Nothing can read or write to the disk, to the point that some linux commands are failing. Looking at the valheim server logs, it seems as though for the past few weeks the server has been unable to save the worlds to disk or write any backups. Somehow, for whatever reason, the valheim-server process is running just fine and we're still able to play. We do have a network storage drive mounted to the docker container running the server, so if we can write there it would be fine. Is there any way for us to save this world? Either by forcing the valheim process to write to our NAS or by having a client download the world that's saved in RAM?

opal python
#

me and my mate are looking to host a server so we can both play whenever the host (me) isn't available , does anyone have any reccomendations for the best hosting provider? Shockbyte looks the best from my brief look but not sure
and if we start a server if it possible to use it on our world we have already started instead of starting fresh?

proven niche
proven niche
boreal crypt
proven niche
fallen parcel
#

Hey I am trying to set up a server anytime I change anything default start_headless_server.bat it will not open

versed smelt
proven niche
fallen parcel
proven niche
fallen parcel
#

that explaines it thank you

lusty anvil
#

Hi all- I'm having this problem:

04/26/2024 17:33:05: PlayFab reconnect server 'SoLaBrie9000'
04/26/2024 17:33:05: Server 'SoLaBrie9000' begin PlayFab create and join network for server
04/26/2024 17:33:35: PlayFab reconnect server 'SoLaBrie9000'
04/26/2024 17:33:35: Server 'SoLaBrie9000' begin PlayFab create and join network for server
04/26/2024 17:34:05: PlayFab reconnect server 'SoLaBrie9000'
04/26/2024 17:34:05: Server 'SoLaBrie9000' begin PlayFab create and join network for server
04/26/2024 17:34:35: PlayFab reconnect server 'SoLaBrie9000'
04/26/2024 17:34:35: Server 'SoLaBrie9000' begin PlayFab create and join network for server

Read online various issues- nothing seems to help- I'm on Ubuntu 22-

Here's my cmdline: steam 11564 11563 13 15:58 ? 00:13:12 ./valheim_server.x86_64 -name SoLaBrie9000 -port 2456 -nographics -batchmode -world Elysium -password Scott7 -public 1 -savedir /home/steam/.config/unity3d/IronGate/Valheim/Elysium -logfile /home/steam/.config/unity3d/IronGate/Valheim/Elysium/valheim_server.log -crossplay 0

Not sure why it's even reaching out to PlayFab...?
Any ideas before I start sniffing connections etc?

frozen zephyr
#

-crossplay 0 is not how you disable crossplay

lusty anvil
#

Ok- the docs I have say 1 is enable, 0 is disable-

proven niche
frozen zephyr
#

-crossplay for crossplay delete it for no crossplay

lusty anvil
#

That's intuitive... so just remove the option entirely? ok

#

So that makes the error message go away, but it still wont start and is stuck on some outgoing connection:

#

Not listening on the port:
root@valheim:~# netstat -an|grep -i tcp |grep LIST
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:37997 0.0.0.0:* LISTEN
tcp6 0 0 ::1:25 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
root@valheim:~#

knotty oracle
#

Valheim only uses UDP.

proven niche
#

Valheim uses UDP. And do you need quotes around the -savedir option's path?

lusty anvil
#

I see

#

Quotes are in the startup script- this server has been working fine for months

#

Its got a bunch of outbound connections to steam

#

hmm its on 2457:

#

udp 0 0 0.0.0.0:51548 0.0.0.0:*
udp 0 0 127.0.0.53:53 0.0.0.0:*
udp 0 0 10.74.30.117:68 0.0.0.0:*
udp 0 0 0.0.0.0:2457 0.0.0.0:*
udp6 0 0 :::2456 :::*

final current
#

That looks pretty good

knotty oracle
#

So it's up?

lusty anvil
#

It appears to be running but I still can't connect externally- i'll check port forwarding since I may have just set it up for 2456- thanks!

proven niche
#

udp6?

lusty anvil
#

udp6 is ipv6

proven niche
#

Valheim is udp4

final current
#

Depending on your kernel procfs and netstat version, you sometimes see a wild card entry covering both but only showing one.
If It was available externally before with -crossplay It could be the ports aren't forwarded at the router. Crossplay would have bypassed that.

lusty anvil
#

bizarre- i had only tcp enabled to be forwarded-

final current
#

Yep

frozen zephyr
final current
#

They had been using crossplay working prior to that error occurring I was assuming

frozen zephyr
#

i never assuming that when seeing that error, only way that will happen if it was working is if playfab is down or they started blocking out bound traffic for some reason

final current
#

If crossplay suddenly stopped working for you, my first guess would be that libpulse0 may have gotten uninstalled or there was a momentary lapse in Microsoft Azure PlayFab Party relay availability.

knotty oracle
lusty anvil
#

libpulsedev wasnt installed, but that didn't change anything- i'm restarting my remote network to enable the new forwards

final current
#

libpulse0 is only used by the server if -crossplay is enabled

lusty anvil
#

AND ITS UP - brilliant- thanks !

final current
#

Should you go down that route, @boreal crypt, it would be something like:

cp -a ~/.config/unity3d/IronGate/Valheim /mnt/GoodVolume/SavedValheim
sudo mount -o bind /mnt/GoodVolume/SavedValheim ~/.config/unity3d/IronGate/Valheim
#

You'd then see if the timestamp on the world DB/metadata files in SavedValheim updates on the next flush. But always a chance the server has a reference to the old file regardless, in which case this does nothing useful

thorn dove
#

can somebody help me with a crashing dedicated server? i dont know where the logs are or how to read them.

#

it was working then somebody with admin powers updated it and broke it. now i cant get any version to run

proven niche
#

Are you the server owner? Where is the server located? At your home?

thorn dove
#

yesyes

proven niche
#

How do you start it up?

thorn dove
#

windows gsm

#

BUT. i tried to click on valheimserver.exe and it crashes there too

proven niche
#

Go to your Steam Client library, on the server PC and, right click on the Server Tool icon and select properties there. Then, installed files then reverify the files.

proven niche
#

What happens when you try to start it? Is there an error msg?

thorn dove
#

this is the last readout before it crashes.

proven niche
#

There's no clue to the cause of the crash there. And I don't know anything about Windows GSM. Sorry.

thorn dove
#

idk where this log is

thorn dove
worn raft
#

Hi I have the exact same problem: I want to deactivate crossplay because one of our group have massive problems with it. Since we are all steam players crossplay is not necessary. But if I deactiavte it we just could not connect, no matter what I've tried.

I'm renting a dedicated Ubuntu server with all ports open and no firewall active. The strange thing is that the server is listening on IPv6 not IPv4:

Any suggestions how to solve that?

opal saddle
# worn raft Hi I have the exact same problem: I want to deactivate crossplay because one of ...

Exact same problem than who?

AFAIK you can not bind the server process to any specific interface IP addresses (which would be handy on a computer with many interfaces IP addresses, though you can work around this problem by containerizing). The fact that it (seems like?) it is listening to IPv6 only, might be because you don't have an IPv4 address.

So, I'd check that you get an IPv4 address on the server with ip addr show. Obviously you might not want to paste the ip address here, but just make sure you got a public IP address. Try to ping it from another computer.

On my (own) server (both IPv4 and IPv6 addresses): ```ss -unlp
UNCONN 0 0 *:2456 : users:(("valheim_server.",pid=8879,fd=15))

warped badge
#

Hi all, kind of noob question here, I was playing on a server that had a loot multiplier (times2) , I have my own server now, how can i do a loot multiplier? Also, the one I played on was serversided only, no need for clientside, thats what I am looking for

warped badge
opal saddle
# worn raft Hi I have the exact same problem: I want to deactivate crossplay because one of ...

Also, I'd really like to elaborate on this:

I'm renting a dedicated Ubuntu server with all ports open and no firewall active.
I very, very much doubt this is the case. It would imply you have a public IPv4 address, which is very, very unlikely on a rented server. But the ip addr showshould get you on the right track (of port forwarding needs).

It is possible the rented server does not have any port forwarding active, but assumed you want crossplay, as that is the laze catch-all users needs solution....

frozen zephyr
warped badge
frozen zephyr
#

what os the server running on

#

and if using a hosting site they might have a spot in there gui to put that, they normally dont let you edit the start file directly

timid rose
#

can I add plugin that makes sleeping easier? like 4 people dont need to sleep to pass the night only 1

sturdy hearth
#

Hey guys, I'm coming back to the game after a couple years away. Updated, joined the beta test channel, started a new seed, played for a couple days, and then decided to make that seed a dedicated server for my brother and me. I updated the Valheim Dedicated Server in Steam, joined the beta channel as I had for the client.

I updated the name of the world in my start_headless_server batch file. But it loads a new seed everytime instead of my existing world (with exploration and buildings).

I even went as far as to copy the world db and fwl files from the world that I want, into a new folder and point there with -savedir. In the console I see it grabbing from there, but it still loads a new seed. Any ideas? Thanks in advance guys, I've tried searching Google a bunch, and in here too, but can't seem to find a solution.

versed smelt
#

as far as I know you cannot change the name of a world. There are tools that claim to be able to do that but there is more that needs to be changed than the file name itself to work correctly witha new name

sturdy hearth
#

I just changed the name in the headless file to match the world that I want it to load as the server. That should be okay, right?

solar shore
#

Hi Everyone!

opal python
#

when renting a server how important is the RAM? me and my friend are about to start renting a server from shockbyte and not sure whether to buy the normal 4GB or get some extra

proven niche
proven niche
solar shore
#

not so bad thanks, how you doing @proven niche?

#

nice!

#

I was wondering if there's someone in here that would be able to give me a hand... having difficulties getting mods installed on my dedicated linux server.

#

running on bare-metal debian 12 bookworm

proven niche
#

Is the server at your house on a 2nd PC or at a commercial hosting site?

solar shore
#

Yeah, server in my living room πŸ™‚

proven niche
solar shore
#

steamcmd

proven niche
#

Oh... I'm not familiar with SteamCMD but others in here are. What, exactly, is the problem? Are you getting error msgs?

solar shore
#

I've been trying to follow the instructions online - but they show me "this is what your directory is meant to look like after you unzip BepinEx, amine looks nothing like that... so I try anyway, but have no idea whether it's done properly or not.

proven niche
solar shore
#

So, I extracted the BepinEx pack into my ~/valheim/ directory, and then copied the "BepInEx" directory in there from the "BepInEx-5.2.22/" directory as well, JUST to be sure

#

still not 100% sure that's the correct dir tho

#

server command that's running the game right now is:
/home/vh1/valheim/valheim_server.x86_64

#

so that MUST be the right directory yeah?

proven niche
#

The directory that has the server executable file in it should get the BepInEx folder itself and some other single files from the BepInEx .zip. So that should be right.

solar shore
#

does this look right to you:

proven niche
#

Yes, except you don't need the BepInEx-5.4.22 folder there.

solar shore
#

that 5.4.22 is what is extracted from the zip

spiral linden
solar shore
#

inside that dir is this:

#

do i need to move all of that to the valheim root?

proven niche
#

Also, check the dedicated server manual and read the section about Linux libraries. You may be missing a couple libraries needed for the server to run.

solar shore
#

oh, the server is running - i'm in game right now πŸ™‚

proven niche
solar shore
#

πŸ˜„

proven niche
#

You have files in there that I don't recognize but, as I said, I'm not familiar with SteamCMD and, "If it ain't broke, don't fix it". So better to just leave them in there either way. πŸ˜„

solar shore
#

lol

#

ok, so what I'll do is just copy all contents of BepInEx-5.4.22 into the ~/valheim/ directory

#

is there a way to know whether it's installed correctly? or do you know only after applying a mod?

#

(and it then works)

final current
# worn raft Hi I have the exact same problem: I want to deactivate crossplay because one of ...

What you're seeing re udp6 is likely a reporting bug and probably not your issue. Between various kernel versions and socket display tools (e.g. netstat), there's not a consistent representation of dual-stack wildcard binds, for example in linux, if Valheim bound the IPv6 wildcard with the IPV6_V6ONLY=0 socket option or bound without that sockopt, but /proc/sys/net/ipv6/bindv6only=0. I would try with ss instead of netstat, first.

proven niche
#

I'm thinking that the BepInEx-5.4.22 folder is a copy of the folder you put in the Valheim directory but I could be wrong about that. Check the server's log and see if it shows BepInEx starting up, etc. with no errors. Then just add the mod(s) one or two at a time and check to see that the server still looks good when you load in the game.

solar shore
#

Ooooooh! it'll be in the startup? Sick! checking now

round sleet
solar shore
#

no dice 😦

#

@round sleet oh, sorry

proven niche
#

Yeah, I keep forgetting about that, too. Sorry.

round sleet
#

It's fine πŸ™‚ just trying to keep things organized a bit

solar shore
#

OH!

#

I have a quesiton for here too! - Is there an elegant way to shut down the server? rather than sending SIGHUP?

final current
#

And send SIGINT not SIGHUP if you can. That will ensure the final flush of world DB to disk is performed.

solar shore
#

Thanks @final current

#

so then SIGINT is the most elegant way to shut the server down?

#

(Sorry- got my kill 2 confused with kill 1)

final current
#

It aligns with Iron Gate's recommendations, which document using Ctrl+C on interactive shells.

solar shore
#

ok, thanks, just seems so... not sure Im used to running a Zomboid server that can accept a "quit" command. I mean, Not a problem - I'm running the server in a screen session, so I can just create a script to send the kill 2 to the screen session.

final current
#

I don't know if screen propagates the same signal downstream, but if it does, that should work. Otherwise, you would want to target the Dedicated Server process itself.

solar shore
#

also, pretty straight forward, will do, thanks @final current

final current
solar shore
#

I'll have a look a bit later - really want to get these mods working πŸ˜„

final current
#

Good luck πŸ™‚

solar shore
#

I'll take it!

opal python
#

has anyone thats set a server up before able to help me? Im trying to use filezilla to copy my existing world over to my server but none of the saves are showing up and the shockbyte tutorial im watching is different to my filezilla
losing my mind

final current
#

Given that article was written possibly in 2021, it could have been before worlds_local became the main dir for the non-cloud-managed world DB files, so it's possible worlds should be replaced with worlds_local in those steps

opal python
# final current Deleted my prior reply as I didn't realize you were using a dedicated host. Did ...

yeah this is the tutorial im watching. At 1:23 when he clicks sava data and it opens to worlds , when I double click sava data it shows worlds_local and it wont let me open it
also for copying over the worlds , tutorial says I need to drag over the .fw and .db files but my new world doesnt show up in that file (only my old one)
I want to copy over the world BABAYAGA but it doesnt show up anywhere with the .fw .db

opal python
final current
#

You do need both the .fwl and .db files. They should have modified dates near when you last played the game. Your OS' file exploration program may be set to hide one or both of their file extensions by default.

#

The .old… versions will be backups and likely not what you want

#

I have not watched the video, but the screenshots in that article show what looks to be Microsoft Windows Explorer, and theirs is set to hide the .db extension.

opal python
#

oh man I suck with computer files this is burning my brainπŸ˜‚ how do I check if the files are hidden ?

final current
#

So you don't see a BABAYAGA.fwl on your game computer's worlds dir?

opal python
#

I dont see it in Worlds but I can see it in worlds_Local but without the .fwl .db

opal python
# opal python

only my old worlds show up in the Worlds file which I dont want

final current
# opal python I dont see it in Worlds but I can see it in worlds_Local but without the .fwl .d...

Alright. My recommendation would be to start up the game, pick a character, and look at the Select World dialog. If the world you want has a cloud icon to the right of it, you want to look in your worlds dir. If it's a floppy disk icon, you want to look in worlds_local.

If your world isn't showing up in the dialog at all now, you may have accidentally moved it somewhere in your prior attempts.

opal python
#

the world I want has the cloud icon but the world I dont want has the floppy disk(the name is blurred because its a corny as fuck name I made ages ago and cant change)

#

I just clicked the option ingame to switch my save to local and this .fwl file has showed up , would that work ?

#

no .db save though

final current
#

Yep. And that one without the extension shown is probably the .db

#

I'm guessing when cloud-managed, it ended up in the Steam remote dir, which is not where we were looking. Sorry about that.

jagged temple
#

Hi. I'm having trouble with the server list and connecting to a server on my local network. The dedicated server running linux is accessible for other players via WAN but when I add the server on to my favorites tab with a external IP address then it won't show up. I've gathered that you should connect via the local ip instead, and this used to work before. However now if I add the local IP address (192.168.1.10:2456) the server shows up with the wrong server name, version AND it has 2/10 players on it which definitely isn't the case with my sever. How can a local IP show as something completly else? I've tried removing the server multiple times, even deleting the file that stores the favorites list but everytime I re-add this local IP address it identifies that a completely different server, which I'm not even able to connect to as it uses a older version. Both my client and server is running the latest version, not the public test version. I've tried verifying steam files integrety and even reinstalled valheim, no changes. I've restarted the server multiple times and even tried putting it as a public server, nothing works. What do I do now? πŸ˜„

opal python
#

and ive been using computers for 8ish yearsπŸ˜‚

final current
#

Hehe, all good. The cloud-managed-saves adds another layer of complexity on all of this.

#

I'm guessing if that video and steps are out of date, you want to put this in worlds_local in the server savedir as well.