Skip to content

Valheim: Server Configuration

Learn how to configure the world name, server name, password, crossplay, world modifiers, and player management for your Valheim game server.

26 November 20266 min read2 Views0 helpful

Don't have your own server yet? Host your Valheim server with ZAP-Hosting from €4.99 / month.Or try 3 days from €0.90

Introduction

With the right configuration, you can make your Valheim game server exactly what you envision for your group: a custom name, a secure password, the right world, crossplay for Xbox players, and a difficulty that suits you. In this guide, we’ll show you which settings are available, where to find them in ZapX, and which changes affect your world.

How configuration works

A standard Valheim server does not have its own configuration file. Your server passes all settings directly to Valheim each time it starts. You can find them in the Configuration tab in ZapX:

  • Startup parameters: World name, server name, server password, crossplay, and world modifiers such as the world preset, combat, and raids.
  • Player management: Choose who is an admin, who is on the whitelist, and who is banned.

Your server stores your worlds in the worlds_local folder. You can find this folder in the Files tab and, with the view limited to worlds, in the Savegames tab.

Important

Changes to startup parameters and player management only take effect after you restart your server. After saving, ZapX will offer to restart the server right away.

Startup parameters at a glance

Startup parameterDescription
World nameThe name of the world your server loads, without a file extension. If no world with this name exists, the server creates a new one. Default: Dedicated
Server nameThe name of your server in the server list. Default: ZAP Valheim
Server passwordThe password players need to join. Must be at least 5 characters long and cannot be part of the server name.
Crossplay (Xbox/Game Pass)On also lets players on Xbox and the Microsoft Store/Game Pass version join. Default: Off
World presetThe world’s base difficulty, such as Normal, Casual, Hard, or Hardcore. Default: As saved in the world
CombatHow strong enemies are and how much damage they deal. Default: As preset
Death penaltyWhat players lose when they die (skills, equipment, inventory). Default: As preset
Raw materialsHow many resources enemies and gathering yield, from Much less (0.5×) to Most (3×). Default: As preset
RaidsHow often raids (attacks on your base) occur. Default: As preset
PortalsWhat can pass through portals, such as ores and metals. Default: As preset
No build costOn: Building does not cost materials. Default: Off
Raids based on player progressOn: The raids that occur depend on the bosses players nearby have defeated themselves. Default: Off
Passive enemiesOn: Enemies only attack when attacked. Default: Off
No mapOn: Players have no map or minimap. Default: Off

World name: Load a world or create a new one

The World name determines which world your server loads. Each world is stored in its own folder in worlds_local, for example, worlds_local/Dedicated. Enter the name exactly as it appears on the folder, without the folder path or an extension such as .fwl or .db. Pay attention to uppercase and lowercase letters.

  • Create a new world: Enter a name that does not already exist and restart your server. It will then create a new world with that name.
  • Switch back to your old world: Your existing world remains saved under its original name. Enter that name again and restart.
  • Upload your own world: Learn how to transfer a world from your PC to the server in Managing savegames on your server.
Info

You cannot set a seed for a new world through the startup parameters; Valheim does not provide a server setting for this. If you want a world with a specific seed, create it in the game using the seed you want, then upload it to your server.

All other startup parameters also apply to an existing world. You do not need to create a new world to change the difficulty, for example.

World modifiers: Difficulty, raids, and portals

Use World preset, the Combat, Death penalty, Raw materials, Raids, and Portals modifiers, as well as the four switches below them, to choose how challenging or relaxed your world is. These are the same settings you find in the game when creating a world.

  • If World preset is set to As saved in the world and all modifiers are set to As preset, your server does not change your world. An uploaded world keeps its own settings.
  • If you choose different settings, the next time your server starts, it sets all world modifiers for the loaded world to your selections and resets everything else to Normal.
Warning

Valheim stores world modifiers in the world itself. If you later switch back to As saved in the world, the world keeps the values that were set most recently. To restore the default values, choose the Normal preset.

Learn exactly what each preset and modifier does, step by step, in Setting world modifiers.

Who can join your server

Server password and crossplay

Valheim requires your server to have a Server password with at least 5 characters. The password also cannot appear in the Server name. If either requirement is not met, your server will not start. Change the password and try starting it again.

With Crossplay (Xbox/Game Pass) set to On, players on Xbox and the Microsoft Store/Game Pass version can also join. They connect using a join code that your server displays in the Console tab after startup. Find out how to join and what to check if you have connection issues in Common issues. For the usual connection method using an IP address and port, see Connecting to the server.

Admins, whitelist, and banned players

In Player management in the Configuration tab, you can manage three lists: Admin, Whitelist, and Banned. Enter a player’s ID in the search field, such as their SteamID64, and select the appropriate checkbox. Valheim expects an ID with a platform prefix, such as Steam_76561198000000000 or Xbox_<ID>. ZapX adds the prefix for you.

When your server starts, it writes the lists to the adminlist.txt, permittedlist.txt, and bannedlist.txt files. Always manage them in Player management rather than editing the files directly.

  • Learn how to make yourself an admin and which commands you can use through the in-game F5 console: Server admin commands & cheats
  • Learn how to restrict your server to specific players: Whitelist

Mods: Valheim Plus and BepInEx

To expand your game, select one of the mod variants under Games & variants. Learn how to switch variants in Switching games.

  • Valheim Plus: Adds many settings, for example, for carry weight, furnaces, portals, or the maximum number of players. The settings are in the org.bepinex.plugins.valheim_plus.cfg file in the valheimplus folder. All players also need to use Valheim Plus, and the same version. Learn more in Installing Valheim Plus on your server.
  • Valheim BepInEx: The foundation for BepInEx plugins. You can only install mods through the Mods tab with this variant. Learn more in Installing plugins on your server (BepInEx).
Info

A standard Valheim server allows a maximum of 10 players at a time. This is a game limitation. More players are only possible with Valheim Plus.

Tip

Before switching variants or making major changes, download a copy of your world from the Savegames tab. Learn how to back up your server as well in Automatic backups.

Conclusion

Your Valheim server is now configured just the way you want it. Learn how to give yourself admin rights in Server admin commands & cheats. If something isn’t working as expected, our guide to Common issues can help. If you have any other questions, our support team is available every day! 🙂

Free tools

Valheim Tools

View all

FAQ

Frequently asked questions

In the Configuration tab. Use Startup parameters to set the world name, server name, server password, crossplay, and world modifiers. Use Player management to manage admins, the whitelist, and banned players. A standard Valheim server does not have its own configuration file. Changes take effect after a restart.
Valheim requires a server password that is at least 5 characters long and does not appear in the server name. If either requirement is not met, the server will not start. Update the password in the startup parameters and restart the server.
Enter a name that does not already exist in the World name startup parameter, then restart the server. Your existing world remains in the worlds_local folder under its original name.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.