if a server with 10 slots is desired, it would be necessary to open the following ports: In addition to the aforementioned ports required, TCP ports will have to be opened for each player slot on the server. Project Zomboid dedicated servers require the following open ports to successfully connect to clients: Steamcmd +runscript $HOME/update_zomboid.txt Forwarding Required Ports You will use this same command every time you want to update the server to the latest version. 1 //set to 0 if updating multiple servers at 1
We will install Zomboid Server in /opt/pzserver mkdir /opt/pzserverĬreate the configuration file /home/pzuser/update_zomboid.txt that will manage steamcmd Add an user such as pzuser adduser pzuser If you are running as a regular user you will need to prefix those commands with sudo.ĭon't run the server as root. Many of the commands below assume you are running as root. Once you see the message "Success! App '380870' fully installed", close SteamCMD:įor Debian and Ubuntu, first install steamcmd Next, download the Project Zomboid dedicated server files: Once you have set the install directory to your preference, login anonymously to Steam: You can choose wherever you would like to store the server files.įor Linux users, the server will install to /home//.steam/steam/steamapps/common/Project Zomboid Dedicated Server/ unless specified otherwise. The following is an example of setting the download directory to its own separate folder on the C: drive. You can now set up the installation directory where the dedicated server files will be stored. Once you have downloaded and extracted SteamCMD to the folder of your choosing, run it by executing steamcmd.exe from a command line.
The Valve Developer wiki has instructions on how to download and configure SteamCMD. SteamCMD is the command line version of Steam. If accidentally done, verify the integrity of the files. Note: Do not launch the server via Steam. Locate 'Project Zomboid Dedicated Server' and download/install it.Navigate to your Steam library and filter for tools.
5.1 Configuring the Server Game Settingsĭownloading the Server Files Through Steam.2.1 Additional Ports for Non-Steam Server.