Project Zomboid | how to set spawn points in your project zomboid server
If you want to modify player spawning in Project Zomboid, there are two methods available: Forced
and Custom Choice.
Below, I'll explain both methods. For reference, keep a browser tab open to http://pzmap.crash-override.net as you go through the steps.
The example used below is based on the Muldraugh large warehouse.
Please ensure you replace the example coordinates and filenames with the actual ones relevant to your server setup.
Forced Spawning
-
Open your browser and visit http://pzmap.crash-override.net.
-
On the website, click
Lock Coords
and select your desired spawn location. For this example, I'm using:- Coords:
10629x9312
- Cell:
35x31
- Rel:
129x12
- Coords:
-
In your game server's
Zomboid\Server
directory, open theservertest.ini
file. -
Find the line that says
SpawnPoint=0,0,0
and replace it withSpawnPoint=10629,9312,0
(using the coordinates from step 2). -
Save the
servertest.ini
file.
Custom Choice Spawning
-
Download the
servertest_spawnpoints.lua
file from your game server'sZomboid\Server
directory to your PC. -
Make a copy of
servertest_spawnpoints.lua
and rename it toservertest_warehouse.lua.
-
Open
servertest_warehouse.lua
and modify theworldX
,worldY
,posX
, andposY
values based on the Cell and Rel information obtained from http://pzmap.crash-override.net.- For example:
{ worldX = 35, worldY = 31, posX = 129, posY = 12 }
- For example:
-
Save the
servertest_warehouse.lua
file. -
Upload the modified
servertest_warehouse.lua
to your game server'sZomboid\Server
directory. -
Next, edit the
servertest_spawnregions.lua
file in the same directory. -
Uncomment the line below the comment that says
uncomment the line below to add a custom spawnpoint for this server
by removing the two dashes at the beginning of the line. -
Add a new line after the Twiggy's Bar line:
{ name = "Muldraugh Large Warehouse", serverfile = "servertest_warehouse.lua" },
- Save the
servertest_spawnregions.lua
file.