Skip to main content

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.

note

The example used below is based on the Muldraugh large warehouse.

tip

Please ensure you replace the example coordinates and filenames with the actual ones relevant to your server setup.

Forced Spawning

  1. Open your browser and visit http://pzmap.crash-override.net.

  2. On the website, click Lock Coords and select your desired spawn location. For this example, I'm using:

    • Coords: 10629x9312
    • Cell: 35x31
    • Rel: 129x12
  3. In your game server's Zomboid\Server directory, open the servertest.ini file.

  4. Find the line that says SpawnPoint=0,0,0 and replace it with SpawnPoint=10629,9312,0 (using the coordinates from step 2).

  5. Save the servertest.ini file.

Custom Choice Spawning

  1. Download the servertest_spawnpoints.lua file from your game server's Zomboid\Server directory to your PC.

  2. Make a copy of servertest_spawnpoints.lua and rename it to servertest_warehouse.lua.

  3. Open servertest_warehouse.lua and modify the worldX, worldY, posX, and posY 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 }
  4. Save the servertest_warehouse.lua file.

  5. Upload the modified servertest_warehouse.lua to your game server's Zomboid\Server directory.

  6. Next, edit the servertest_spawnregions.lua file in the same directory.

  7. 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.

  8. Add a new line after the Twiggy's Bar line:

{ name = "Muldraugh Large Warehouse", serverfile = "servertest_warehouse.lua" },
  1. Save the servertest_spawnregions.lua file.