How to Host a Project Zomboid Server Using Hostinger’s Game Panel and Manually (2024)

VPS Gaming

Jun 12, 2024

Aris S.

7min Read

Setting up a dedicated server for Project Zomboid gives you more control and customization options. For example, you can add various mods, use commands to manage players, and adjust settings to change the gameplay.

In this article, we will explain how to host a Project Zomboid server using two methods – automatic setup using Hostinger’s game panel and manual setup.

Both methods have the same outcome but differ in complexity. We recommend using our Game Panel since it requires little to no commands and provides a graphical interface, making it suitable for non-technical users. However, the final decision will depend on your personal preferences and needs.

How to Host a Project Zomboid Server Using Hostinger’s Game Panel and Manually (1)

Prerequisites

Before proceeding with the steps, ensure you have purchased a VPS hosting plan. Ideally, the server is running a newer Linux operating system since the steps might differ otherwise. For this tutorial, we will use Debian 10.

Your VPS should also have sufficient hardware and a reliable connection to maintain gameplay responsiveness. While there are no exact requirements, we recommend a system with a multi-core processor, 8 GB of RAM, and 100 Mbps internet.

With that in mind, the Hostinger KVM 2 VPS hosting plan is an excellent choice for a Project Zomboid server. It has various features that enhance system management efficiency, including automatic backup and a VPS AI Assistant.

If you prefer the Hostinger Game Panel hosting plan, our Game Panel 2 plan is almost an exact match. It offers identical performance as KVM 2 but with additional features, like a one-click game and mod installer.

How to Host a Project Zomboid Server Using Hostinger’s Game Panel and Manually (2)

How to Host a Project Zomboid Server Using Hostinger Game Panel

Hostinger Game Panel provides a graphical interface that lets you easily set up various games with dedicated servers, add mods, and manage the host settings without commands. In addition to being beginner-friendly, it makes the process safer since you won’t run the wrong commands.

After you purchase a Game Server plan from Hostinger, you should automatically land on the onboarding page. From this screen, complete the initial VPS setup, such as choosing the data center location and creating a new password.

Once your VPS is set, follow these steps to configure the Project Zomboid dedicated server:

  1. Open hPanel → VPS. From the list, click Manage on your game server.
  2. In the VPS overview menu, navigate to the Panel Access tab and click the Login URL.
How to Host a Project Zomboid Server Using Hostinger’s Game Panel and Manually (3)
  1. Once you are redirected to the Game Panel, log in as admin using the credentials from the Panel Access tab. Click Login.
  2. Click Create Instance and select Project Zomboid as the application. Click Create Instance.
  1. Double-click the instance and hit Start to run the game server.
  2. From the same menu, copy the Connection info credentials. You need this information to access the server from your game client.

That’s it! If you want to customize the default game settings, navigate to the sidebarConfiguration. Choose the settings you want to adjust, like communications, Discord, or gameplay.

How to Set up a Project Zomboid Dedicated Server Manually

If you want to install additional software or use a particular operating system, you can manually set up the Project Zomboid multiplayer server using commands. Here is how to do so in Debian-based distros.

1. Set up Your VPS

Before running commands on your VPS, connect to it using an SSH client like PuTTY or Terminal. You can find the access credentials by going to hPanelVPSManageSSH Access tab.

How to Host a Project Zomboid Server Using Hostinger’s Game Panel and Manually (5)

By default, you will log in as root, which can run any administrative commands without confirmation. Using this account can be risky since you are more prone to executing dangerous utilities.

To minimize the risk, let’s create a new superuser account. Running administrative commands with this user requires a sudo prefix and password confirmation, making the setup process more secure. Here’s how to do so:

  1. Create a new account using this command. For this tutorial, we will use pzuser as the username:
adduser pzuser
  1. Enter the user’s password and other details, like the contact information.
  2. Grant the user superuser privileges by adding it to the sudo group using this command:
usermod -a -G sudo pzuser
  1. Switch to the new user by running the following:
su pzuser

Now, your command-line shell should begin with the new username, and we can start preparing the hosting environment. To begin, enter cd to return to the main system directory.

2. Download and Install SteamCMD

SteamCMD is the command-line version of the Steam client, a game distribution service for Project Zomboid. You will use this software to download and configure the dedicated server files.

Here are the steps to set up the software on your Debian VPS:

  1. Install the SteamCMD dependencies and enable the non-free repository to avoid errors:
sudo apt install software-properties-common -y
sudo apt-add-repository non-free
  1. Now, install SteamCMD and other software components by running these commands subsequently:
sudo dpkg --add-architecture i386
sudo apt update -y
sudo apt install steamcmd -y
  1. Make a new folder for the server and set its ownership to the new user. To do so, run these commands:
sudo mkdir /opt/pzserver
sudo chown pzuser:pzuser /opt/pzserver

3. Set up the Project Zomboid Server

Now, let’s set up your Project Zomboid server by adding the settings to the update_zomboid.txt file located in the software’s default download directory. Here’s the command:

cat >$HOME/update_zomboid.txt <<'EOL'

// update_zomboid.txt

//

@ShutdownOnFailedCommand 1 //set to 0 if updating multiple servers at once

@NoPromptForPassword 1

force_install_dir /opt/pzserver/

//for servers which don't need a login

login anonymous

app_update 380870 validate

quit

EOL

Now, set up the server using these commands. You can also use the following to update the Project Zomboid host software to the latest version:

export PATH=$PATH:/usr/games

steamcmd +runscript $HOME/update_zomboid.txt

Note that the downloading process can take up to hours, depending on your internet connection. Once finished, you should see a confirmation message indicating that application 380870 is installed.

How to Host a Project Zomboid Server Using Hostinger’s Game Panel and Manually (6)

Great! The server is now functional. However, to allow players to access your VPS, we must open 16261 and 16262 UDP ports. Since we are using Debian, we will do so using Uncomplicated Firewall (UFW). Run this command to install it:

sudo apt install ufw -y

Then, open the ports for your Project Zomboid server. We will also put SSH into the allowlist to prevent connectivity issues. Here are the commands:

sudo ufw allow 22/tcp
sudo ufw allow 16261/udp
sudo ufw allow 16262/udp

Now, enable UFW to apply the rules using the following command. If you have the firewall active already, replace enable with reload:

sudo ufw enable

4. Running Your Server

If you start the Project Zomboid server directly on your VPS command-line interface, it will shut down after you disconnect from SSH. It can be inconvenient since you must keep Terminal or PuTTY open.

To keep it running in the background, we will run it with a Terminal multiplexer like tmux. Start by installing the tool using the following command:

sudo apt install tmux -y

Once tmux is configured, create a new virtual Terminal instance using the following command:

tmux

Navigate to the Project Zomboid server installation directory. Since we installed it in the default location, we will use the following command. Otherwise, change the path accordingly:

cd /opt/pzserver/

Now, start the Project Zomboid server by running the start-server.sh script like so:

bash start-server.sh
How to Host a Project Zomboid Server Using Hostinger’s Game Panel and Manually (7)

Important! Since you set the Project Zomboid folder and script ownership to pzuser, switch to the account if you encounter a permission issue when running the bash file.

You can also start the server using a custom name. For example, we will name it my-awesome-pzserver:

bash start-server.sh -servername my-awesome-pzserver

If the Project Zomboid server asks for an administrator password, enter a new one. Now, you can connect to it by entering your VPS IP address, port number, and password into the game client.

5. Enhance the Project Zomboid Server

Now that your server successfully runs, let’s change the default settings to improve the security and gameplay experience. To do so, open the servertest.ini file using a text editor like nano:

sudo nano Zomboid/Server/servertest.ini

If you can’t find the file, enter cd to return to the main directory and rerun the nano command. You can edit settings by adjusting various parameters. Some of the most crucial ones are:

  • Public – the rule defining whether your server is discoverable in Steam.
  • MaxPlayers – the maximum number of players in your server.
  • DefaultPort – the port number that players should use to connect to your server.
  • Password – the credential players must enter to connect to your server.
  • SteamVAC – the rule to filter cheaters using Steam’s Valve Anti-Cheat.

Setting up Project Zomboid mods also requires you to modify this file. To do so, look for the add-on you want to download in Steam Workshop.

Acquire the extension’s mod and workshop ID from the description section. Now, return to the servertest.ini file and find the Mods and WorkshopItems parameters. Paste the numbers on their respective parameters.

Pro Tip

To quickly find a setting parameter in nano, press Ctrl + W and enter the phrase you are looking for.

If you want to install multiple mods, list their IDs separated by a semicolon like so:

Mods=1234567;1234568

WorkshopItems=1234567;1234568

Once you finish changing the server configuration, press Ctrl + X, Y, and Enter to save the settings. Now, restart the host by pressing Ctrl + C in the tmux terminal and rerunning the bash script.

Conclusion

Hosting a Project Zomboid dedicated server provides more control and flexibility, allowing you to customize gameplay. To set one up, you must have a VPS that meets the minimum hardware requirements and is running Linux.

If you use Hostinger’s Game Panel hosting, you can easily set up a Project Zomboid dedicated server by creating a new instance in the control panel. You can also change the server settings from the same menu without commands.

Should you prefer different software, you can set up the server manually. To do so, connect to your VPS via SSH and create a new superuser. Add the Steam repository and install SteamCMD to download the game’s dedicated server files.

Set up tmux and run the server by executing the bash script in a new Terminal instance. To improve gameplay and set up mods, change the game settings by opening servertest.ini using the nano text editor.

How to Host a Project Zomboid Server FAQ

In this section, we will answer several questions about hosting a Project Zomboid server on a VPS.

How Many Players Can Join a Project Zomboid Server at Once?

A Project Zomboid server can host over 100 players simultaneously. However, it will consume a large amount of RAM. The rule of thumb is that each player requires an additional 500 MB of server memory on top of 2 GB for the system.

Are There Any Mods or Plugins Available for Project Zomboid Servers?

Absolutely! Project Zomboid’s Steam Workshop page has thousands of mods and plugins. In addition, you can download them from third-party repositories like NexusMods. Ensure to check their rating to avoid installing malicious mods.

Can I Run Multiple Instances of Project Zomboid Servers on the Same Server?

Yes, you can use tmux to create multiple virtual Terminal instances, each running different servers. However, we strongly recommend avoiding doing so since it can burden your VPS’ hardware and network, resulting in laggy gameplay.

How to Host a Project Zomboid Server Using Hostinger’s Game Panel and Manually (8)

The author

Aris Sentika

Aris is a Content Writer specializing in Linux and WordPress development. He has a passion for networking, front-end web development, and server administration. By combining his IT and writing experience, Aris creates content that helps people easily understand complex technical topics to start their online journey. Follow him on LinkedIn.

More from Aris Sentika

How to Host a Project Zomboid Server Using Hostinger’s Game Panel and Manually (2024)

FAQs

How to Host a Project Zomboid Server Using Hostinger’s Game Panel and Manually? ›

I: Hosting a non-Steam dedicated server requires players connect through the non-Steam version of the game client. For Steam game owners, this can be achieved by adding -nosteam to the launch options of Project Zomboid under its properties menu.

How do I host a Project Zomboid server on my PC? ›

How to set up a Project Zomboid server
  1. Step 1: Establish server connection.
  2. Step 2: Installing the Project Zomboid server using the Steam client.
  3. Step 3: Release ports.
  4. Step 4: Adjust the server's configuration file.
  5. Step 5: Start your Project Zomboid server.
  6. Step 6: Open Project Zomboid.
  7. Step 7: Find server in game.
Feb 28, 2023

How to host Project Zomboid server without Steam? ›

I: Hosting a non-Steam dedicated server requires players connect through the non-Steam version of the game client. For Steam game owners, this can be achieved by adding -nosteam to the launch options of Project Zomboid under its properties menu.

Can you play the server without the host in Project Zomboid? ›

A dedicated server in Project Zomboid is a fully hosted world so that you and your survivor friends can jump in at any time without relying on a host being online. If the host of the Project Zomboid world you are playing on is not online, you will not be able to continue playing.

How to make a private server in Project Zomboid? ›

Hiding a Server from Public
  1. Locate the Public= line of world. ini and adjust the value: true means your server can be seen on Steam; false means your server cannot be seen on Steam.
  2. Save the file and restart your server.

How much RAM do I need to host a Project Zomboid server? ›

The calculation is 2GB + 500mb per player.

How to join Project Zomboid server with IP? ›

Joining Through Steam
  1. Within Steam, navigate to View at the top, then select Servers .
  2. Press Add a Server in the bottom-right of the window.
  3. Enter your full IP:Port, then press Add this Address to Favorites .
  4. Press Refresh to check for your server in the list.
  5. Once you are ready, select your server and press Connect .
May 13, 2022

Does it cost money to host a Project Zomboid server? ›

How much does it cost to rent a server in Project Zomboid? Hosting a Zomboid server costs at least $6.99/month. The more players you have, the higher the price will be. Our largest plan is $32.99/month for 64 players.

What is the difference between host and dedicated Zomboid? ›

There are several hosting options for Project Zomboid: Dedicated Hosting offers unparalleled performance but at a higher cost; Shared Hosting is affordable but may suffer performance drops with multiple users; and VPS Hosting strikes a balance between performance and cost. 5.

How do I host Project Zomboid with friends? ›

If you want to host an open multiplayer server that anyone can play, tick the public box and start the game. This will list your server in the server browser, allowing all players to join. That's everything you need to know about Project Zomboid multiplayer.

How do I make a Project Zomboid server admin? ›

Setting Admin Credentials
  1. Navigate to your Apex Server Panel and log in.
  2. Proceed to the Customizations tab on the left-hand side.
  3. Under Admin Password , set the desired login password.
  4. Under Admin Username , set the username for the admin account.
  5. Once complete, return to the main panel page and restart the server.
Nov 27, 2023

How to whitelist a pz server? ›

Stop the server.
  1. Go to the Files tab.
  2. Find the following directory: /home/container/. cache/Server .
  3. Open [SaveName]. ini for editing. The . ini file is labeled depending on the Save/Config Name in the Startup tab.
  4. On the Open= line, change the value from true to false .
  5. Choose the Save Content button.
  6. Start the server.

How do I host a Project Zomboid server with mods? ›

How to Add Mods to Your Project Zomboid Server
  1. Access your control panel and Stop your server..
  2. Navigate to Files > Config Files.
  3. Open world. ...
  4. Locate WorkshopItems= and enter the mod Workshop IDs, separated by semicolons.
  5. In the same file, locate the Mods= section and enter the Mod IDs, also separated by semicolons.

How do I host a game for friends Project Zomboid? ›

Technically, Project Zomboid allows you to host your very own server straight from the main menu. This will open a window where you can choose the server's name and specify the amount of RAM you would like to allocate to it. If you'd like to edit it further, click Manage Setting next to Server Name.

Is it free to host a Project Zomboid server? ›

It is free !

The best part is that AxentHost offers a completely free Project Zomboid server, without any hidden costs or fees. This means you can enjoy all the benefits of a premium hosting service without having to pay anything.

How do I host a dedicated server in Project Zomboid with mods? ›

How to Add Mods to Your Project Zomboid Server
  1. Access your control panel and Stop your server..
  2. Navigate to Files > Config Files.
  3. Open world. ...
  4. Locate WorkshopItems= and enter the mod Workshop IDs, separated by semicolons.
  5. In the same file, locate the Mods= section and enter the Mod IDs, also separated by semicolons.

References

Top Articles
Latest Posts
Article information

Author: Allyn Kozey

Last Updated:

Views: 6522

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.