#dedicated-server

1 messages · Page 22 of 1

scenic terrace
#

or do you mean like what company or something

final current
#

Yes, company and model number.

scenic terrace
#

company is cosmote model number idk, but i did just find something about reserved ips actually that has mac and ip addreses

#

its a list that i have to add to

final current
#

That sounds like what you want then

scenic terrace
final current
#

You'd have to pick a LAN IP within the range your router uses for your LAN, but to make things easy, you can just use the current LAN IP that is already assigned to your ethernet adapter.

final current
#

Any within your address range. I would recommend using the one your ethernet adapter is already assigned.

scenic terrace
final current
#

You can go back to the port forwarding rules for NAT, and make sure the destination IP address for your UDP rules for your Valheim ports matches the LAN IP you just set up the reservation for.

final current
#

Great, hopefully that is stable now. Next thing to check is whether your external IP address has changed: http://checkip.amazonaws.com/ make sure that's the same that you and your friend have tried

scenic terrace
final current
#

With most ISPs, it is subject to change unless you pay extra

scenic terrace
#

i didnt know that

scenic terrace
#

thank you 🙏 and sorry for being kind of clueless lmao

final current
# scenic terrace thank you 🙏 and sorry for being kind of clueless lmao

No problem at all. Glad you got it working! If you find the IP address changing too often, you can research "Dynamic DNS" options where you or your router runs a program to update a domain name with your current external address when it changes. Your friend would then connect using the domain name instead of your external IP address directly.

covert jewel
#

Is there a list (wiki?) of pickable items that respawn periodically vs. those that would need a mod to regen into the world? (red mushrooms vs. tar [the latter doesn't seem to regen on its own])

final current
covert jewel
final current
#

Using any mods? That message you're seeing is rare and could mean too much is getting saved.

I will say it's hard to get around at least some game lockup from the save interval, but maybe your world accumulates an unusual amount of objects. It's possible even without a mod, e.g. harvesting a giant field of plants but not picking any up.

dapper ruin
mellow galleon
#

Do anyone have an easy backup command to use so your server has an backup of the world/data?

#

or is it even necessary?

plain trellis
mellow galleon
# plain trellis I will for certain suggest to have backups. The game is in Early Access still, a...

Thanks for letting me know! I just skimmed through it half assed previously since it was of no help to me setting the server up ( got no ui 🫠)

but at least I know that I dont need to make a backup code to copy world now :D. Thanks for letting me know that there are such settings.

All i gotta do now is to see where the hell the world is since I can't locate it at all.

(Love your profile pic btw)

#

Thats for tomorrow me though, its important to rest

orchid terrace
#

Any vanilla dedicated servers (very minimal mods). ie anti grief

final current
frail vigil
#

anyone know how to improve ship performance? when there's more than one person on it on my server it's incredibly laggy

final current
covert jewel
final current
#

The list I posted includes those things.

#

Spawners that don't have a world-present tangible representation like RaspberryBush will have an Item column value like "Pickable Flint spawner".

frail vigil
full gate
#

Hey, I want to enable crossplay on my server. When I enable it still starts and runs like normal it seems, but I can't connect to it (Nor is PlayFab able to). It's running on a VPS and I had no issues running it the other way.

Fixed ✅

#

I had a search, and this fixed my PlayFab looping issue. tyty

grand star
#

Hi, i want to install a mod for fall damage, can you help please, thank you.

flat nymph
#

Anyone know how the heck you can do Hildir's quests if you have -setkey nomap enabled?

rustic cove
#

Hi all - I'm new and have a question. If I'm in the wrong area please let me know.

A group of us play on a dedicated server. We are interested in adding some QOL mods but of the players... A few aren't very technical.

When adding mods are they server side? Client side? Both?

We are hoping to add a few and want to make it as easy as possible.

native raptor
#

It will say on the mod’s Thunderstore page whether it’s client, server, or both

rustic cove
#

Ok. Ty

native raptor
#

A mod manager will help the less tech-savvy of your group get everything set up as necessary

agile pecan
# rustic cove Hi all - I'm new and have a question. If I'm in the wrong area please let me kno...

Most are client side, but this one is only required on the server: https://thunderstore.io/c/valheim/p/ArgusMagnus/ServersideQoL/

Keep in mind though that server-only mods are pretty limited, depending on what exactly you are looking for, it might not be possible without client mods.

final current
final current
frail vigil
final current
# frail vigil welp right now I'm having a much different issue, the server is clearly online, ...

Double-check your ethernet adapter to make sure your LAN IP didn't change from when you set up the rule and double-check your external IP address using a site like https://checkip.amazonaws.com/ to make sure your external IP address hasn't changed since you've given it away.

You can also see if you can connect to it yourself using just the LAN IP address, or even the loopback IP address if you're on the same PC or Mac.

If you had briefly tried Crossplay again, note that it will take some time for your prior registration with Microsoft to expire and players can have a hard time connecting via external IP address until that registration expires.

If the server is hosted on Windows or Windows Server, make sure you haven't accidentally clicked inside the Command window, activating Quick Edit mode.

#

If your LAN IP address is subject to change (common), consult your router's documentation for how to create a DHCP reservation for your server ethernet adapter's MAC address. This will give it a fixed/reserved LAN IP address (e.g. 192.168) that doesn't change, making it easier to connect to it yourself and create stable UDP forwarding rules against it.

frail vigil
#

changed a few firewall settings now I'm connected but no one else can

frail vigil
#

could it be something wrong with my windows firewall settings? I've completely deactivated the firewall but could it be possible that it's still preventing somethings from working?

final current
#

Did the external IP address change? That's a bit more common.

frail vigil
#

maybe that's the problem

#

maybe I should change the external IP address

final current
#

DM me the IP if you want and happy to see if it still has a crossplay registration active.

frail vigil
final current
#

Just tried, couldn't connect, though I can tell you it's not an issue with a lingering Crossplay registration.

frail vigil
final current
#

(resolved offline)

oblique viper
#

Hey y'all, I'm hosting Valheim on a local server and have 4-6 people playing. When enemies start spawning we get rubberbanding and latency issues. The server has tons of resources available to it. I saw posts from a few years ago that there were issues with how Valheim handles loading of the map but wasn't sure if that was relevant

plain trellis
oblique viper
final current
#

That's right, unfortunately

chilly willow
#

no one had issues with an update today? My dedicated server suddenly showing old incompatible. Trying to update it twice hasn't fixed it. So I'm unsure what to do. I didn't even see an update but it does look like it's diff versions

final current
native oracle
#

Anyone knoe why were not getting base attacks o my dedicated server?

static stone
#

Hey folks! how do i set player based raids on my dedicated server? is it just -modifier Playerbasedraids in my start headless server?

plain trellis
plain trellis
native oracle
plain trellis
native oracle
#

Hmmm ill try that in a bit but seems a bit extreme...

native oracle
plain trellis
native oracle
#

But no I dont run mods

plain trellis
#

The list of requirements for a raid is triggered are long and complex.

native oracle
#

I get all that, but last time I made a dedicated server exactly the same way as this one we got raided almost every 2 or 3 days, We shall see if this solves the issue now though, thanks for the help!

hard trail
cedar lance
#

how to do world modifiers on headless client for steam version

floral jay
#

Set them in the command line. It's in the pdf

cedar lance
#

sorry its a little confusing

#

in the command line? are you talking about the server when i right click and edit in notepad

floral jay
#

Yes that sounds right

cedar lance
#

i did it but maybe i type it wrong

#

i will send screenshot of it

#

i remove password so no one see

floral jay
#

Remove the 😒 and change to lowercase

#

The :

#

-modifier resources more -modifier portals casual

cedar lance
#

testing

#

@floral jay thank you so much for all your help

hollow ice
#

Can't sleep making apps for my server 🫩

jovial mirage
#

Hey guys, I just set up a server with a third party dedicated server. I have a handful of mods that I downloaded with Thunderstore Mod manager. I made two mod profiles (One Server, One client) so that I can easily share the mods with new players. I was able to get the server up and functioning yesterday and appeared to be working correctly with another player. It had never crossed my mind how I would handle updates to mods until this morning I saw on Thunderstore Mod Manager that I had 3 updates for mods.

Will I need to update the server side plugins AND config files for EVERY TIME there is an update on ANY mod that I'm using? I would like to keep using the profile on the mod manager so that it's easy to connect to the server for players, but I didn't know if there is a way to automate updating the server to match the mods. If there was a way to keep all mods running on the same version until I can do a server update that would be best I think.

TLDR: This is my first time running a modded server, whats the best way to keep server and client side mod updates synced?

plain trellis
jovial mirage
carmine otter
#

Good evening. I have a server on host havoc. I am trying to add mods to it but I am very new....like this is my first time new...I am unaware of how to load the few qol mods that I want on. Any help would be great.

plain trellis
carmine otter
plain trellis
carmine otter
#

Got ya. Just already have the server for 6 months so other options

light carbon
#

anyone knows of any permadeath servers? like one life and then ur banned?

wispy phoenix
#

hi

#

anyone have a server i can join

#

anyone there

floral jay
wispy phoenix
#

oh my bad sorry

mighty pewter
#

I am new ish to running servers off of my pc instead of renting a server. the game i am adminning now (Return to Moria) only allows allocation of up to 32 sub sections of the map, using maybe a few gb of RAM total. I havent delved too far into the valheim console yet, but is there a way to dedicate a large amount of RAM for the server when setting it up, and allocating more when the world needs more? Id like to give it at least 20gb of ram so we have no problems, and I am hoping it is not limited to a certain number of sections in game.

tropic lion
#

🆘 When I start the server, I set the key: "-setkey ResourceRate 200", in the parameters.
But nothing changes!
My goal is to get x10 item drops (without mods)

plain trellis
mighty pewter
plain trellis
mighty pewter
# plain trellis What do you mean by "loading properly"? My server has 8Gb available, but only u...

When we rented a server, the more we built and explored the more ram we required. when we ran up against the limit we had rented, lag would occur. things would disappear. chests would glitch entirely. items couldn't be grabbed and moved around. eventually, a server reboot wouldn't help anymore since we had maxed out what we had rented. near the end we were requiring 8 or more GB of RAM we had so much going on. We probably would need more now, given all the updates and content additions since then, which is what I'm planning on. Just some examples, but it basically became unplayable.

It's one reason I'm trying to run the server myself. It got expensive, And I have 24 GB that I can allocate to it and still have plenty left over for the machine itself.

plain trellis
#

...and hosting your own Server, are a million times better then to outsource it. I never looked back after I learned to set up my Proxmox, with Portainer to run my Valheim server, and several other game-servers we use.

summer pike
#

Hello

#

how are you all doing

hexed meteor
#

im fine

split cedar
#

anyone looking for a good resourcer to join a dedicated server? I have mic

rugged hornet
#

Im having an issue where others cant see signs i write

summer pike
acoustic iron
#

YO if anyone is good with thunderstore mod manager or SFTP programs please help a homie out. Trying to migrate a server to bisect hosting

tropic lion
#

🆘 When I start the server, I set the key: "-setkey ResourceRate 200", in the parameters.
But nothing changes!
My goal is to get x10 item drops (without mods)

sage mantle
#

dedicated server resourcerate only goes up to 3x, per the wiki: https://valheim.fandom.com/wiki/World_Modifiers#Resource_Rate. I assume this is what you're trying to change

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 set on a...

tropic lion
sage mantle
#

are you trying to set that in the .bat file?

tropic lion
#

yes

sage mantle
#

i'm trying to track down proof, but from what I'm reading that appears to only be possible using console commands while already in the mage, and can't get set in the .bat file

#

for all I know, that's the same thing... but I can't find a solid statement one way or another

tropic lion
#

On the wiki website(#dedicated-server message), these keys are listed in one section called "Global keys." So I expected them to work.

#

Because the keys from this list worked without any problems

sage mantle
#

I finally found a separate post where someone used -modifier raids muchless, as noted in that second link I gave. Maybe "-modifier resources most" without quotes might work? to be honest, I'm guessing, since I haven't tested it

tropic lion
sage mantle
#

Perhaps someone else will have an idea. Sorry that I couldn't be of more help

tropic lion
#

Thank you for trying to help me

#

Maybe it's about how Visual Basic handles strings, and my key simply comes in an incorrect form? This will require checking; right now I don't have enough knowledge to answer my question.

sage mantle
#

otehrwise, you can only get global keys using the pre-defined launch values

tropic lion
#

I will definitely try to use the console

sage mantle
#

best effort on my part 🙂 it never occurred to me to go this route before

#

good luck!

tropic lion
#

Thank you🙂

sage mantle
#

now I get to lock my screen overnight to see if I've solved my server's network disconnect issue lol. danged Windows BS power settings...

final current
# tropic lion 🆘 When I start the server, I set the key: "-setkey ResourceRate 200", in the pa...

You'd need -setkey "ResourceRate 200" with the double quotation marks like that. In Linux shells, you can also use single quotation marks. If you're using a container, note that some container images don't yet support evaluating the command line in that way.

Unlike the modifier arguments, the -setkey argument's scalar value is optional, so it needs the whole term passed in as a single value so it doesn't have to guess whether the 200 is a whole new argument you're trying to pass. The double quotes tell your command interpreter (e.g. Microsoft's cmd.exe) to pass what's inside as a single arg/value.

#

When you want to restore the original ResourceRate, you can remove the new argument then have an admin-listed player use the resetworldkeys admin command in the in-game console or you can add -preset Default to the launch arguments for a similar effect on next start.

final current
final current
tropic lion
tropic lion
#

🆘 I discovered a problem. When launching the server through PlayFab, I can easily join the server, but if I use SteamWorks, the situation changes. The server appears in the server list, but it says that the version on the server is outdated.

For reference, I did full reinstallations of both the client and the server, and I checked the versions against each other. Everything matches as it should

hollow ice
#

i made a Valheim Server Dashboard inspirited from crafty-control 😄

final current
tropic lion
final current
#

And if it's not a multiple installs issue, can you paste us a screenshot of the message?

tropic lion
#

The problem occurred with the Steam version of the server, and after reinstalling, it persisted. Then I completely deleted it and installed it via SteamCMD - the problem remained the same

#

Yes, I’ll prepare the screenshots now.

final current
# tropic lion Do you need any more information?

Looks good. I don't have a good explanation for you yet, though. I would next look at the client's Player.log from the session when the error is encountered. (can be in Player-prev.log if you had reproduced it the previous time you started Valheim). In there, you can see if there's any obvious explanation for the mismatch given.

I would make sure the one in the Community tab is actually yours, i.e. the IP address you see when you hover matches your external address.

tropic lion
#

I use radminVPN to create a virtual local network. On the same server (PC), I have already run the Stationeers server, and the connection was successful. In general, the network should work fine with Valheim as well, I assume

#

There's also this point: when connecting to the server, the error window appears instantly. It feels like it's not even establishing a connection with the server, since there's no visible delay

tropic lion
final current
#

That's up to you. Entries should appear in the log as soon as you attempt the connection, so if you haven't done much else afterwards, they'll be near or at the end of your log.

tropic lion
final current
#

Thanks. I don't see a Steam connection attempt for your IP in there. It's possible you have a lingering Crossplay registration.

When in Steam mode, you can try connecting to 127.0.0.1 if this is on the same PC or the LAN IP if on another PC in your network. If that works, then you can move on to try connecting with your external IP address. If you get the same message or an issue with that, you'd have to check your port forwarding and possibly wait a little while for your previous Crossplay registration to finally expire

tropic lion
#

In the server's firewall, the ports are open for Valheim and radminVPN. I set up port forwarding on the router to the local IP of the server in the home network, specifying ports 4899, 2456, 2457, 2458 TCP & UDP - but there are no changes. The problem remains

quartz umbra
#

Server Optimization
Guys, I have a question: how do I properly optimize a server if, say, 10-15 players gather in one place and have many buildings (community buildings, players' private homes) in one part of the island? We have a 2 CORE / 8 GB DDR4 / 30 SSD NVME plan. We have optimization plugins installed (and this has made the process a bit easier, as previously, even with six players in one place, everything would freeze): Network, ReturnToSender. But my server members told me there are other servers where several dozen people play and nothing freezes at all, and the buildings are so huge that they can take up almost most of the island, and everything runs smoothly. But another person said that the freezing isn't due to the server, but to the game engine, which can't handle more than 10 players in one place and large buildings. Who should I trust? What should I do? How can I optimize it, if it's possible? I'm preparing to launch my server.

summer pike
#

Hi

#

Any one wish to join the New Server

plain trellis
quartz umbra
plain trellis
#

Use less mods, build smaller constructions

gilded lintel
#

I think it takes time for it to post after review, but it has all the modifiers and setkeys far as I know

tropic lion
gilded lintel
#

wow thank you

#

can you link whatever youre talking about

gilded lintel
#

but happy to edit as youd like

gilded lintel
#

Im not sure I use quotes, it works without quotes for me

#

on linux

tropic lion
#

Here Justin Arthur, using example -setkey "ResourceRate 200", shows that key ResourceRate requires a 200 argument to work correctly, but in order to pass it to the game correctly, the argument needs to be placed in double quotes: "...". I want to draw special attention to the fact that with this method, you can set a resource multiplier that exceeds the in-game maximum of -modifier resource most(x3)! I got a x10 drop!

gilded lintel
#

I just use the words actually

#

oh ok

#

I get what youre saying

#

do all numbers need to be in quotes?

#

and I thought resource rate was a modifier, at least that's what worked for me

tropic lion
#

The numerical parameter is built around the value of 100. This corresponds to 100% or 1.0 (probability)

gilded lintel
#

so it works with both modifier and setkey then

#

just in different ways

#

Ill add it to the guide

tropic lion
#

-setkey "ResourceRate 100" will mean that only 1 stone will fall from one stone.
-setkey "ResourceRate 1000"means that 10 dandelions will fall from one dandelion.
This is something that cannot be done through the modifier because it is limited by predefined constants and the maximum allowable value х3

gilded lintel
#

yeah I get you

#

Im not doing a huge table but Ill add a blurb at the end

#

if you find the guide helpful please rate it up

tropic lion
#

This method has a nuance; in order to remove such a change, you will need to use the in-game console. Justin Arthur talked about this in more detail

gilded lintel
#

Ok I added that too

tropic lion
# gilded lintel Ok I added that too

I really liked how responsibly you approached writing the article; previously, I had to look for all this information on various websites

Can we team up so that I write a short section on setting it up in the Windows environment using Visual Basic?
I also want to translate it into my native language since there is a lack of such high-quality guides. Of course, you will be listed among the creators, and there will be a link to your original article

#

What do you think about it?

gilded lintel
#

sure sorry was eating

#

I actually set it up in windows too but migrated due to the overhead and issues with the config

#

I got it working but it was just annoying essentially

gilded lintel
#

it was a pain

#

just dm me or whatever

tropic lion
#

To fully harness the potential of Linux, you have to go through nine circles of pain if you have only ever used Windows.

Thank you for allowing me to use your article.
It will definitely help someone better understand Linux using the example of a Valheim server when they decide to switch from Windows. This will make the transition smoother

gilded lintel
#

sure, I figured since I went through all the effort I may as well publish it

sage nexus
tropic lion
fading root
#

ok so i have an intresting question. has anyone ever had this happen to them before. So i have a dedicated server that i run for valheim anyway i booted it up to check out the new beta update and all my buildings were gone, so i logged in via a pc that wasnt using the HD or mods and server still had no buildings. copied the save file and ran it locally and it has buildings... the only mod on the server is seaonailty. any ideas?
i also deleted the whole fodler and just put a copy of the file i tested on my pc(made a copy from my rig and pasted that back into an empty worlds_local folder on the server machine) and still no buildings on the server.
so to recap the file had buildings on my rig as a local file, but after coping that file to the server there are no buildings

#

this is what it looks like on the server

#

this is what it looks like on a local machine, same file both places

final current
gilded lintel
#

client version versus server version?

fading root
#

so i disabled the mod and what not and the building are still gone but its snowing like its winter in the mod

gilded lintel
#

if you go to public test from the current version this can happen

fading root
#

both the same version, both have been updated and files verifed

gilded lintel
#

you said one was beta

#

or both?

fading root
#

never used the server as a public test (the HD mod pack is a beta i was testing)

gilded lintel
#

if everything was fine before the mod...

fading root
#

i used a pc withing mods to test connect to the server and same thing as the modded client, it was fine with the mod before

gilded lintel
#

so when you run it locally, on your modded client, the buildings are there. When you go to the dedicated server, which also has matching mods as your client, its not there?

#

does the server have the same mods you have installed on your client?

#

when I was running a server, peoples client side mods, even when the mods were not installed on the server, caused some issues, like the client mods were affecting the server. For example, the client had a boss mod, and it affected the boss even though the server did not have any mods

#

Im not sure I understand, but if you are running client side mods that are not on the server, that could be it

#

I would just uninstall all mods or run without mods on both sides to see if that fixes it

fading root
#

so i uninstalled the mods from the server and ran just vanilla, no buildings but same file on my rig has buildings still. just reinstalling the server at the moment

gilded lintel
#

yeah but you have to uninstall from client too

fading root
#

i checked with both to make sure the modded client wasnt the issue. vanilla client has the same issue. its not a client or mod issue. as the server has been wiped and reinstalled from zero. and its the same.

gilded lintel
#

oh

#

How do you run this dedicated server, is it via a console, or do you run the server from a client

#

so like, for example, I run my server off a dedicated pc and log into it from another pc

#

and just to be clear, Ive had players who didnt start up with modman, and the client mods were causing glitches

#

Im still not clear on your scenario, sorry about that

final current
#

Any chance the server is on Linux or macOS with case sensitive file system and the clients you've copied to are on Windows? If so, could be a case sensitivity issue between the fwl and .db file name or extension. If not that can also be a Unicode normalization issue if the world name doesn't use plain Latin letters or Hindu-Arabic numerals

gilded lintel
#

yeah its not clear if its a full wipe into a new seed, which would of course cause all the buildings to be deleted

#

because in the screenshots it shows a map with progress

fading root
gilded lintel
#

if you reinstalled the server with steamcmd, it likely overwrote the bat file with your config

#

unless you put it back

#

if you jump into a voice channel we can try to troubleshoot, it might be faster

fading root
#

I moved the bat file out and put it back afterwards

gilded lintel
#

jump into a vc and we can see whats going on if you want

fading root
#

i'm calling it for a night, been messing with it for the last few hours, i'll check back tomorrow. thanks for the help

final grotto
#

hey I'm trying to set up a valheim server on my OCI instance running ARM64 using this thing https://github.com/tsx-cloud/valheim-arm
using docker
im getting the server to start and it is listening to the correct ports
but it doesn't seem to want to generate a world when I start it up
anyone got pointers?
do I need to pull something more than what is listed on github since I don't necessarily have valheim installed on my OCI
or does it include all dependencies

GitHub

Contribute to tsx-cloud/valheim-arm development by creating an account on GitHub.

buoyant perch
#

Hi. Does someone know the answer? 👆

final current
final current
# buoyant perch

Yes, you'd put their ID as a line in that file. Are they coming in via the Steam version of the game, Xbox/Microsoft store, or Apple App Store?

buoyant perch
final current
#

After placement in that file, they would be an admin any time you start a server with that directory as the -savedir. If this is the in-game server and not Dedicated Server, then the savedir will be the default for your operating system and you will not be allowed to change it.

buoyant perch
final current
#

It will work fine. I just mean that you have no choice where to put the file if you're using the in-game server—it's always the same directory.

buoyant perch
final current
final grotto
final current
#

If there's already a <world name>.fwl and <world name>.db in <savedir>/worlds_local then it will just use that file pair.

final grotto
final current
# final grotto my world folder is empty, it feels like the docker yml isn't setting the directo...

It can be a little janky running on arm64, sure. Sadly, there's no native arm64 support from Unity yet outside of the "call us for details" embedded version or the macOS version.

In the meantime, feel free to post us your server logs or your container configuration for some troubleshooting. If you aren't bind-mounting a directory or mounting a Docker volume to the savedir path, then the world will be landing on ephemeral container storage.

buoyant perch
onyx orbit
#

these are the contents of my start_headless_server.bat, is it wrong?

set SteamAppId=892970

echo "Starting server PRESS CTRL-C to exit"

REM Tip: Make a local copy of this script to avoid it being overwritten by steam.
REM NOTE: Minimum password length is 5 characters & Password cant be in the server name.
REM NOTE: You need to make sure the ports 2456-2458 is being forwarded to your server through your local router & firewall.
valheim_server -nographics -batchmode -name "Universium" -port 2456 -world "Dedicated" -crossplay -public 1 -logFile "E:\valheimserver\log.txt" -backups 11 -preset immersive```
#

because if i try opening it, it closes instantly

final current
#

I do notice you've made it public without a password (unless you omitted that for posting here). You'll need a password in order for it to be publicly broadcastable.

#

If in doubt, post the logs from the failed start. You can obfuscate any private parts.

final current
buoyant perch
onyx orbit
#

i just put a password and it still instantly closes

final current
onyx orbit
#

yeah it still instantly closes with 5 character pass

#

valheim_server -nographics -batchmode -name "Universium" -port 2456 -world "Dedicated" -crossplay -password "xxxxx" -logFile "E:\valheimserver\log.txt"

#

also cant seem to find a log file in the server folder?

final current
#

You checked "E:\valheimserver\log.txt" ? If no log file, time to check the console output. Consider running your batch file with a Command Prompt command instead of using Windows Explorer

onyx orbit
#

alright i got it work thanks @final current just one more small question, i managed to connect with the public ip but does valheim also allow to connect through local network ip? since im on the local network of the server

final current
brazen nymph
#

Hello guys, I rented a Nitrado server. How can I set the resources to x2 there? Thanks in advance 🙂

plain trellis
gilded lintel
#

You have to do it in the startup script where you add password and world name etc

final current
gilded lintel
#

Ah it might be in a gui then

#

Not sure

gilded lintel
#

Is 10 the hard max a server can host, or are there higher-population servers out there? Interested in what could be possible on, say, a 50 or 100-person server.

distant wind
#

hello guys I'm trying to see how to avoid people getting on my server and stealing stuff

final current
final current
errant cedar
#

hey can i get some help with my server? hosting on same pc i'm using right now. where do i place the files in the directrory? would it be here? F:\valheim\Valheim\servers\1\serverfiles?

final current
errant cedar
#

im using r2modman. i want to put all of my local and server files whjere they're needed to be placed

#

local and server mods*

#

i assume they can all go in same directory

#

i used windowsgsm to set the server up for mke

final current
# errant cedar im using r2modman. i want to put all of my local and server files whjere they're...

#mods-discussion or #mods-issues might be the better place to ask, but if WindowsGSM installed it, it should know where the server is installed. I'm assuming the mods go in some BepInEx directory relative to the install path.

I'm guessing if you copy the relevant dir from https://thunderstore.io/c/valheim/p/denikson/BepInExPack_Valheim/ according to the Installation (manual) instructions, but putting it in your Valheim Dedicated Server installation path instead of the steamapps\common\Valheim dir, then copy the same plugins you normally manage with r2modman to BepInEx's plugin dir.

gilded lintel
#

I did a modded server and chatgpt guided me through most of it. Be aware that if you're updating your server, it may break mods so you'll have to update those too. I just ended up sticking to vanilla as users had to roll back client updates as as far as I know steam doesn't let you stop client updates anymore

#

Because I stopped updating the server to stop mods from breaking

#

It's not unmanageable to have a modded server, but it's much more management than a vanilla server is unless you find automated tools to update the server mod files, which I think exist for windows at least.

hollow ice
white pilot
#

Can someone help me set up a dedicated server on linux? I recently desided to switch and ive been having a good time with linux the only problem is that i cant make a dedicated server so easily. if someone can thanks!

final current
white pilot
#

what do you mean by desktop environment

final current
#

Are you running with a GUI environment like KDE Plasma, Gnome, XFCE, etc., or as a headless server with terminals and SSH and whatnot?

white pilot
#

when i press launch it shows me a terminal-like program with its logo being an X and T overlapping

final current
#

Like a graphical launch button?

white pilot
final current
#

What Linux distribution are you running?

white pilot
#

nobara

final current
#

Alright, Nobara is primarily a desktop distro. It also looks like you have both installed and are running the server. Looks good so far, what are you trying to do or fix at the moment?

white pilot
#

when im sure its done loading it gives me State: CLOSED

final current
#

What gives you that?

white pilot
#

oh so now it doesnt give me that

final current
#

Looking good

white pilot
#

but yesterday it gave me that its closed

#

so something has happened while loading

final current
#

Alright, when that happens, best to scroll up to inspect the logs. That XT program looks like XTerm maybe, which should let you scroll/select/copy/paste. You might also consider adding the -logFile <path> argument to the launch args in your start_server.sh script to switch to logging to a file for easy access and searching.

white pilot
#

thanks!

final current
#

What are some parts you'd be wanting help on?

ionic tinsel
#

I'm having trouble with a vanilla valheim server running on a debian server. If crossplay is enabled, the server closes after 5 mins or so, right at world save. The logs dont say much just unregistering the playfab server and leaving network. If crossplay isn't enabled, I can't connect over internet despite having all the ports forwarded and I even disabled firewalls for a bit. Anyone have ideas?

final current
ionic tinsel
#

I have UDP forwarded for 2456/7/8 and TCP for 27015 and 27036; yes my router supports a route. Here's one of the logs where it dropped out when crossplay was enabled

final current
ionic tinsel
#

I am yea, I had the console up but didn't send a cancel. I saw that too and I thought maybe linuxgsm's monitor command was causing it but when I run that manually it wasn't triggering it

final current
#

I believe I fixed this issue in LinuxGSM 25.2.0. Make sure you're using that or higher.

#

(release was a couple weeks ago)

ionic tinsel
#

ok cool, I updated that a few minutes ago and its at v25.2.0 now, it would have been pretty old before that

final current
#

If dropping Crossplay is an option for you, going direct is always going to be better for performance and stability anyway. We should try to get that working.

One thing that can happen is that your old Crossplay registration with Microsoft can linger, and your external IP address can lead Valheim clients to the old Crossplay relay instead of your actual server. If you test without Crossplay again, your UDP ports forwarded, then try connecting to the external IP address. If that fails, make a copy of your client's current Player.log with the connect attempt before you start Valheim again.

We'll be able to tell from the Player.log file if a Crossplay connection was attempted instead of direct.

#

Re above if going back to Crossplay, ./vhserver update-lgsm to upgrade LinuxGSM's Valheim toolchain in case you had upgraded LinuxGSM independently.

ionic tinsel
#

Looks like that cancel is still happening for me on lgsm 25.2.0 - I haven't changed the crossplay yet. I gave the server a reboot after the update

final current
#

Well, if you've overridden querymode in your vhserver.cfg, you'll want:

querymode="1"
querytype=""

for Crossplay.

#

But I'll continue to recommend against Crossplay if you can help it

ionic tinsel
#

I disabled crossplay and it looks like its staying up now. I grabbed the player log after trying to join through external IP then at the end of it connected through the lan. my vhserver.cfg has querymode="2" and querytype="protocol-valve"

final current
#

Cool. That was it then. querymode=2 will only work with Steam/direct mode. I am looking at the Player.log now…

#

I can confirm that before your successful LAN IP connection attempt, it was indeed trying to connect over Crossplay still and failed. If this was via an entry in Recents, you'll want to re-add the server by the external IP in your client. If this was via Favorites, you'll want to remove the old entry created when the server used Crossplay.

#

If you'd like, @ionic tinsel, I'm happy to attempt a connection from my client.

ionic tinsel
#

Sure that would be great - I had tried deleting the old IPs and putting in fresh but it looks like it is still going to playfab for me. A littler earlier I tried shifting port numbers just on the router side and it didn't go through playfab but didn't connect either

final current
ionic tinsel
#

yea I'm thinking something with the forwarding too.. and yes my router matches; should just be 2456/2457/2458 UDP right?

#

i turned firewalls off to make it easier for now

final current
#

Yes, forwarding 2456 and 2457 UDP from WAN to your LAN IP. Ideally you have a DHCP reservation set up for your ethernet adapter's MAC address so you don't have to keep updating your forwarding rules as the LAN IP changes.

ionic tinsel
#

yes I do have that setup for the server

final current
#

Your ISP is rumoured to have started rolling out CGNAT to more customers this winter, hence the router WAN vs external check

ionic tinsel
final current
static gulch
#

hello everybody, i set up a dedicated server (ubuntu 24 VPS by a random cloud, headless), but the server start up is very slow (~15 minute). after the long startup i can log in and play normaly. i decided to ask for help here, if by any chanche anyone else had the same error as me / or knows the solution.

#

also i used stemcmd but the game is run by an another user than the owner of the files, can this be the problem (read premissions are granted)

gilded lintel
#

Did you check logs?

static gulch
#

yes the most of the logs are shader errors.

#

there are some that might be interesting ```
GPU Device: 0000:0000 (Unknown)
The referenced script on this Behaviour (Game Object '<null>') is missing!
AsyncResourceUpload failed.
AsyncResourceUpload failed.

#

and for examples of the shader errors: ERROR: Shader TextMeshPro/Distance Field shader is not supported on this GPU (none of subshaders/fallbacks are suitable) WARNING: Shader Unsupported: 'TextMeshPro/Distance Field' - All subshaders removed WARNING: Shader Did you use #pragma only_renderers and omit this platform?

#

if you want i can upload the full log

final current
# static gulch hello everybody, i set up a dedicated server (ubuntu 24 VPS by a random cloud, h...

If this was first time with a new world name, 15 minutes is OK for world generation. Next time starting with that world name would be faster. Permissions on the forced install dir shouldn't matter as long as the server user has read access (and execute for any scripts you use to launch).

Permissions on the savedir do matter, so make sure your -savedir points to a path you have full access to or if you don't supply one make sure your $HOME has sane permissions

gilded lintel
#

Is hardware a possibility?

#

If it's starting up just slow I mean

#

Resource issue or something

pine kestrel
#

I am having an issue connect to my brothers dedicated server. I was playing last night and my internet went out. After i got my internet back up an running i can no longer get into the server. He logged on and was able to connect.

i have restarted my computer, router, modem.
i have uninstalled and reinstalled valheim
i have removed the server and readded it.
I have tried a different character still not able to.

I dont know what else to try, any suggestions or help?

final current
pine kestrel
vapid radish
#

Hey guys, searched in here and the documentation but im having a bit of an odd issue. I started a dedicated server today, however I can not find the admin file anywhere. I searched every file and folder from root, and even installed a file search to help me and all it can come up with is where they are mentioned in the documentation. Any idea on where I should start? i'm brand new to servers and steam cmd 🙏🏻

final current
# pine kestrel So i was able to get on it but only when i use my hotspot on my phone. I think m...

Gotcha. I'm on Spectrum as well, but with my own router. Generally no problems connecting to my and other Crossplay or Steam/direct servers. Hopefully the new router does you well.

Note the Join Code will change, so you'll need to get the most up to date one from one of the players (they can see it on the Esc screen). Once you've created an entry with the join code, it should continue to work even after the changes. You probably already know this, but I'm saying it just in case.

final current
pine kestrel
static gulch
final current
#

You're doing this via a gportal UI or some manual manipulation of gportal's launch infrastructure for the server executable?

#

Either way, their support dept might be your best bet for getting it resolved. If it's through a customization in a startup script, we may be able to help though.

final current
haughty wharf
white scroll
#

hey! me and my friend recently made a world, but he wants to play it while im not home, and ig to do that i need a dedicated server, but not sure how to set one up, any reccomendations? ive tried a vid on yt but i got confused lmao

final current
# white scroll hey! me and my friend recently made a world, but he wants to play it while im no...

Well, do you have a spare PC or Mac around to host it on? As for set up, it's mostly a matter of installing it, configuring it, then running it. It can be installed with Steam (enable Tools in your library filter), SteamCMD, or Apple App Store (Crossplay mode only, installed alongside main app).

Once you install it, there'll be a manual PDF included that gives some hint on how to configure it via command-line arguments. If you already have a setup that's working with the in-game server, you can mimic that in your dedicated server with command line arguments. You can copy your existing world files pair (<world name>.fwl and <world name>.db) to the savedir you're using for the server.

If you need help automating it, like having it run on system startup, we can help with that too.

white scroll
#

Ohh is that why, last night I tried setting it up on my actual pc, but ig that wouldn’t work cuz I won’t always be on it?

white scroll
final current
# white scroll And also with Mac is steam the best option?

Either your PC or Mac should be fine as long the one you choose has reasoanbly modern hardware. It just needs to stay on, is all. You don't need to be attending it, but you'll want to disable any auto-suspend or auto-hibernate behaviors for the system.

Yes, the Steam version is best on the Mac IMO. Same performance, but gives you more possibilities for connectivity and player auth/identification.

#

If you install it on the same box you play the game (client) on, I highly recommend using the -savedir <savedir> command line argument to avoid having the server share the same folder structure. It can make world management a little dangerous.

white scroll
#

Ok, I’ll have it on my Mac then since I’m at school when he wants to play, also how do I get to the guide?

#

Side note: I know nothing at all about like how programs and stuff run so this is all foreign to me

final current
#

It will be in the installed dir. You can right-click on "Valheim dedicated server" in your Steam Library once installed, then Manage/Browse local files

white scroll
#

And I’m doing this on my Mac?

final current
#

Yes, I'm assuming that, but similar instructions for Linux and Windows. On the Mac, you'll also see start_server.command in there. That's the shell script that launches the server and where you'd adjust the command line arguments. It's recommended to make a copy of this file named something else and edit that copy instead of editing the original.

Your copy of that file is what you'd launch. e.g. the manual way, start Terminal, then:

cd ~/'Library/Application Support/Steam/steamapps/common/Valheim dedicated server'
./start_my_server.command
white scroll
#

I see

#

Alright I’ll go check it out

final current
white scroll
final current
#

yep

white scroll
white scroll
#

am i missing some stuff in the file?

final current
# white scroll ok, and since im on mac what should i open the file with?

TextEdit might work if you don't have a fancier text editor. Xcode would work as well if you happen to have it installed. For running it, using a terminal is recommended the first couple times so you can see all the logs in the console, e.g. Terminal that comes with macOS. iTerm2 is a popular 3rd-party alternative.

final current
final current
#

You don't. Most of those are showing their default values that you get when you don't specify the argument at all

#

If you don't specify -logFile it logs to stdout/stderr (the terminal console, basically)

white scroll
final current
#

Run your start_server copy, ideally from the terminal the first couple times.

white scroll
#

and how do i know when itys done loading atuff

#

ok it says its active, but how do i join it?

final current
#

Yes, it's normal, but it looks like it generated a new world. Was that your intention or had you put your world file pair in the wrong place?

white scroll
final current
#

Alright, where did you copy dehha.fwl and dehha.db from your existing game to?

white scroll
final current
warm socket
#

Hello

#

do you know if valheim dedicated server is more hungry for GHz or cores?

vapid radish
haughty wharf
# white scroll And also with Mac is steam the best option?

Steam should work fine for both i don't have much experience with a mac so i cant directly relate but steam has mac support and Valheim has native Mac support so you should be fine. I use windows personally I've used Linux as well in the past its more complex but works great as well and is good if your using old hardware since its more light weight O.S.

final current
final current
warm socket
final current
#

If you're grabbing new hardware, my biggest recommendation is to go with an x86_64 CPU unless you're building a Mac or you just realllly need to save office space. It's a pain to emulate x86_64 for the server.

white scroll
final current
final current
# white scroll it should be here right?

Assuming this is Windows, if your world is cloud-synced, you're likely to find it staged locally at:
%ProgramFiles(x86)%\Steam\userdata\<steam user ID>\892970\remote\worlds
If it's locally managed (💾 icon), look here instead:
%USERPROFILE%\AppData\LocalLow\IronGate\Valheim\worlds_local

#

If you're using Windows Explorer, I recommend enabling the viewing of file extensions to make it easier to locate the correct .db file.

final current
#

Looks like file extensions are still hidden, but yep, that's them.

You'll want to go back to your server machine and remove the empty/fresh world file pair that you just generated in <savedir>/worlds_local to avoid confusion.

Once that's done, copy the old/established dehha.fwl and dehha.db from your Windows box over there.

white scroll
final current
# white scroll will i need to email it to my mac?

Up to you how you get those files over there. If you have Windows file sharing enabled, you could try from Finder or the macOS desktop menu: Go / Connect to Server… / then smb://<windows-pc>/ where <windows-pc> is your Windows machine's host name.

If not, Google Drive, Microsoft OneDrive, or DropBox might be easy ways.

white scroll
#

oh i think i got it

final current
#

dehha.fwl and dehha.db from your Windows box. Might want to make sure you make an extra copy of them somewhere as backup while you're at it.

white scroll
#

these 2?

#

oh

#

"db" stands for data base?

white scroll
final current
#

It does. I highly recommend enabling showing file extensions in Windows Explorer for these kinds of tasks

final current
#

I don't have a Windows box nearby to check atm sorry

white scroll
#

oh

#

i got it

white scroll
final current
#

Shouldn't be necessary if you think you copied the right ones

white scroll
#

ok

#

so whast the next step

#

also i rlly appreciate ur help man

final current
#

It's no problem at all

frank dagger
#

Saquei

final current
#

Once you have the correct world files in <savedir>/worlds_local, you can start the server again and hopefully you don't see any "failed to place" messages from new world generation.

white scroll
final current
# white scroll ok, so from here do i just copy what i have in the one drive to here?

Nah, you'll need to locate your savedir. If you didn't specify a -savedir <path> argument for server start, then your savedir will be the default.

I think the default is ~/Library/Application Support/IronGate/Valheim where ~ is your home directory. If you're using Finder, you'll want to first go to your home directory (Cmd+Shift+H on a Finder window will take you right there). Then View / Show View Options / Show Library Folder. You can now navigate deeper to find that savedir.

The world files should be placed in <savedir>/worlds_local after you've removed the fresh/empty pair you generated on that first server start.

white scroll
#

oh

#

bruh, dont anser that

white scroll
final current
#

It should take whatever finder window you're in and will navigate it to your home directory. If you click on the desktop and type it, it should pop up a new or established Finder window.

white scroll
#

sorry lol

final current
#

Nice. Now navigate down to Application Support/IronGate/Valheim/worlds_local

final current
#

Sure, assuming you didn't connect and play on them or want to keep them, those can be deleted or Trashed

white scroll
#

whats next

vapid radish
final current
# white scroll whats next

Start it up, make sure it doesn't look like it's generating with "failed to place" messages. Look for an "invite code" in the console output if you're still using Crossplay, then try to "Add server" with that invite code on the game client. (The game client calls it a join code)

white scroll
final current
white scroll
#

sorry lol, ive never done anything like this for a game

final current
#

Once you have some more experience, you could experiment with putting the script somewhere more convenient, but you will need to replace the "$( dirname "$0" )" part of the script with the exact directory where to find the server installation if you do that. Something for later.

white scroll
final current
#

Did you edit it to add your world name and such to the arguments? If so, you can just run that one then. Just be warned that if Iron Gate or a contractor changes that script template, Steam will overwrite yours with their new one.

white scroll
#

im so dumb😭

final current
#

All good

white scroll
#

or like which one is gonna acctually be showing

final current
# white scroll does it matter what i name the server and world?

The server name can affect how it appears in the server lists, especially if your server is public. The world name (-world <world_name>) is important, because it will look for <savedir>/worlds_local/<world_name>.fwl for your existing world, and if it doesn't find a file with that name, it generates a new world.

white scroll
#

ah ok, so then the world should be named "dehha" and the server name i can make like "Private server"?

final current
#

yep

white scroll
#

so is this good?

final current
#

If you put spaces in the server name, make sure they are enclosed in quotation marks in your start script. Looks like you've done that. Good.

You can make it private with -public 0. If you don't include a public designation in the arguments, it will assume you want it public.

final current
#

Yes, but without the period.

white scroll
#

or do i have to open the actual game

final current
#

You can save and close the script if you're editing it, yes. Yes, you'd cd to the directory where the script is and run it with ./<script_name>. As a little trick, you can start typing ./ then a couple letters of the script name then press [tab] key to auto-complete the rest.

final current
#

It stands for "change directory". It puts the terminal commands you type next in the context of that directory.

white scroll
#

ok so uhhh, in short i just open the server copy file and let it generate?

final current
#

In short, in a terminal:

cd ~/'Library/Application Support/Steam/steamapps/common/Valheim dedicated server'
./start_my_server.command

replacing start_my_server.command with the name of the copy you made.

#

And if that doesn't work, let me know and we may just need to adjust the file permissions.

white scroll
#

ok

white scroll
#

i just opened the copy of the start server file with terminal

final current
#

Cool deal

#

And yep, those shader errors are normal. The server shares a lot of code with the game/client, but the server lacks the ability to load code onto a GPU. You'll just see some errors when it tries to load that code onto a GPU anyway, but it won't affect server operation.

white scroll
#

this is what it says now

final current
#

Find the "invite code" in the later log messages, and try to add the server in the game menus (Start Game / Start / Join Game / Add Server)

white scroll
#

should it be here?

final current
#

Hmm, doesn't look like it had an invite/join code as of that message. Is there anything after that?

white scroll
final current
#

Later than that

white scroll
#

it loads a lot of these region things

#

not sure if its normal

final current
#

Yeah, that's normal. You want something near the end if you scroll down (which is where the most recent messages are).

white scroll
#

this is the farthest i can scroll

#

idk if it matters, but im not on my home wifi, im at work

final current
#

You're looking for either of these messages:

  • Session "dustie server" registered with join code XXXXXX
  • Session "dustie server" with join code XXXXXX and IP …:2456 is active with 0 player(s)
    Where XXXXXX is the code you're looking for.
#

Make sure you don't have any other servers running (whether in-game server or dedicated server in another terminal window).

white scroll
#

this is all it gives me

final current
#

You sure that's your only server running at the moment? No other in-game servers or Terminal windows lying around?

final current
#

If this is a corporate network, it's possible that outbound UDP is blocked, which would be unfortunate.

teal kite
#

Is there a way to disable raids on a dedicated server without having to restart the world? (Restart as in start a new seed, sorry)

teal kite
#

Awesome! Thank you!

torn gale
#

What server host do people use for heavily modded valhiem? Trying to figure out what the best option is. Need at least 8gb ram for 4 people and heavy mods

merry idol
final current
quaint wing
#

Can we advertise our dedicated server?

#

oh never mind i see the self promotion page

final current
winged oyster
#

Where can I find the correct client side version of valheim plus? I use Valhost. Thank you.

final current
winged oyster
#

Thanks!

winged oyster
#

I have all the most recent versions of the mods and the server side matches what is on my PC. I am running Windows and have Valheim on Steam. I have the dedicated server tool for the game on Steam. I restarted the server and tried to log in through the game itself under Join Game and entering the server info. It kept disconnecting and not starting. I then tried to enter from the Steam Favorites for my game server. Then it told me the version was incompatible. Any idea what I am doing wrong?

final current
# winged oyster I have all the most recent versions of the mods and the server side matches what...

Is your Dedicated Server using the Steam or Crossplay backend?

How are you connecting to it in Join Game: loopback IP address, LAN IP address, external IP address, or Crossplay join/invite code?

Are there any hints in your Player.log file from the connection attempt?

As for the incompatible version, if neither the client or server is on a public test branch, you might wish to run your mod list by #mods-issues after you've exhausted log analysis.

winged oyster
#

Steam. external IP address provided by the server hosting peeps. Let me share some info from the log, because I can't tell from that what is wrong. One sec.

final current
#

I recommend a text file in the future; most of the regulars in here are Linux users. I don't see any failed connection attempts in here, but I do see the incompatibility issue:

jAtunn is not installed on the client. Server has mandatory mods, cancelling connection. Mods that need to be installed on the client
If the messaging is not clear, you might wish to inquire in #mods-issues

winged oyster
#

Thanks!

cloud charm
#

Hey all ive been having some issues with my dedicated server and not being able to lock configs for some of my mods. leaving my more knowledgable players to edit them. how do yall go about preventing this and how do i take care of it? im hitting some walls and am able to lock configs on most mods but not all, thank you.

final current
quaint wing
#

Anyone else have an issue where new characters are not arriving at start spawn correctly? it usually involves the intro skipping itself not prompted to and then promptly falling to your death like the raven just yolo-ed you

pallid gust
#

Say I want to self-host like I always have, but on a separate machine instead of hosting and playing on the same computer. Would the server even work with just the world files? (meaning not having the game installed on my self-host machine)

dim hatch
final current
# quaint wing Anyone?

Doesn't sound like a vanilla Valheim issue unless you kept a .fwl file around but swapped out the DB file at some point. My guess is you or someone might have installed a mod. If so, consider hitting up #mods-issues with your list of mods and versions

final current
gilded lintel
#

Are there any server I can join on Xbox that's has kod,normal combat difficulty and 1.5x or 2x resource rate

hidden cliff
#

I have a weird issue with my latest world. When in our home base, the server doesn't save properly. Things I build before I quit disappear, crops vanish, signs revert to previous texts, etc. This seems to only happen in the main base, and only when the save file is opened via the server (I downloaded a copy and it works fine when loading it in single player). No server-side mods, I've moved the savefile to an entirely new machine without improvement, and we have a fairly small base, nothing even approaching a megaproject or anything very fancy. I have a storage house with a bunch of chests and signs, but nothing extreme. I've tried to search for solutions and I've asked in other places, but so far nothing works. Is this a known bug? Any suggestions for things I can try?

gilded lintel
pallid gust
#

Where do I go from here to find the file the server uses for worlds?

final current
# hidden cliff I have a weird issue with my latest world. When in our home base, the server doe...

Is this server on a PC that hosts the game client as well?
If so, you could have a cloud-managed world competing with the server's copy. Make sure to use a custom -savedir <path> if this is the case.

What do the server logs say during the save interval? If something were going wrong server-side, that would be the first place to look.

Is your savedir on a network-mounted share (e.g. NFS, SMB , AFP), if so, you may need to revise the mount parameters.

Is the savedir on a case-sensitive file system? If so, have you made sure there's not an upper and lower-case version of the world.

Check your hard drive space available.

And finally, if you're running mods, there's a good chance it's the mods.

final current
pallid gust
#

I don't see a manual here

final current
# pallid gust

It is a PDF, and it lives in your server installation folder, probably the folder you showed a screenshot of your file manager looking at .

pallid gust
final current
#

That's the one

pallid gust
#

I can't read this

hidden cliff
# final current Is this server on a PC that hosts the game client as well? If so, you could have...

No server side mods, and all clients have issues, even when no modded clients are online. The server is on a separate pc, and previously hosted on a rented server from GPortal. I asked their support and they moved it to a different server, which didn't solve the problem, and now it's on a friend's spare PC, still with the same issues. Definitely not competing worlds on the PC, this is the only world on that machine. I don't know about the logs, what should I look for there?

final current
# pallid gust

You will need to open it with a PDF viewer. This looks like you might be using Microsoft Windows, or Microsoft Windows Server. If this is the case, Microsoft Edge is a popular PDF viewer for either of those platforms. Adobe Acrobat is another popular one you could try.

final current
hidden cliff
final current
# hidden cliff I'll check the logs. I think the default save time is 30 minutes? In my testing ...

If you are only restarting the game client, then no, that's not normal. Server should definitely be maintaining that in memory even outside of the save intervals. Feel free to attach your server log as a text file (ending in .txt or .log) here if you want more eyes on it. You can redact or obfuscate any parts you deem private.

Same goes for your client logs after one of these bad sign editing attempts. You would save a copy of your Player.log before the next start of the game program.

pallid gust
#

I can't figure it out

#

Server can't even be connected to

#

@final current

final current
pallid gust
#

Through the internet

#

IP address and password

#

Crossplay is on so I didn't need to port forward

#

I believe this is the right format

#

Now the command prompt gets stuck on this line

final current
# pallid gust

That looks good to me. This looks like the Windows command prompt, though. Be warned that it can effectively pause the program running if you click inside of the window, activating Quick Edit mode

pallid gust
#

Do I really need to have steam installed on this server computer and valhiem?

final current
# pallid gust

You have put a path after your -crossplay argument. If that path is intended to be your savedir, you need to put it immediately after -savedir

final current
pallid gust
#

Would you be able to call and help me again? I say again because I bet you'll remember my voice

hidden cliff
final current
final current
hidden cliff
#

I figured the mods were fine since the other two players on the server have the same issues and neither of them have any mods

pallid gust
#

It keeps repeating these lines of begin playfab create

#

At this point I'm about ready to just paste a log file in here

final current
# pallid gust It keeps repeating these lines of begin playfab create

Not many clues with just that. Given this is Crossplay and it's not showing you an invite/join code, there are two things I would check on without knowing what's going on:

  • Make sure you don't have more than one Crossplay server running in the same LAN.
  • If this is a pretty fresh installation of Microsoft Windows, make sure you have the C++ redistributable standard library installed: https://aka.ms/vc14/vc_redist.x64.exe (it's possible you haven't installed any other programs yet that would otherwise install this dependency that Crossplay requires)

Are you able to attach the log as a text file? It will be easier for us to look for issues that way. If your terminal program doesn't provide a convenient means to save it, you can pass -logFile <path> to save the logs to a file instead of sending them to the terminal Window. You can remove anything you think might be private.

pallid gust
#

When you say same lan, what does that mean?

#

Same system right?

final current
#

I mean the same local network of computers. In a home environment, most of your computers will end up sharing the same external IP address, which Dedicated Server uses as a unique identifier in Crossplay mode.

hidden cliff
pallid gust
#

I sent the logs to you in a dm Justin

final current
hidden cliff
final current
#

Well, if no modded player was on for that session, time to check the server logs

hidden cliff
#

Yeah. I'll get them tomorrow, the friend who runs the server has gone to bed. Thanks for the help so far

pallid gust
#

@final current were you able to find the problem?

pallid gust
#

A got a server problem where the server works on -public 1 when connecting but on -crossplay it doesn't allow me to connect

#

Usually the problem is backwards where you can't connect without port forwarding if the server isn't crossplay

final current
final current
#

(resolved offline, needed the MS Visual C++ redistributable)

hidden cliff
hidden cliff
#

....Ok, the problem with the server not saving properly was solved, someone on Reddit suggested destroying and rebuilding any boats in the area and doing that to our one longship solved the problem instantly. No idea why.

pallid gust
#

Now I got a new problem lol

final current
# pallid gust

Your server log will have the answer most likely. The usual cause is trying to go public with too short a password or a password that contains the world or server name

pallid gust
#

-hard?

glass wharf
#

Has anyone noticed a significant dip in performance when an Xbox player is in your world?
I’ve got a cross play server setup, I’m on PC and my friend is on Xbox. I know that the first person to load into an area is essentially the host for that area but even if I’m first person in, then he follows, the performance is bad for both of us. So bad it makes the timing on parrying quite difficult.

#

It’s almost like the Xbox always takes over as host?

final current
final current
distant wind
#

I have a question, I'm hosting my own server I'm playing togethe with my friends, We never had any issues with host problems or anything now we're in ashland and its pretty impossible to play together, he get frozen the same moment he joins into the server, we get the error 4098

final current
final current
pallid gust
#

Anybody else have a laggy ashlands server no matter how good the hosting machine is?

#

My seperate machine is a 14900K and I'm just using the i-gpu on hosting the server. Do I need a gpu for the server?

#

The ashlands still lags on the server

final current
pallid gust
#

That's just great

#

Fiber internet combined with a ethernet connection doesn't even solve that

final current
pallid gust
#

My friend is 22ms when connecting and it's stable

final current
#

How is their PC? And It's connected via ethernet?

pallid gust
final current
#

That very first bullet point (Crossplay) is going to be the biggest impact item. If all of your players are using the Steam version and you have some IT networking savvy, I'd highly recommend going direct instead of Crossplay.

pallid gust
#

Hardware wise and internet there isn't much we can do to make it any smoother

#

I have to use crossplay for my other friend

#

He's xbox

final current
#

Ahh, gotcha

gilded lintel
#

What region are you in?

fossil elk
#

got a server figured out TY tho

gilded lintel
fossil elk
#

valhost, they had a Oregon sever ( me and my friend are from vancouver so 11ms ping was very appealing) and its very cheap with easy FTP support

gilded lintel
fossil elk
#

hey guys my friend is having an issue loading my dedicated server he can get in but nothing aside from the base ground is loading

sage nexus
#

@fossil elk is anyone using a vpn?

final current
hybrid schooner
#

Hey guys, new here, but I have a troubleshooting question related to dedicated servers. Would this thread be the right place to ask??

final current
hybrid schooner
#

Perfect! Sorry I took so long to reply, but I'll try to explain it all as best I can.
So I have Valheim on my Xbox Series X and I wanted to setup a dedicated server for some of my friends. I downloaded Valheim from the Xbox app on my computer and used the instruction manual in the game files to setup the Batch file as best I could. I was using a world we already started on the Xbox, so I had moved it from the Cloud to local storage on my computer. However, when I ran the batch file, the command window closed immediately after running through the operation, so I wasn't able to see if it said "Game Server Connected".
When I loaded into the game, though, I found my server up and running in the community tab. When I tried to join though it said "Incompatible version". It said the same thing when trying to join from the Xbox as well.
After double checking, I realized my Xbox version was .221.4 while my computer was 221.6. I added the crossplay line to the batch file, but that didn't seem to resolve the issue. I figured I would just try again another night, but that's when I ran into the issue where I couldn't seem to shutdown the server. I double checked that I didn't have it running it task manager, reset the game files through the Xbox app, even uninstalled and shutdown my computer, but I still see the server show up in the community tab.
Even after reinstalling trying to change the server information entirely to start a new dedicated server, I still see the original one I setup. I'm not entirely sure how to proceed from here as I can't to run a new server while this other one is stuck in limbo. Ever seen anything like this before? I'm not running any mods for the game at all, either

final current
# hybrid schooner Perfect! Sorry I took so long to reply, but I'll try to explain it all as best I...

The command window closing would be the first thing I would tackle; if it's closing near-immediately it's probably closing with an error that you aren't seeing. I assume the computer is running Windows. If this is the case, consider starting the Command Prompt separately, cd to the directory where you have the batch file and execute it from the command line. That way the window will remain.

If it remains but doesn't show enough lines of history, you can increase the buffer size:
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc754340(v=ws.11)#to-configure-the-command-prompt-window

Also, if it's closing immediately, the server you're seeing in the Community tab may not even be yours, or if it is, it's an expired registration.

golden veldt
#

one of my buddy's had this issues , he sent me this something found with copilot. What you’re seeing is a ghost server entry—Valheim’s community list caches servers that were once registered, even if they’re no longer running. The “incompatible version” error is because your Xbox Game Pass build (.221.4) lags behind the PC dedicated server build (.221.6). To fix both issues, you’ll need to (1) align versions between Xbox and PC, and (2) clear or overwrite the cached server registration so the old one stops appearing.. i use windows docker and it's much better

viscid epoch
#

ive been trying to get a dedicated server to run on my pc, i can get it to start and run. but when i try to join the server it says wrong password when i put the one i set as the password in the file

floral jay
#

the version being different should not be a problem, those two version are compatible with each other

sage nexus
viscid epoch
sage nexus
#

capslock? copy and paste it? check that its actually your server?

viscid epoch
#

ive tried copy and paste and i copy the ip from the widow that opens when i run the server

#

and ive tried the join code it gives too

final current
viscid epoch
#

like when i start it or when i edit it with note pad?

final current
viscid epoch
#

so this?

#

REM Tip: Make a local copy of this script to avoid it being overwritten by steam.
REM NOTE: Minimum password length is 5 characters & Password cant be in the server name.
REM NOTE: You need to make sure the ports 2456-2458 is being forwarded to your server through your local router & firewall.
valheim_server -nographics -batchmode -name "Oblock" -port 2457 -world "Dedicated" -password adsfrghhsds

sage nexus
#

yeah
looks right
unlikely, but i wonder if its a windows endline/newline character issue...
try this:
valheim_server -nographics -batchmode -name "Oblock" -port 2457 -password adsfrghhsds -world "Dedicated"

viscid epoch
#

still says wrong password

viscid epoch
#

echo off
set SteamAppId=

#

echo "Starting server PRESS CTRL-C to exit"

#

there were at signs

#

well one

sage nexus
#

its just the command line that yiou supplied that he asked for

viscid epoch
#

oh ok

sage nexus
#

REM is just remarks, basically ignored

viscid epoch
#

ok

sage nexus
#

only thing i can think of is that you used -crossplay at some point, and the server you see is somehow a cache of that one, and not being properly updated with the new one... did it have the same password?

#

also try a 5character password, somethng stupid like 34567 or abcde... the password most people use :}

viscid epoch
#

i had a 9 character password, i did try to make it work at one point by useig -crossplay would it change if i name the world different useing a different world?

sage nexus
#

afaik improperly forwarded ports wont even get as far as asing for a password, so it's probably not that

#

yeah, try different words...

#

and try getting your external IP and entering that as a manually added server

viscid epoch
#

would changeing the name Oblock in the script change the world its useing and do i have to use a pre made server

sage nexus
#

the name is whatever you want

viscid epoch
#

is the ip it says in the program with the join code different form my external ip?

sage nexus
#

the program with the join code
you mean what is printed in the server terminal window?

#

also if you have a join code then you are running -crossplay, and thats not what your commandline shows above

#

join codes are 6 NUMBERS

viscid epoch
#

valheim_server -nographics -batchmode -name "Oblock" -port 2457 -password Flowers56 -world "Dedicated"

#

this is what i have but when i start it it still gives me the join code

sage nexus
#

show me that

viscid epoch
#

i think i found out what i had been doing wrong. i didnt think about it cause it showed the changes every time i opened it but i never saved the changes when i edided the notes it now dosent show the join code these are now the last lines im going to see if i can connect now

#

12/15/2025 00:45:32: Game server connected
Unloading 2 unused Assets to reduce memory usage. Loaded Objects now: 206194.
Total: 92.744500 ms (FindLiveObjects: 8.400800 ms CreateObjectMapping: 13.878100 ms MarkObjects: 69.957000 ms DeleteObjects: 0.508300 ms)

#

now the ip i was useing before dosent connect

sage nexus
viscid epoch
#

thanks

#

it still fails to connect

sage nexus
#

you are not using -crossplay right?

viscid epoch
sage nexus
#

i'm out of suggestions

viscid epoch
#

dang

final current
# viscid epoch dang

Any chance you have another instance of a Valheim server running elsewhere in your house/LAN or even on the same PC, e.g. in a different terminal window?

viscid epoch
#

no not a server i was trying to connect to the server that was running on my pc with my laptop, and i know my laptop can run valhim

golden veldt
sacred wyvern
final current
#

Just note that if you use Crossplay, forwarding over Docker's bridge network won't do anything, nor will forwarding over your NAT. You'll need to make the ports unique in the server entrypoint's launch arguments.

quasi vale
#

Can you join a dedicated server with Xbox or only PC?

agile pecan
final current
# golden veldt

I don't know if I'm looking at your Docker bridge forwards/publishes or your NAT's, but if these are Crossplay servers, any incoming port routing at either layer is just noise or opening more than is needed. Crossplay takes advantage of the stateful nature of NAT and firewalls by initiating outbound communication instead of starting with a listen port.

plain pivot
#

Hello all, I'm wondering if y'all can help me identify if I've got a server issue or if its potentially a problem with the newest update (0.221.4).

Since implementing the Call to arms update about a few month ago, specifically 0.221.4), I've noted sporadic issues with my dedicated server recently (in the last 4 weeks) what feels like the server freezes, clients disconnect, then the server catches up in a sense in the log and then its all well.

I had my users log times they got booted throughout the day today (2025-12-16) and I see a pattern of once an hour ish. Per my user, disconnects occurred:
-11:23
-12:25
logged back in the afternoon got disconnected at 17:32 after playing for 8 mins.
-18:34
-19:36

When I look at my console, I see the server working fine with three users on it, then a bunch of actions after the server is done with having a moment. I've attached a sample of the last instance from 19:36 in this log file. This happens each of the times noted above.

I'm running this server on a Windows 2019 VM, recently rebooted (last night) with up to date windows and Valheim game server files. I've had this server running fine for ~10 to 11 months before the pre-0.221.4 update so my feeling it might be game server instability?

I should also mention, I have the game server configured (not the Windows VM itself) to reboot nightly at 02:00 local time, update, then start up again to keep the server fresh. I also grabbed the entirety of the day's log I can upload (from server boot up till time of this post) if that might help.

I'm hoping someone smarter than me can perhaps point me in the direction to troubleshoot this as I'm not sure what would be causing this issue all the sudden. Any insights or help is much appreciated!

plain pivot
#

I removed my previous attachment and am adding the full log here. I noted looking at the log, the server appears to initiate some world save at the bottom of the hour, every hour regardless of clients connected or not. I do note this lines up with disconnects.

final current
plain pivot
#

My .db file is sitting at 94.8MB. It doesn't feel large but I don't know what would be considered large or not for Valheim.

I've got this VM sitting on a traditional HDD since it's inception (a year ago). I also have 3 other Valheim servers with same configuration with no issues (though, no one is playing on them 🙁 ) so it's unknown if they are having issues to.

Ram consumption seems to be mostly on the low side. I've got 8GB dedicated to it (down from 16GB from when I first started). I'm not sure where I'd look to or if its a keep an eye on task manager throughout the day. I see its setting at ~3.2 GB used of 8GB. I know a chunk of that is just Windows overhead. I'm sorta kicking myself in the ass for not having PRTG enabled talking to that server so I could see historical Ram/CPU usage to help identify any issues.

I could bump the Ram back up to 16GB (or 12 GB) and see if that resolves it first before thinking about migrating the disk.

golden veldt
fathom flame
#

Is PLayFab/Crossplay enable still issues for some Linux servers? I've had to disable on my debian box.

plain pivot
# plain pivot My `.db` file is sitting at 94.8MB. It doesn't feel large but I don't know what ...

Just a small update to keep interested parties (or future inquirers) up to date, I committed an additional 4GB to the server. I am noting behavior change with Disk IOs in comparable time frame (top is before, bottom is after RAM increase).

I also am looking at the console and I'm noting a vastly different reduction in world saving times (from an average of ~90,000 MS) down to near ~1500ms per instance. which matches up with what we see on the Writes on the back end. Seems like as a server .db file starts to climb up in size, more RAM might be worth allocating if you start small or just overall.

Will keep this updated later as the day progresses and players/clients get on an actually play.

final current
final current
wheat pivot
#

Is there any way to upload a completed downloaded world to a dedicated server?

sage apex
#

helo everywhere.
i have in my start_headless_server "-modifier raids none, but the raids is still on :/ it's dedicated server on windows with hamachi, someone can help me?

sage apex
final current
final current
# wheat pivot Is there any way to upload a completed downloaded world to a dedicated server?

Yes! The server looks for your <world name>.fwl and <world name>.db files in your <savedir>/worlds_local folder. Where <world name> is the value of your -world … argument and <savedir> is the path you passed for the -savedir … argument (or the default for your operating system if you didn't pass a -savedir … argument).

If you can't find your savedir, let us know which operating system you're on and whether you're using the Steam, Microsoft Store, or Apple App Store version of Valheim Dedicated Server.

sage apex
dusky ore
#

Hello any ideas why my steam cmd update for dedicated server is not working? Win10. im getting error : "error! app '896660' state is 0x6 after update job"

final current
dusky ore
final current
#

If it's the manifest issue, it can often be solved by either clearing your install dir or forcing a new install dir. Or if it thinks you're unlicensed, you could switch from anonymous login to authenticated as your Steam user that bought Valheim.

I'll be curious if you're running SteamCMD as Administrator, as I have a theory about running it as root on Linux causing a similar issue.

dusky ore
final current
#

Cool. Should be no need to run it as an admin. Any hints from the times you've tried in your content_log.txt?

dusky ore
#

this is the screenshot of the command and the error. And the log :[2025-12-19 10:21:08] Client version: 1763795194
[2025-12-19 10:21:08] Loaded Steam library folders configuration: C:\SteamCMD\steamapps\libraryfolders.vdf
[2025-12-19 10:21:08] Loaded 0 apps from install folder "C:\SteamCMD\steamapps\appmanifest_.acf".
[2025-12-19 10:21:08] Triggered async write of Steam library folders configuration (1 libraries).
[2025-12-19 10:21:09] Loaded 1 apps from install folder "c:\valheim_server2024\steamapps\appmanifest_
.acf".
[2025-12-19 10:21:09] Triggered async write of Steam library folders configuration (1 libraries).
[2025-12-19 10:21:10] AppID 896660 scheduler update : Priority First, not played for 1766132470 seconds, update disabled for 0 seconds
[2025-12-19 10:21:10] AppID 896660 state changed : Update Required,Fully Installed,Update Queued,
[2025-12-19 10:21:10] AppID 896660 state changed : Update Required,Fully Installed,Update Queued,Update Running,
[2025-12-19 10:21:10] AppID 896660 App update changed : Running Update,
[2025-12-19 10:21:10] AppID 896660 App update changed : Running Update,Reconfiguring,
[2025-12-19 10:21:10] CDepotDownloadMgr::BYldRequestDepotManifest(App: 896660, Depot: 896662, Manifest: 3022098520410884187, branch: ): Failed to get manifest request code, 'Access Denied'
[2025-12-19 10:21:10] AppID 896660 update canceled : Failed downloading 1 manifests (No connection)
[2025-12-19 10:21:10] AppID 896660 App update changed : Running Update,Reconfiguring,Stopping,
[2025-12-19 10:21:10] AppID 896660 App update changed : Running Update,Stopping,
[2025-12-19 10:21:10] AppID 896660 App update changed : None
[2025-12-19 10:21:10] AppID 896660 state changed : Update Required,Fully Installed,Update Queued, (No connection)
[2025-12-19 10:21:10] AppID 896660 state changed : Update Required,Fully Installed, (Update delayed for 30 secs)
[2025-12-19 10:21:10] AppID 896660 scheduler finished : removed from schedule (result No connection, state 0xe)

#

Oops, sorry for flooding

final current
#

No problem. In the future, you can attach it as a text file. Either way, yeah, it's the manifest download issue :(. I don't know what causes it. In your case it could be that Valve's servers are under maintenance and it will resolve itself. If you're like me and others, it doesn't go away.

The quick fixes are to either log in as your Steam user or install somewhere else or delete/move your old install.

I would also love it if someone were to help with a simple "me too" or provide these same details you provided us here: https://steamcommunity.com/groups/SteamClientBeta/discussions/0/597411554294506565/

#

One clue I have is that whenever I've encountered this, my <forced_install_dir>/steamapps/appmanifest_896660.acf always has "LastOwner": "0", but I don't know if that's related.

dusky ore
final current
#

That would be awesome. Would love to see them fix it some day

dusky ore
final current
#

Oh yeah, just don't set the install dir to the same location as your savedir and you should be fine. But if worried, certainly back up your savedir

dusky ore
#

Amm, i went wild... i went to my valheim servers Steamapps folder and found appmanifest_896660.acf, i renamed it to appmanifest_896660.acf.old

#

So now the update didnt find it, and the update worked

#

it made a new one and updated the server

final current
#

That works hehe

dusky ore
final current
#

You too

proud sandal
#

Hi i have a question about lag on dedicated servers. i have played on some that have 20-30+ people online at once with no issues but since making my own server players seem to lag a fair amount near each other. is there anything in particular i can do or mods i can use to help alleviate this?

fiery bluff
#

which is better? steamcmd or tools dedicated server? what's the difference

final current
fiery bluff
final current
#

Correct

fiery bluff
#

ok thanks

#

is there a guide how to add mod/s into a dedicated server?

long sage
#

i'm running a server - does anyone know how I can find past tombstones of my players ? I tried "find player_tombstone" but I don't quite understand the output

golden veldt
# long sage i'm running a server - does anyone know how I can find past tombstones of my pla...

Valheim tombstones are not persistent world objects in the way most people assume.
They only exist while the player who owns them is online. When the player logs out, the tombstone is unloaded with their character.
That means:
• A server admin cannot find tombstones of offline players.
• The console command will only show results for currently loaded tombstones.
• If the player is offline, the command returns nothing or confusing coordinates because the object simply isn’t in memory.
This is why the output looks odd — the server is literally telling you “I don’t have that object loaded”. How to correctly use
If the player is online, then:

  1. Have them log in.
    
  2. Run: find player_tombstone Found 1 objects
    

player_tombstone (1234.5, 67.8, -432.1) goto 1234.5 67.8 -432.1

long sage
#

Aight, thanks for the detailed explanation!

quaint wing
#

Dedicated Server unresponsive to CTRL+C in konsole on Arch Linux, server is running fine, but have no proper shutdown path

#

does CTRL+C = KILL? because it seems kill is not set in my konsole, but obviously i want to shutdown the server properly

#

Nope, that killed the thread without shutting down the server...

quaint wing
#

Anyone?

tidal fern
#

Trying to host server through steam

#

graphical errors and assertion errors, any suggestions?

frozen zephyr
#

Never seen the assertion ones, the shader/graphic ones are normal

final current
# quaint wing Anyone?

INT or TERM are the only signals you can use to guarantee the graceful shutdown with the world save behavior. It's possible QUIT might work, but I've not seen Unity document it.

#

If you're using docker or podman, a stop should work by sending a TERM but you'll want to add a long timeout to give it time to save before it goes in for the KILL.

quaint wing
final current
quaint wing
#

okay great, TY so much for the help

final current
quaint wing
#

@final current INT didnt do anything, but TERM worked like a hitch, thanks again

sage nexus
#

question: what are the actual multiplier digits for each of the -modifier resources <value> ?
The wiki basically just skips detailling that and i want to know the actual numbers
ie: is more 2x, or is muchmore 2x ?
also: suggestion: add this info to the wiki

fast obsidian
#

my router doesn't let me enter a range of numbers for port the external and internal port. can i just type in 2456? thats the number i used for the bat file

#

oh i think i can do multiple so ill just do the same for 2457 and 2458?

final current
fast obsidian
final current
#

If you're forwarding ports, a DHCP reservation for your server's ethernet chip's MAC address is definitely recommended. It will mean your forwarding rules are stable and not having to be changed as your LAN IP addresses change. If it's a reservation for your router's own LAN address, no need to change it from the default, usually.

fast obsidian
#

theres "use the fields below to reserve a static ip address for this device". then it shows mac address and ip address. what ip do i enter?

final current
#

Well, unless you want a specific/vanity IP for it, you can probably go with the random one it already ended up with. You'd have to reset your connection or release/renew your ip manually to take on a different one. Up to you though. Just make sure it's in the range of addresses your router is routing.

fast obsidian
#

oh the ipv4 is same as my ipv4 on my pc

#

not sure what mac is tho

final current
#

If it's using language like "this device", it's probably the MAC address for the ethernet (hopefully) or wifi adapter you're using to talk to the router.

fast obsidian
#

where do i find that

final current
#

Are you on Linux, macOS, or Windows?

fast obsidian
#

windows

final current
#

Then ipconfig /all in Microsoft CMD or Get-NetAdapter -Name * in Microsoft PowerShell.

fast obsidian
#

thanks think i got it

fast obsidian
final current
#

I'm assuming you're not using Crossplay. I don't know anything about adding it to Steam, but you can add your own server to your Valheim game client. You would add the server by its LAN IP if you're on the same network, or by its loopback IP (127.0.0.1) if you're on the same PC.

Your friends would add it by its external IP address, or if you've set up a domain name pointing to your external IP address, you can give them that.

fast obsidian
#

after 127.0.0.1

#

it says cant find though

final current
#

If you're using port 2456 as the main game port, then that's what you'd append (or no port at all appended because that's the default port)

fast obsidian
#

damn it still says "did not find any servers with this address"

final current
#

Is this a Crossplay server, or Steam/direct?

fast obsidian
#

steam

final current
#

And you hit Add Server, then 127.0.0.1?

fast obsidian
final current
#

Can you give us the server's launch arguments? Feel free to obfuscate the password

final current
#

In whatever command line launches the server executable, you'll pass it arguments for the launch. If you followed the manual, this will be a copy of the batch script template that comes with Dedicated Server. Or it might be PowerShell now, I haven't played with the Windows version in a while

fast obsidian
final current
#

How do you launch the server?

fast obsidian
#

doube clicking the copied file

#

with the password n stuff

final current
#

If that's the batch file, then yes, inside that will be the line that actually launches the server executable, complete with a bunch of arguments that can include the password

fast obsidian
#

how do i send it here tho

#

is there anything specific ur looking for

final current
#

You can just copy the line that launches the executable from your script editor and paste it here.

fast obsidian
#

idk what that is 😭

final current
#

Alright. What did you use to edit the batch file?

fast obsidian
final current
#

Cool. Open it up in Notepad and select the line that launches the server with all of the arguments, including the password, then Edit/Copy, then in here/Discord, right click in the message field, and select Paste.

final current
#

You can scramble that if you want

fast obsidian
#

valheim_server -nographics -batchmode -name "wsnro" -port 2456 -world "Vildia" -password "" -crossplay

#

wait it shouldnt be crossplayr ight

#

the yt video i was watching didnt have crossplay in it idk why mine had that by default

final current
#

Yes, this is a Crossplay server. If you choose to keep it that way, you won't need any port-forwarding nor will you be allowed to directly connect to it. Microsoft will handle all the IT networking/routing for you. You would get the latest join/invite code from the server logs and use that to join the server. You would also give the most recent join/invite code to any friends who wanted to join.

fast obsidian
#

so i just delete that crossplay part?

final current
#

If you'd prefer direct connectivity, yes

fast obsidian
#

do i have to close the server?

#

and make a new one

final current
#

You will need to restart it after editing the batch script, yes. You can exit the existing one with Ctrl+C.

fast obsidian
#

do i terminate?

#

theyre asking y/n

#

thanks i found it

long sage
quaint wing
#

okay so on windows you can add the argument to change the save directory for the dedicated server, is the argument the same for linux? and what would the correct usage be?

final current
final current
quaint wing
#

okay. so i noticed something that happened yesterday, for me anyway,

What is the difference between x.x.4 and x.x.6?
I am kinda blind so maybe im not seeing patch notes anywhere?

final current
# quaint wing okay. so i noticed something that happened yesterday, for me anyway, What is th...

I don't remember which release started x.x.6 for which platforms. Recent releases:
September 17th was the big rename, switching the Linux and Windows client files and dirs to uppercase V. Client and server assets changed for all 3 supported computer OSes, but those changes have never been publicly disclosed.
October 3rd was a Unity bump for https://unity.com/security/sept-2025-01 and a change to the Windows batch script template.
October 22nd reverted the Windows batch script and reverted the Linux client rename. Windows client kept capital V.
December 8th's update was Valve's Steamworks SDK Redistributable version bump for Linux & Windows servers only.

#

I think network version and object schema remained the same through those.

quaint wing
#

its kinda hard to tell without version specific information

quaint wing
#

So i started my server on 12/3, so i must be looking for the 10/22 version? cant seem to get steamcmd to download it

quaint wing
#

[Info : BepInEx] Detected Unity version: v6000.0.58f2

shows on new, old log file reads

[Info : BepInEx] Running under Unity v6000.0.46.16487356

#

that would be the oct 3rd unity bump according to https://unity.com/security/sept-2025-01

Unity

A security vulnerability was identified that affects games and applications built on Unity versions 2017.1 and later for Android, Windows, and macOS operating systems. Unity has provided fixes that address the vulnerability and they are already available to all developers.

sage nexus
#

what's your steamcmd command line?

fiery bluff
#

on dedicated server:
how do U protect ur IP if u wanna play with your online friends

fiery bluff
#

or is there an specific way?

floral jay
somber ruin
fiery bluff
somber ruin
#

Well if they connect to ie yourdomain.dyndns.com:your port instead of the IP at least you have not given your friends the IP.

dense dragon
#

anyone know how to turn off crossplay on the dedicated server?

#

also i have opened my minecraft port before, and set rules in windows to have them open, but for some reason my valheim ports 2456 and 7 aren't opening when i check on portchecker.co

tiny grove
quaint wing
#

Is this a game, steam, or engine limitation?

quaint wing
#

@final current i have my engineer on the line, he is asking if a Eero 7 router is a better use case for this specific application

final current
#

If customer-supplied router is an option and you have some cash to spend on something, something you pick out could be a nice alternative.

quaint wing
#

ty for the information

sage nexus
sage nexus
# quaint wing Is this a game, steam, or engine limitation?

it's a function of being a client side game and not needing to use lots of bandwidth. But its also a constraint of the game that you can change.
https://thunderstore.io/c/valheim/p/Smoothbrain/Network/
https://thunderstore.io/c/valheim/p/Searica/NetworkTweaks/
https://thunderstore.io/c/valheim/p/CW_Jesse/BetterNetworking_Valheim/
theres more if you search

#

network + returnToSender is what i'm using currently

final current
# dense dragon also i have opened my minecraft port before, and set rules in windows to have th...

Once you've dropped Crossplay, the game port will be listened on. If you've additionally made it public, the query port will be listened on. If you're forwarding them in your router's NAT configuration and your ISP isn't using CGNAT, folks should be able to connect.

Port-checking websites will likely not work even with all of that though, as both gameplay and query ports use UDP and aren't guaranteed to respond like a TCP listen port would. In the case where it's not crossplay, but is public, and is forwarded at router NAT, this site will be able to speak the specific UDP query language of the query port: https://geekstrom.de/valheim/check/

dense dragon
sage nexus
#

theres more then 1 port to fwd

dense dragon
#

i forwarded 2456 and 7

sage nexus
#

or iirc you dont need to fwd ports if they join yoou as a steam friend

#

the ingame menu for friends should show them, and you just double click - iirc

#

but obviously that desnt apply to an actual deicated serer... sorry, was forgetting your context

dense dragon
#

it's a dedicated server, yeah

quaint wing
#

[Info : Unity Log] 12/26/2025 23:17:20: Destroyed invalid predab ZDO:0:0

[Info : Unity Log] 12/26/2025 23:17:20: Destroyed invalid predab ZDO:0:0

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ZNetScene.RemoveObjects (System.Collections.Generic.List1[T] currentNearObjects, System.Collections.Generic.List1[T] currentDistantObjects) (at <b63fbc54224e4d8db601ed2a660254f4>:0)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <d61daf581e2646abbbf5cae99f7100ce>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <d61daf581e2646abbbf5cae99f7100ce>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <d61daf581e2646abbbf5cae99f7100ce>:0)
HarmonyLib.Traverse.GetValue () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
Valheim_Serverside.Features.Core+CreateDestroyObjects_Patch.Prefix (ZNetScene __instance) (at <b4205110a8d447ed945fca7f452b2067>:0)
(wrapper dynamic-method) ZNetScene.DMDZNetScene::CreateDestroyObjects(ZNetScene)
(wrapper dynamic-method) ZNetScene.DMDZNetScene::Update(ZNetScene)

dull sandal
#

I need some help! Tired of setting dedicated server configs with no luck 🙁 Wanted to add me as an admin and set some global modificators such as player based raids and enable to build in dungeons but has no effect. I run it on linux through Linux Game Server Managers.

My startup console command parameters looks this way:

startparameters="-name '${servername}' -password ${serverpassword} -port ${port} -world ${worldname} -public ${public} -savedir '${savedir}' -saveinterval ${saveinterval} -backups ${backups} -backupshort ${backupshort} -backuplong ${backuplong} -instanceid ${instanceid} ${logFile:+ -logFile '${logFile}'} ${worldmodifiers:+ ${worldmodifiers}} -console -setkey PlayerEvents 1 -setkey DungeonBuild 1"

worldmodifiers are:

worldmodifiers="-modifier deathPenalty casual -modifier raids normal -modifier resources muchmore"

and looks like DungeonBuild doesn't work 🙁

mint wren
#

i having issues on setting up my own server. Somehow it says incompatible version. I tried many stuff but sadly nothing works. Maybe someone can help me. I even tried with just 1 mod and its still saying incompatible.

golden veldt
# mint wren i having issues on setting up my own server. Somehow it says incompatible versio...

I did this : Running a Valheim dedicated server on Windows using Docker Desktop is absolutely doable — and honestly, it’s one of the cleanest ways to keep the server isolated, reproducible, and easy to update. Since you’re already comfortable with Docker and scripting, this will feel natural.

Here’s a clear, streamlined setup that works beautifully on Windows 10/11 with Docker Desktop.

🛠️ 1. Install & Prepare Docker Desktop
Make sure:

WSL2 backend is enabled (Docker Desktop will prompt if needed)

You have enough RAM/CPU allocated (Valheim server likes at least 2 cores + 2–4 GB RAM)

📦 2. Choose a Good Valheim Docker Image
The most widely used and stable image is:

lloesche/valheim-server

It supports:

Automatic updates

BepInEx modding

Backups

Status monitoring

Environment variable configuration. This just the first part. Use CoPilot (AI) to help you

radiant ginkgo
#

hey ya'll, big question:

What is something you'd tell someone running a dedicated server on a bare metal machine running debian (no vm/docker - working on that) to be prepared for and know for the 1.0 release to keep things going as smoothly as possible? I know there's not certainties here, but I'm looking to nail down what I should know and have ready as preventative measures.

I'm currently running a dedicated server, and I'm new to this. I have an associates in gen ed that I got when I was chasing a comp sci degree but went to Uni and burned out. I interned at some really competitive places and learned a lot, but as far as devOps goes its just me, ChatGpt, google, and who I have on my server that can help me when they have the time. My bread and butter (if i had one, but I'm not anywhere near an expert and idk if intermidiate) is front end javascript frameworks and C++. I'm just learning linux, lmao.

maybe im just being anxious which is nothihg new but ya know

shy hill
#

Hi everyone!

I was just about to write a big help request and "accidentally" fixed my problem while doing so. The dedicated server wouldn't start so went to look into the logs.

The server wouldn't start because it couldn't load "/home/steam/.steam/sdk64/steamclient.so". Naturally so because it really wasn't there. So i copied the file from the valheim/linux64 folder and now my server starts.

I still do have an related error in my log file:

dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Loaded '/home/steam/.steam/sdk64/steamclient.so' OK. (First tried local 'steamclient.so')

So my question is, where does this game look for this file first? Is there something wrong with PATH variables?

quaint wing
#

no help on my crash data?

golden veldt
# shy hill Hi everyone! I was just about to write a big help request and "accidentally" fi...

SteamAPI always tries to load steamclient.so in this order:

Local working directory
(i.e., the directory where the server binary is running)

~/.steam/sdk64/
This is the standard location for the 64‑bit Steamworks redistributable runtime.

Steam installation directories
(e.g., ~/.local/share/Steam/ubuntu12_64/)

This is hard‑coded behavior in Steamworks — not something Valheim controls. Is anything wrong with your PATH?
No.
PATH is irrelevant here — SteamAPI does not use environment variables to locate steamclient.so.

It only uses its internal search paths.

🛠️ Should you keep the file in ~/.steam/sdk64/?
Yes — that’s the correct location for a headless dedicated server.

Copying it from valheim/linux64/ is a common workaround because the SteamCMD installation sometimes doesn’t include the redistributable runtime. (copilot)

golden veldt
quaint wing
#

Copilot?

#

I'm not on winblows

golden veldt
quaint wing
#

ty for your help @golden veldt

final current
# shy hill Hi everyone! I was just about to write a big help request and "accidentally" fi...

Dedicated Server uses your operating system's C linker to locate and open steamclient.so. After Steam or SteamCMD downloads the Dedicated Server files, it then downloads that library (Steamworks SDK Redistributable for Servers) from Valve and copies it on top of dedicated server.

The 32-bit steamclient.so goes in the root server install dir, but is not actually used by Dedicated Server. The 64-bit steamclient.so gets copied to the linux64 directory of the installation root.

You tell your OS' linker where to look for it using an environment variable. You can see this in action inside Iron Gate's included shell script example (start_server.sh). This extra step is needed because games could theoretically each use a different version of the Steamworks SDK for servers instead of depending on a common one in a usual place like /usr/lib

If you run into any trouble, let us know.

final current
dull sandal
final current
# radiant ginkgo hey ya'll, big question: What is something you'd tell someone running a dedica...

A regular backup of your <savedir>/worlds_local to an external place would be my first recommendation.

As for 1.0 prep, there's plenty we don't know. If Iron Gate keeps the tradition of new versions able to self-upgrade an old world, you can expect your explored areas to either not get the updated location/features content and if explored areas are too close to where the new biome needs new water/ocean, your existing found features near the new biome could end up floating on air or new water.

Backup followed by Jere's Upgrade World mod is a popular choice amongst server owners for picking and choosing zones to reset to the new biome's full as-if-newly-discovered features.

As for Linux-specific changes, we haven't heard anything from Iron Gate or Unity, but there is a good chance Steam (and possibly SteamCMD) will require a more recent version of glibc soon, just like the custom BepInEx build for Valheim recently required.

final current
dull sandal
#

i put both base64 and base64 with Steam_ prefix

final current
final current
#

And by base64, you're talking about your SteamID64? And you put it in like you see it in your F2 menu next to the connected player?

final current
final current
radiant ginkgo
shy hill
final current
#

Sure thing. In your own shell session, you can always do the exact same export LD… statement the script template uses, and GNU ld (most common linker on Linux) will look in that dir for any other libs to link in.

final current
# dull sandal yes

What are you seeing that makes you think you might not be admin-listed correctly?

normal solstice
#

Hey peeps - I'm running a dedicated server for the family, and our beds keep disappearing on us - Anyone have any ideas?

Latest version btw

final current
# normal solstice Hey peeps - I'm running a dedicated server for the family, and our beds keep dis...

First guess would be mods issue if you're using any or had used any on this world, second guess would be storage issue (like capacity or permissions). Third guess would be regular gameplay, like an attack by creatures or rogue player or a placement on a floor or platform that disappeared.

You should at least look at the server logs for each of the recent save intervals to see if there had been any issue saving the world to disk.

pallid gust
#

This used to be a thing and maybe still is but can you not put yourself or anyone as an admin on a non-modded steamcmd dedicated server?

final current
#

You definitely can. Just note that unmodded clients won't be able to use many of cheat/devcommands even if they're admin-listed

normal solstice
# final current First guess would be mods issue if you're using any or had used any on this worl...

Hey - This is what I thought
However we don't have any mods, there isn't any storage issues, and no one or nothing is going in attacking the beds - They just outright disappear after a period of time.

They are all being built within the area that is shown too us, however, we have now placed additional workbenches inside the house/building, Which seems to have done the trick so far.

But then that leads us to believe that the zone we see, is not the true zone for building? But then it is only the beds that disappear?

torpid owl
dull sandal
#

i've used command to toggle fly mode with no result

torpid owl
#

and as far as i know its not possible to fly on a dedicated server without mods. Or atleast for me cuz i have given up on that and just installed a mod for it...

dull sandal
torpid owl
#

yup then ur admin.

#

try debugmode

#

shouldnt work in the "context"

fervent cipher
#

I have a question, doesn't know how to set a custom.Seed server for g portal

devout dust
#

Im trying to set up a dedicated valheim server with an already existing world but for some reason the world generation is different from the single player world how do i fix this

native raptor
#

Did you import both the fwl and db files?

devout dust
#

Yes

sage nexus
#

why is it that when i do a listkeys it fills the console with info but doesnt also echo this info to player.log or logoutput.log, or server console?
how do i get it to do that?

final current
# devout dust Yes

It has the appearance of the db file not matching the fwl file or mods having been used on the client that were not used on the server.

final current
dull sandal
pine basin
#

Hi all. Is the docker container by lloesche up to date? Last update was done 10 months ago and want to know before I begin the process

final current
#

The new glibc version it uses is less compatible with QNAP appliances, I'll warn

spark zinc
#

anyone have any ideas / guidance for a weird sync issue? have a dedicated server set up, only 2 people playing on it. At main base both players frequently run into issues where they cannot open chests / interact with things (like open and close doors)

#

server is not working hard (cpu around 5-15% max in these cases)

golden veldt
final current
# golden veldt container is still effectively up to date, because it auto‑updates the Valheim s...

It uses a glibc version that was no longer compatible with the popular BepInEx package for Valheim. In fact it was those same auto-updates that broke it for so many, e.g.
https://github.com/lloesche/valheim-server-docker/issues/752
https://github.com/lloesche/valheim-server-docker/issues/762
There is also a good chance SteamCMD itself will break in that old image soon once Valve updates their glibc dependency.

final current
spark zinc
#

oh, i can turn crossplay off right?

#

Am using some mods, nothing particularly complex though

final current
# spark zinc oh, i can turn crossplay off right?

You can if all of your players are using the Steam version of the game and you have some networking savvy. When Crossplay is disabled, you'll be responsible for all aspects of making the server routable from the Internet, such as with UDP port forwarding over your NAT.

shrewd gale
#

hey lads quick question how do i get a dedicated server? how much do they cost for a total of 8 players?

shrewd gale
#

can i port save files into dedicated servers?

torpid owl
torpid owl
shrewd gale
#

is cybrancee legit?

#

cause im in a disc call with mates rn making a server rn

torpid owl
#

if its a hosting solution never heard of it

shrewd gale
#

hm ok

torpid owl
#

but then again im not using hosting solutions so i may not be the best person to ask about it xd

shrewd gale
#

thats allg man

shrewd gale
torpid owl
#

idk how your panel looks like so its a bit difficult to assist xd

shrewd gale
#

do i need to foward the world at all?

torpid owl
#

its just a matter of where your worlds are saved and how your panel works

shrewd gale
#

right

#

@torpid owl

#

is it working?

torpid owl
#

the lines with world init are higher up.

#

your server is online, crossply enabled. thats for sure since playfab is doing its magic

shrewd gale
#

so how do i connect to world?

torpid owl
#

last line shows you the ip and the port. just direct connect with it

#

hope you set a server password

shrewd gale
#

i set a password

#

so with the direct connect do i jst go into console on valheim and copy both of those?

#

i give them join code and IP?

#

plus password?

torpid owl
#

go into valheim, select a character, go into the server browser and add a new server

shrewd gale
#

ahhh ok

torpid owl
#

or you just usethe join code

#

beware that it changes with every server restart tho. if connected once the server should show up in your history

shrewd gale
#

so i create a backup save?

torpid owl
#

nah it just changes the join code with every restart. doesnt matter if you do a backup or not in that case

velvet quiver
#

Some body have experience with 4netservers?

#

I cant connect to the FTP

shrewd gale
#

so i dont need to do any backup saves? i jst press save then i can log off?

#

or i wouldnt need to due to the fact the server is perma running?

torpid owl
#

if your shutdown logic is saving your world before shutdown it should be fine. if not....well...Corpse_running

shrewd gale
#

yeah cause i did something closed the server then rebooted and everything was as it was

torpid owl
#

do you know where the session log is saved? you may send it over via DM i can take a look