7 Days to Die is a multiplayer game server that can be hosted on a VPS or dedicated server. This comprehensive guide covers everything you need to know about hosting a 7 Days to Die server for your community.
26900294420serverconfig.xml - Server ConfigurationsSaves/serveradmin.xml - Admin ConfigurationsThe following ports are used by this game server:
| Port | Protocol | Purpose |
|---|---|---|
26900 |
UDP | Game port |
26900 |
TCP | Game port |
26901 |
UDP | Query port (+1) |
26902 |
UDP | Web control panel (+2) |
8080 |
TCP | Web dashboard |
8081 |
TCP | Telnet |
Allow server ports through your firewall:
# UFW (Ubuntu/Debian)
sudo ufw allow [PORT]/tcp
sudo ufw allow [PORT]/udp
sudo ufw reload
# FirewallD (CentOS/RHEL)
sudo firewall-cmd --permanent --add-port=[PORT]/tcp
sudo firewall-cmd --permanent --add-port=[PORT]/udp
sudo firewall-cmd --reload
# Windows Firewall
netsh advfirewall firewall add rule name="7 Days to Die Server" dir=in action=allow protocol=TCP localport=[PORT]
netsh advfirewall firewall add rule name="7 Days to Die Server" dir=in action=allow protocol=UDP localport=[PORT]
# Update system packages
sudo apt update && sudo apt upgrade -y
# Create server directory
mkdir -p ~/gameserver
cd ~/gameserver
# Download server files (method varies by game)
# Check official documentation for download links
Download the server files from the official game website or through Steam (if applicable). Extract to a dedicated folder and run the server executable.
This game can be installed via SteamCMD using App ID: 294420
# Update package list
sudo apt update
# Enable 32-bit architecture
sudo dpkg --add-architecture i386
sudo apt update
# Install SteamCMD
sudo apt install -y lib32gcc-s1 steamcmd
# Create directory for game server
mkdir -p ~/gameservers/7daystodie
# Run SteamCMD and download
steamcmd +login anonymous \
+force_install_dir ~/gameservers/7daystodie \
+app_update 294420 validate \
+quit
# Server files are now in ~/gameservers/7daystodie/
cd ~/gameservers/7daystodie
ls -la
C:\steamcmd\cd C:\steamcmd
steamcmd.exe +login anonymous ^
+force_install_dir C:\gameservers\7daystodie ^
+app_update 294420 validate ^
+quit
After installation, you'll need to configure your server. Here's where to find the configuration files and what settings you can change.
Important configuration files for this server:
serverconfig.xml - Server ConfigurationsSaves/serveradmin.xml - Admin Configurations