Gamehost

How to set up a Project Zomboid server

Ordering and first start of a Project Zomboid server, where the config files live, how players join and what to change right after launch.

Gamehost team·4 min read·Updated:
Project Zomboid serverPlans from 4 GB RAM

Server ready a moment after payment. You can change the plan in the panel at any time, your world stays.

Short answer

You order the server, start it and wait until the console reports that it is ready. On the first start the game creates the world and the config files, and takes the admin username and password from the Startup parameters in the panel. Only after that is it worth opening the config and changing things.

What you doWhereHow long it takes
Order a serverProject Zomboid page on game-host.com2 minutes
First startpanel, console2 to 5 minutes
World and player settingsFiles, config folder5 minutes
Players joingame, "Join Server"a moment

You pay by card, PayPal, Apple Pay or Google Pay, and the server is ready shortly after payment, together with the admin account.

First start

The first start takes longer than the ones after it, because the game generates the world and writes a full set of files. In the console you will see the map loading, the player database being created and, at the end, a message that the server is listening on its port.

The admin account is created automatically from the values in Startup parameters. Change the default admin password right after the first start, because it gives full access to the in-game commands.

The server does not come up the moment you press Start. Wait until the console goes quiet: trying to join while the world is still being generated ends with a connection error.

Where the server config lives

This question comes up more than any other, because the files are not where most guides tell you to look. On our servers the config goes to the .cache folder, and the file names come from the server name set in Startup parameters (by default Pterodactyl):

PathWhat it contains
.cache/Server/Pterodactyl.iniserver settings: password, player limit, mods, ports
.cache/Server/Pterodactyl_SandboxVars.luaworld rules: zombie count, loot, weather, respawning
.cache/Saves/Multiplayer/Pterodactylthe world save
.cache/db/Pterodactyl.dbplayer accounts and permissions
.cache/backupsbackups made by the server itself

Edit the files in Files while the server is stopped. The server reads the config on start and writes its own version when it shuts down, so changes made on a running server can disappear.

How to join the server

You will find the address at the top of the server view in the panel. In the game choose Join Server, enter the address and port, and below that a username and password, which each player picks on their first visit.

  • The game port is the one shown in the panel, not the default 16261 you see in other guides.
  • If the server has a password, it goes in its own field, not in the username.
  • A player account is created on the first connection and saved in the server database.

What to do right after launch

  • Change the admin password from the default to your own.
  • Set the world rules before your group starts playing. Some sandbox settings can be changed later, but not all of them, and swapping them mid-game can be risky. The sandbox file is Pterodactyl_SandboxVars.lua from the table above, and the game page Project Zomboid covers what lives in Startup parameters and what in the files.
  • Decide on mods at the start. Adding mods to a world you have already played can damage it, and removing them almost always ends in errors. See Mods on a Project Zomboid server.

Planning a bigger group or a modpack? Read How much RAM a Project Zomboid server needs. Ready to start? See Project Zomboid server hosting.

FAQ

No, the server is a separate program. Everyone who wants to play on it needs the game, though.

In the .cache folder: settings in .cache/Server, the world save in .cache/Saves/Multiplayer and player accounts in .cache/db.

The game generates the world and creates a full set of files. Later starts are much faster.

In Startup parameters in the panel, or with a command in the server console. Restart the server after the change.

Yes, but by default it pauses time in the world while nobody is playing. You can turn that off with the PauseEmpty setting in the server .ini file.

Your own Project Zomboid server

Plans from 5.99 € a month, set up in a few minutes and managed from one panel.

See plans