Skip to content
Black Friday · −50 % off your first invoice on Xeon VPS with code BF50XEON, −30 % off our other services with BF30 · domain names and dedicated servers excluded See our plans
CloudFive
Log in

01

Before you start

You need a recent Linux VPS with a sudo user: Ubuntu 22.04 or 24.04, or Debian 12. Three things decide how smooth the game feels:

  • Memory: the developers do not publish minimum requirements for the server. Its usage depends mostly on the map size, the number of players, the number of zombies and the mods; generating a random world on first launch is also memory-hungry. Plan generously, then watch it with free -h during the first weeks.
  • Processor: one fast core matters more than many cores, especially during horde nights, when zombies pour in.
  • Container or virtual machine: the server needs no kernel module. It runs in a container VPS (LXC) as well as in a virtual machine (see KVM or container VPS).

Do the basic security setup first (SSH key, firewall, automatic updates): the guide securing a Linux VPS gives the order to follow. To compare VPS suited to games, see which VPS for a game server.

02

Install SteamCMD and the server

On Ubuntu, SteamCMD is in the multiverse repository:

sudo apt update
sudo apt install -y software-properties-common
sudo add-apt-repository -y multiverse
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y steamcmd telnet

On Debian 12, it is in the non-free repository:

sudo apt update
sudo apt install -y software-properties-common
sudo apt-add-repository -y non-free
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y steamcmd telnet

Accept the Steam licence when the installer asks for it. The telnet package will be used to stop the server cleanly. Then create a dedicated user and download the server:

sudo useradd -r -m -d /opt/7dtd -s /bin/bash sdtd
sudo -iu sdtd
/usr/games/steamcmd +force_install_dir /opt/7dtd/serveur +login anonymous +app_update 294420 validate +quit

294420 is the Steam ID of the 7 Days to Die dedicated server (the game itself has a different number). Expect several gigabytes of download. The /opt/7dtd/serveur folder then holds the startserver.sh launch script and the serverconfig.xml settings file.

03

Configure serverconfig.xml

Do not edit serverconfig.xml directly: an update with validate resets it. Work on a copy, which you will pass at launch:

cd /opt/7dtd/serveur
cp serverconfig.xml monserveur.xml
nano monserveur.xml

Each setting is a property line; only change what is between the quotes of value. The main ones:

<property name="ServerName"           value="Mon serveur 7 Days to Die"/>
<property name="ServerPassword"       value="un-mot-de-passe"/>
<property name="ServerPort"           value="26900"/>
<property name="ServerVisibility"     value="2"/>
<property name="ServerMaxPlayerCount" value="8"/>
<property name="GameWorld"            value="Navezgane"/>
<property name="WorldGenSeed"         value="ma-graine"/>
<property name="WorldGenSize"         value="6144"/>
<property name="GameName"             value="MaPartie"/>
<property name="EACEnabled"           value="true"/>
  • ServerVisibility: 2 for a public server, 1 for friends only, 0 to stay out of the server list.
  • GameWorld: Navezgane is the game's fixed map; RWG generates a random world from WorldGenSeed and WorldGenSize. The bigger the map, the longer the generation and the more memory the server uses.
  • GameName: the name of the save. Changing it starts a new game; the old one stays on disk.

Game settings (difficulty, experience, horde nights, loot…) changed shape with version 3 of the game: they now go through a code generated in the game's "Sandbox" menu, then pasted into the file's SandboxCode property. Exact names vary from one version to the next: rely on the comments in the file shipped with your version, they describe each option.

Leave TelnetPassword empty: without a password, the telnet console (port 8081) only listens on the VPS's local address, which is enough to manage it and stop it cleanly. Start the server once by hand, still as sdtd, to check the configuration:

./startserver.sh -configfile=monserveur.xml

The log is written to an output_log file in the 7DaysToDieServer_Data folder. To make yourself an admin, join the game, then, from a second SSH session on the VPS, open the local console with telnet 127.0.0.1 8081, find your ID with listplayers, then type admin add followed by that ID and level 0 (full rights). The list is kept in serveradmin.xml, created on first launch in the saves folder. Then type shutdown in that console to stop the server before moving on to the service below.

04

systemd service, ports and firewall

To have the server start with the VPS and restart after a crash, create /etc/systemd/system/7dtd.service (as an administrator, after leaving the sdtd session with exit):

[Unit]
Description=Serveur 7 Days to Die
Wants=network-online.target
After=network-online.target

[Service]
User=sdtd
WorkingDirectory=/opt/7dtd/serveur
ExecStart=/opt/7dtd/serveur/startserver.sh -configfile=monserveur.xml
ExecStop=-/bin/bash -c "(echo saveworld && sleep 5 && echo shutdown && sleep 10) | telnet 127.0.0.1 8081"
TimeoutStopSec=90
Restart=on-failure
RestartSec=15

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable --now 7dtd

Stopping goes through the telnet console: saveworld saves the world, shutdown closes the server cleanly. Then open the game ports:

sudo ufw allow 26900/tcp
sudo ufw allow 26900:26903/udp

The ServerPort port (26900 by default) is used over TCP and UDP, and the server also uses the UDP ports right after it: if you change ServerPort, shift the whole range. Players connect with the VPS address and the port, from the connect-by-IP menu. Open neither the telnet port (8081) nor the web dashboard (disabled by default, port 8080): if you enable it, use an SSH tunnel, for example ssh -L 8080:127.0.0.1:8080 you@vps-address. Ports for each game are detailed in the guide game server ports.

05

Install mods

Mods go into a Mods folder at the root of the server, to be created if it does not exist. Each mod has its own folder, with the ModInfo.xml file directly inside: one folder too many in between, and the mod is not loaded.

sudo systemctl stop 7dtd
sudo -u sdtd mkdir -p /opt/7dtd/serveur/Mods

Copy each mod folder into /opt/7dtd/serveur/Mods (with scp or rsync), then give the files back to the server user and start it again:

sudo chown -R sdtd: /opt/7dtd/serveur/Mods
sudo systemctl start 7dtd
  • Game version: a mod must match the server version. After a major game update, many mods stop working until their author updates them.
  • Mods with code (.dll files): they require turning off the anti-cheat (EACEnabled set to false). Every player must then launch the game without EasyAntiCheat, and most of these mods must also be installed by players, at the same version. Without anti-cheat, console players can no longer join the server through crossplay.
  • XML-only mods: some work on the server alone, others must also be installed by players. Each mod's page says which.

Check in the server log that each mod is loaded, and add them one at a time: it is the simplest way to find the one causing trouble.

06

Backups and updates

By default, worlds, saves and serveradmin.xml live in ~/.local/share/7DaysToDie of the user running the server, here /opt/7dtd/.local/share/7DaysToDie (the UserDataFolder property moves them elsewhere). Stop the server for a consistent copy:

sudo systemctl stop 7dtd
sudo -u sdtd tar czf /opt/7dtd/7dtd-$(date +%F).tar.gz -C /opt/7dtd .local/share/7DaysToDie serveur/monserveur.xml
sudo systemctl start 7dtd

Then copy the archive off the VPS (scp, rsync or external storage). To update the server when a new game version comes out (up-to-date players cannot join a server that lags behind):

sudo systemctl stop 7dtd
sudo -iu sdtd /usr/games/steamcmd +force_install_dir /opt/7dtd/serveur +login anonymous +app_update 294420 validate +quit
sudo systemctl start 7dtd

Your monserveur.xml is not touched by the update. Always take a backup first: with major updates, a game started on the old version is not always carried over, and you sometimes have to start a new world. Read the patch notes before updating, and check that your mods have caught up.

07

On a CloudFive VPS, and when it is not the right choice

CloudFive has no turnkey 7 Days to Die offer: our game offers cover other titles (the list is on the offers page). For 7 Days to Die, the method in this guide on a VPS is the way to go:

  • the Ryzen VPS, on a Ryzen 9 9950X with DDR5 memory and NVMe storage, gives the fastest core, the one that holds up during horde nights; pick a tier with enough memory for the map you have in mind;
  • the Intel VPS, on a Xeon E5-2687W v4 with DDR4 ECC memory, suits a small group on a modest map;
  • both are Linux containers (LXC) with root access, a dedicated IPv4 address, a 1 Gb/s port and basic anti-DDoS protection included; the game-specific filter is a paid option, Premium Protection (see protecting a game server from DDoS);
  • snapshots in the customer area complement your backups before a big update or before adding mods.

Servers are in France, billed monthly with no commitment, and support answers in French by ticket, on Discord and by phone, 7 days a week. Prices are on the pricing page.

It is not the right choice if:

  • you do not want to manage anything: a VPS means keeping the system and the server up to date, and we do not offer ready-made 7 Days to Die hosting;
  • you prefer managing the server through a graphical interface on Windows: the dedicated server also exists for Windows, and installs on the Windows VPS;
  • you are aiming for a large map, many players and a big mod pack, or several servers at once: a dedicated server gives more memory headroom;
  • your players are far from France: latency shows in every fight.
08

Frequently asked questions

Can I get a 7 Days to Die server without installing anything?

With CloudFive's Pterobox, you create your game servers from the customer area without installing anything, on a Ryzen 9 9950X with Anti-DDoS Premium included (cloudfive.fr/en/pterobox). If 7 Days to Die is not in the catalogue yet, request it from the customer area. A VPS remains the most flexible option if you want to configure everything yourself.

How do I create a 7 Days to Die server on Linux?

Install SteamCMD, download the server anonymously with ID 294420, copy serverconfig.xml to a file of your own and set the name, password and map, open port 26900 over TCP and ports 26900 to 26903 over UDP, then run startserver.sh -configfile=your-file.xml from a systemd service.

Which ports should I open for a 7 Days to Die server?

Port 26900 over TCP and UDP, plus the UDP ports that follow it: open 26900 to 26903 over UDP. If you change ServerPort, shift the whole range. Keep telnet port 8081 and the web dashboard port 8080 closed.

How much RAM does a 7 Days to Die server need?

The developers publish no official minimum for the server. Memory depends mostly on map size, player count, zombie count and mods: plan generously for a large randomly generated map, then watch actual usage with free -h.

Where are 7 Days to Die server saves on Linux?

By default in ~/.local/share/7DaysToDie of the user running the server, along with the serveradmin.xml file. The UserDataFolder property in serverconfig.xml lets you choose another folder.

How do I install mods on a 7 Days to Die server?

Put each mod in its own folder under Mods, at the server root, with ModInfo.xml directly inside, then restart. Mods that contain code (.dll) require EACEnabled set to false: players then launch the game without EasyAntiCheat and, for most of these mods, also install them at the same version.

Does CloudFive offer turnkey 7 Days to Die hosting?

No. CloudFive has no ready-to-use 7 Days to Die offer: the server installs on a Linux VPS, ideally the Ryzen 9 9950X VPS in France, with root access, a dedicated IPv4 and basic anti-DDoS included, or on a dedicated server for a large community.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay