How to set a 7 Days to Die server password

7 Days to Die server password prompt

By default, 7 Days to Die servers are open to the public. That can be changed by setting a server password. This guide will show you how to do that in a few simple steps.

Setting a password

  1. Start your server
  2. Pause your server
  3. Open the Config screen in the app
  4. Edit the gameserver/serverconfig.xml file
  5. Find the line saying <property name="ServerPassword" value=""/>
  6. Put your password between the quotation marks after value=
  7. Save the file
  8. Unpause your server

Example config file

Here is an example of how your serverconfig.xml file could look like if you set SuperSecretPassword as your server password:

<?xml version="1.0"?>
<ServerSettings>
    <!-- Other settings -->
    <property name="ServerName"        value="My Game Host"/>
    <property name="ServerDescription" value="A 7 Days to Die server"/>
    <property name="ServerWebsiteURL"  value=""/>
    <property name="ServerPassword"    value="SuperSecretPassword"/>
    <!-- Other settings -->
</ServerSettings>