How to set up a Valheim server

Looking to set up a Valheim devoted server? Building majestic forts, slaying Valheim bosses, and elevating tankards of mead along with your buddies is a part of what makes Valheim such an addictive survival game – however the way in which Valheim multiplayer works is considerably difficult. You can create a number of characters, and their stock and ability development will switch throughout a number of Valheim servers, permitting you to drop into a pal’s server and set out on adventures collectively with out having to begin from scratch in a new map.

However, if you happen to’re not concerned with enjoying by yourself, and your Viking journey has taken place solely on a sport server hosted by another person, you’ve most likely run into a few points. Valheim continues to be in early entry, so – in our expertise – the connection isn’t all the time secure, plus if you’d like to play whereas your sport host is offline, you’re out of luck.

That’s the place Valheim devoted servers are available in. You can both host a devoted server in your PC on your pals to hop on to even if you’re not enjoying, or you possibly can pay for a internet hosting service to run one for you, 24/7. The excellent news is that you simply don’t have to begin from scratch in both case – we’ll stroll you thru transferring your save file to your new Valheim server.

How to set up a Valheim devoted server

To set up a devoted server in Valheim, you will need to first obtain the Valheim Dedicated Server – this may be accessed via your Steam library, by deciding on ‘Tools’ within the prime proper hand nook.

Before you possibly can run this server, you want to edit some info. Right click on Valheim Dedicated Server in your library, after which go to ‘Manage’ and ‘Browse native information’. This will open a folder known as Valheim Dedicated Server in your pc. Make a duplicate of ‘start_headless_server.bat’ as a backup earlier than you begin fiddling round with it.

Right click on on ‘start_headless_server.bat’ and click on ‘Edit’ to open the file in Notepad. The line starting ‘valheim_server’ is the place we will customise our server info.

  • -name “My server” – change ‘My server’ with the title you need to present up within the Server record.
  • -port 2456 – that is the Port that can entry the web. You want to set up Port Forwarding in your router to permit the server to talk with the web this manner.
  • -world “Dedicated” – that is the title of the World that will probably be hosted. If you have already got a world that you really want to host in your PC, enter its title right here – in any other case, a new one will probably be created.
  • -password “secret” – that is the password on your server. You most likely need to change this, or else we’ll have the opportunity to get in and steal your blueberries.
  • -savedir [PATH] – you possibly can add this to inform Valheim the place to retailer your hosted worlds. The default for Windows is %USERPROFILEpercentAppDataLocalLowIronGateValheim

Save your file (and make a again up) – now you’re prepared to boot it up. Launch Valheim Dedicated Server – you could want to permit it previous your firewall – and if you see the message ‘Game server related’, all the things is up and working.

To cease the server, press CTRL + C within the command window. Apparently, if you happen to exit by closing the window, the server could maintain trundling alongside within the background – not what you need.

Connecting to a Valheim server using Steam

How to join to a Valheim server

Once your Valheim server is working, you possibly can add it to your Favorites in Steam and launch Valheim from there. At the highest of your Steam window, click on ‘View’, after which ‘Servers’ – on the ‘Favorites’ tab, click on ‘Add a Server’ within the backside proper nook.

If you’re internet hosting the server your self, otherwise you’re on the host’s dwelling community, you’ll enter your inside IP handle adopted by a colon and the port you selected to use when setting up – it’ll be one thing like 192.168.1.7:2456. You can discover your inside IP handle by typing ipconfig into your Command Prompt.

Your pals on a totally different dwelling community will want your exterior IP handle, which you could find by typing ‘what’s my ip’ into Google. They will use this together along with your port quantity.

If you’ve paid for third-party internet hosting, they are going to give you an IP handle and password which you enter into your Steam Favorites in the identical approach.

Furry pals: How to tame Valheim animals

If your Valheim server just isn’t responding, you possibly can refresh your Steam server web page by switching tabs – you could want to wait a brief whereas for Steam to register the server. As the server administrator, you possibly can set permissions by including Steam IDs to the next textual content information:

A man stands over a cauldron, cooking, while a woman sits at a table in Valheim

How to switch your Valheim save to a server

If you and your Viking buddies have already made progress on a Valheim world and also you need to add it to your new server, excellent news – that is completely doable.

If you’re internet hosting a world that you simply personal, merely change the -world worth in start_headless_server.bat to the title of that world.

If you need to host a pal’s world, ask them to ship you the .db and .fwl information from their Valheim Worlds folder (which could be discovered at AppDataLocalLowIronGateValheimworlds) after which save them in your Valheim Worlds folder, then comply with the directions above.

If you need to add your save to a third-party server, you want to add them utilizing FTP software program like Filezilla. Once you’ve logged in utilizing your server’s credentials, add your native ‘Worlds’ folder into the server’s ‘Save’ folder.

Read extra: The best Viking games on PC

If your pal is sending you a world to host, you will need to copy the .db and .fwl information into your Valheim Worlds folder first, earlier than importing them to the server – it gained’t work if you happen to add them straight out of your downloads folder.

Hopefully, your Valheim devoted server is now working, and you’ll run across the wilderness with your pals seeking Valheim bronze, forge highly effective Valheim weapons, and construct epic bases with our Valheim building guide.

Related Posts