skip to Main Content
7 Days To Die Game

How to Configure a 7 Days to Die Dedicated Server

Hosting your own dedicated multiplayer server is a great way to enhance your 7 Days to Die experience. In addition to choosing with whom you play, you also get to customize your server with server options and mods.

This guide explains how to configure a 7 Days to Die dedicated server. It assumes you’re using a Linux distribution (such as Ubuntu 20.04) as your operating system.

1. Install the Necessary Packages

To install and configure a 7 Days to Die server, you will need the following packages:

  • wget
  • lib32gcc1

1. First, open the terminal and update your package repositories with the following command:

sudo apt update

2. Next, install the required dependencies with the command:

sudo apt install -y wget lib32gcc1

2. Install SteamCMD

Next, you need to install Valve’s command-line tool SteamCMD. This tool is used for managing and updating your server and game files through the command line.

1. Open the terminal and download the SteamCMD tarball with the command:

wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
Downloading SteamCMD with wget.

2. Once the download finishes, navigate to the directory where you downloaded the tarball and unpack it with the command:

tar -xvf steamcmd_linux.tar.gz
Unpacking SteamCMD tar file.

SteamCMD is now ready to use.

3. Install the Game

To install the game:

  1. Run SteamCMD with the command:
./steamcmd.sh

This starts the SteamCMD REPL environment for running SteamCMD commands.

  1. You can use SteamCMD as an anonymous user with the command:
login anonymous

Or you can log in with your Steam account credentials with the command:

login [your username] [your password]
  1. After logging in, choose where you want to install the 7 Days to Die server files (you can choose any directory you like) with the command:
force_install_dir ~/7dtd_server/
  1. Next, install the files using the app_update command with Steam’s ID for the 7 Days to Die server:
app_update 294420
Installing 7 days to die server via SteamCMD
  1. Once the installation is finished, you can close SteamCMD with the command:
quit

4. Configure the Game Server

All game server configuration is done by editing the serverconfig.xml file. You can find the file in the directory where you unpacked the server files (~/my_server/ in our example).To configure the server:

1. Open the serverconfig.xml file in your text editor of choice.

The file contains a list of properties, each containing a name attribute (e.g., name=“ControlPanelEnabled”), a value attribute (e.g. value=“false”), and a comment describing what the property does (e.g. <!– Enable/Disable the web control panel –> ).

2. To change a property, simply change the associated value. Check the comment to find out what changing each value does.

3. Once you’re done editing, save the file and close the text editor. The changes will take effect the next time you start the server.

5. Start the Server

To start you server:

1. Navigate to the directory where you unpacked the server files.

2. Run the command:

./startserver.sh -configfile=serverconfig.xml

You can stop the server at any time by closing the terminal window.

6. Connecting to the Server

Once the server is up and running, players join easily.

1. Player click Join Game in the main menu of the game.

2. They enter the IP address of the server in the IP field.

3. Enter the server port in the Port field.

4. Click Connect.


Check out our comprehensive list of 7 Days to Die Console Commands.


Conclusion

If you’re a 7 Days to Die fan, running your own dedicated game server will allow you to customize the game to your liking.

You can create a comfortable environment so your friends can play in peace, run a cutthroat server aimed at giving players a true challenge, or anything else you can think of.

Ilja Aradski

Ilja Aradski is a writer, tech enthusiast, gaming nerd, and Glimpse's go-to content guy. His goal is to make content creation accessible to everyone by writing about live streaming, video games, and the content industry at large. He thinks he is good at video games, but his friends know better.

Back To Top