How to set up a dedicated 7 Days To Die server

7DTD Server

A dedicated server is utilized when playing with a large number of users in the same virtual environment. Both you and a server hosting firm can host servers on your behalf, if you so want. Some servers have as many as 20-30 gamers on them. Because of the huge amount of players on these sites, however, there are more concerns with playability on these servers.

Requirements

CPU: 2 Cores

RAM: 4 Gb of RAM

Storage: 15 Gb SSD (SSD for better read/write performance)

OS: Ubuntu 20.x with root login

Install

It is necessary to update repositories and install a few prerequisites if you have recently completed a fresh Ubuntu installation.


# sudo apt-get update

# sudo apt-get install screen wget

Adding 32-Bit libraries

This step is critical because if your operating system is designed on a 64-bit architecture, you will need to install 32-bit libraries in order to run the program. A 32-Bit version of the Steam command-line utility is currently only available for download. As of right now, the vast majority of systems are 64-bit in nature.

If you're using a 32-Bit operating system, you may skip this section entirely.

Installing Steam

Installing the Steam command-line program is the next step. They have a network where you may get the material for free. To begin, establish a folder titled steamcmd in which you may download and extract the necessary files and scripts.


# mkdir steamcmd

# cd steamcmd

# wget http://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz

You may download the file from the above-mentioned site by using the wget command, as shown below. Once the download is complete, you may extract the files into the same place where they were originally downloaded.


# tar -xvzf steamcmd_linux.tar.gz

Updating Steam

You should now be able to begin upgrading the Steam tool. To begin the update, run the following command on your computer:


# ./steamcmd.sh

How to host a server

Port Forwarding is a service that allows you to forward a port from one computer to another.

Alternatively, if your server is behind a router, you will need to inform your router that an incoming connection is intended for your machine. This is referred to as port forwarding. You will need to port forward ports 25000-25003 (UDP) in order for others to be able to connect.

If your router is compatible with UPnP, you can utilize this resource: http://upnp-portmapper.sourceforge.net/.

Don't know how to port forward your computer? adhere to the following guidelines:

  1. Visit this site for further information.

  2. Select the manufacturer of your router.

  3. Select the router model that you want to use (if your version is not there, pick the one closest to your version.)

  4. 7 Days to Die is the option you want (Except that you port forward 26900 to 26903 instead of 25000-25003)

  5. Follow the directions provided on the website.

  6. If you have followed the instructions to the letter, your friends should now be able to participate.

Figuring out your own IP address

To find out what IP address your friends will need to use, visit Whats my IP.org. Your External IP address may be found in this section. Please forward this message to your friends, and they should be able to join if you have previously completed the Port Forwarding (steps above) on your router and your computer.

Servers are being sought. Those seeking for a server to play on can locate one using the server browser available on their game client.

If your computer is on the same local network as the server, you may connect to it by entering its LAN IP address into the two boxes at the bottom of the games server browser page, followed by the port number you want to use to connect to the server.

In order to determine the LAN IP address "Start by going to start, clicking run or search, and typing cmd. In the window that appears, type the command ipconfig. You'll be presented with a list of pertinent facts. You're on the lookout for the IP address of the computer."

Configuration

See server-setting.xml specification.

See serveradmin-xml specification.

Renting a dedicated server

It is possible to rent a server from a number of different firms or websites on the internet. This rented server will be housed in a data center and hosted by the company that rented it.

The majority of these servers are available 24 hours a day, seven days a week. This is advantageous since you will not be required to keep your computer working around the clock. There are many various specs for servers available for rent, and some may not be powerful enough to host a server. Datacenter network connections are often significantly superior than those provided by residential ISPs, reducing the amount of latency you could face while hosting your website from your place of residence.