To play Valheim with friends, you need a join code (also called a server password or game code) to enter a dedicated or community server. This guide explains how to find or create a join code for your own server and how to use it to join someone else’s world. You’ll need a copy of Valheim and either a dedicated server running or a friend’s world to join.
What You’ll Need
- Valheim installed and updated (PC or Xbox).
- For hosting: a dedicated server (self-hosted or rented) or a friend’s world that is set to “Friends Only” or “Invite Only”.
- For joining: the join code from the host, which is often the server password.
Step-by-Step
The process differs slightly depending on whether you’re joining a friend’s world or a dedicated server. Below are the steps for both scenarios.
Joining a Friend’s World (Non-Dedicated)
- Launch Valheim and wait for the main menu to load.
- Select Join Game from the main menu.
- In the server list, look for your friend’s world under the Community or Friends tab. If it’s set to Friends Only, it will appear under the Friends tab.
- If you see the world, select it and click Join. If a password is required, you’ll be prompted to enter the join code. The host can find this code in-game by pressing Esc and looking at the bottom-right corner of the screen, where it says “Join Code”.
- If you don’t see the world, click Join IP (usually a button at the bottom of the Join Game screen). Enter the IP address and port, followed by the password if needed.
Joining a Dedicated Server
- Launch Valheim and select Join Game.
- Click the Community tab. Use the search bar to type the server name or the join code if the server is password-protected.
- Select the server from the list and click Join.
- If the server requires a password, enter the join code when prompted. This code is set by the server admin in the server configuration file (usually
server.cfgor via the hosting provider’s panel).
Getting a Join Code for Your Own Server
- If you are hosting a non-dedicated world (playing on your own character), press Esc while in-game. The join code is displayed at the bottom-right corner of the pause menu. It looks like a 6-character alphanumeric code (e.g., ABC123).
- If you are running a dedicated server, the join code is the password you set in the server configuration. If you didn’t set a password, there is no join code—players can join without one. To set a password, edit the
server.cfgfile (or use your hosting panel) and add a line likepassword=yourcode. Restart the server.
Common Mistakes
- Confusing join code with server name: The join code is a password, not the server’s name. It’s usually a short string of letters and numbers.
- Using the wrong tab: Friends’ worlds might appear under the “Friends” tab, not “Community”. Check both.
- Entering the code with spaces or dashes: Join codes are typically alphanumeric without spaces. If the code is ABC123, don’t type “ABC-123”.
- Not updating the game: If your game version differs from the server, you won’t see it or won’t be able to join. Ensure both are up to date.
- Firewall blocking: For dedicated servers, if the port (default 2456) is not open, players can’t connect even with the correct code.
Tips
- If you’re hosting a friend’s world, share the join code via voice chat or a private message. It’s case-sensitive.
- For dedicated servers, consider using a password that is easy to share but not too obvious (e.g., a mix of letters and numbers).
- If you’re using a rented server, the join code is often the same as the server password you set during setup. Check your hosting provider’s dashboard.
- You can also join via the Steam friends list: right-click a friend who is playing Valheim and select “Join Game”. This bypasses the need for a code if the world is set to Friends Only.
Troubleshooting
If you can’t join with the code, try these steps:
- Double-check the code: Ask the host to read it out loud. It’s easy to mistake a 0 for O or 1 for I.
- Check server visibility: If the world is set to “Invite Only”, it won’t appear in the list. The host must change it to “Friends Only” or “Community” in the game settings.
- Verify the server is online: For dedicated servers, use a tool like
pingor the hosting provider’s status page to confirm the server is running. - Try joining via IP: If the server isn’t showing in the list, ask the host for the IP address and port (default 2456). Use the “Join IP” option and enter it.
- Restart the game: Sometimes the server list is cached. Quit Valheim completely and relaunch.
- Check for mods: If you have mods installed, they might interfere with the server list. Temporarily disable mods and try again.
Frequently Asked Questions
Where do I find my join code in Valheim?
If you’re hosting a non-dedicated world, press Esc and look at the bottom-right corner of the pause menu. It’s displayed as “Join Code”. For dedicated servers, it’s the password you set in the server configuration.
Can I change the join code?
Yes. For a dedicated server, edit the server.cfg file and change the password line, then restart the server. For a non-dedicated world, you can’t change it directly—it’s randomly generated each time you start a world.
Why can’t I see my friend’s server in the list?
Make sure your friend’s world is set to “Friends Only” or “Community”. Also check that you’re both on the same game version. If it’s still not showing, use the “Join IP” option with the host’s IP address.
Is the join code the same as the server password?
Yes, for dedicated servers, the join code is the server password. For non-dedicated worlds, the join code is a separate generated code that acts as a password for that session.
Do I need to enter a join code if I’m on the same network?
No, if you’re on the same local network, you can join via the LAN tab without a code, as long as the world is set to Friends Only or Community.
Can I join a server without a join code?
If the server has no password set, you can join without a code. But if a password is required, you must enter it to connect.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Microsoft Surface Duo: The Foldable Phone Story
- Samsung SM-T813 Hard Reset: Step-by-Step Guide
- Mafia Clash Codes: Real Meanings & Usage
- Remove Programs from Mac: Full Uninstall Guide
- Project Sentinel Morning Digest: Data Stack Failure Alerts
- Best KVM VPS Hosting: Top Picks & Guide