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.
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.
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 parameter | Description |
|---|---|
| World name | The 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 name | The name of your server in the server list. Default: ZAP Valheim |
| Server password | The 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 preset | The world’s base difficulty, such as Normal, Casual, Hard, or Hardcore. Default: As saved in the world |
| Combat | How strong enemies are and how much damage they deal. Default: As preset |
| Death penalty | What players lose when they die (skills, equipment, inventory). Default: As preset |
| Raw materials | How many resources enemies and gathering yield, from Much less (0.5×) to Most (3×). Default: As preset |
| Raids | How often raids (attacks on your base) occur. Default: As preset |
| Portals | What can pass through portals, such as ores and metals. Default: As preset |
| No build cost | On: Building does not cost materials. Default: Off |
| Raids based on player progress | On: The raids that occur depend on the bosses players nearby have defeated themselves. Default: Off |
| Passive enemies | On: Enemies only attack when attacked. Default: Off |
| No map | On: Players have no map or minimap. Default: Off |
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.
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.
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.
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.
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.
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
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.cfgfile in thevalheimplusfolder. 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).
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.
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.
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! 🙂