Wiki Navigation

Configuration File
XML Format

cfgPlayerSpawnPoints.xml Configuration

Define where players spawn in your DayZ server. Control fresh spawn locations, respawn points, and spawn distribution across the map.

Overview

The cfgPlayerSpawnPoints.xml file controls player spawning behavior. It defines fresh spawn locations for new players, respawn locations after death, and spawn distribution across different map regions using generator bubbles.

File Structure

The file contains <spawn_params> for global settings, <generator_posbubbles> for spawn regions, and <fresh_spawns> for specific spawn points.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<spawnpoints>
    <spawn_params>
        <min_dist_static>400</min_dist_static>
        <min_dist_player>500</min_dist_player>
        <min_dist_infected>50</min_dist_infected>
        <spawn_radius>50</spawn_radius>
    </spawn_params>
    <generator_posbubbles>
        <generator name="CoastalSpawns">
            <pos x="6265.3" z="7783.1" />
            <pos x="6913.6" z="7627.0" />
        </generator>
    </generator_posbubbles>
    <fresh_spawns>
        <spawn x="10340.3" z="1932.4" />
        <spawn x="10441.6" z="2047.5" />
    </fresh_spawns>
</spawnpoints>

Spawn Parameters

min_dist_static integer

Minimum distance in meters from static objects (buildings, structures) for spawning. Prevents players from spawning inside or too close to buildings.

min_dist_player integer

Minimum distance in meters from other players for spawning. Higher values prevent spawn camping and give fresh spawns a safer start.

min_dist_infected integer

Minimum distance in meters from infected (zombies) for spawning. Prevents players from spawning directly into danger.

spawn_radius integer

Radius in meters around spawn points where players can appear. Adds randomization to prevent predictable spawn locations.

Position Parameters

x float

X-coordinate on the map (east-west position). Use DayZ map tools like iZurvive to find accurate coordinates for your desired spawn locations.

z float

Z-coordinate on the map (north-south position). In DayZ, Z represents the horizontal plane position, not height. Y is typically omitted as ground level is automatic.

Spawn Types

Generator Position Bubbles

Defines named regions where players can spawn. Each generator contains multiple positions that form a spawn zone. The server randomly selects from these positions when spawning players in that region.

CoastalSpawns InlandSpawns NorthSpawns

Fresh Spawns

Specific individual points where new players or respawning players will appear. The server randomly selects from these points, applying the spawn_radius for final positioning.

Beach locations Town edges Road intersections

Best Practices

Recommended

  • Distribute spawn points along the coast or in areas appropriate for new players
  • Create enough spawn points to prevent players from repeatedly spawning in the same location
  • Place spawns near basic resources like water pumps and fruit trees
  • Use generator bubbles to create logical spawn regions

Avoid

  • Placing spawn points in high-risk areas or military zones
  • Spawns far from any resources or in the middle of nowhere
  • Too few spawn points which enables spawn camping
  • Coordinates inside buildings or underwater

Example Configuration

Coastal Spawn Region

Multiple spawn points along the southern coast

<generator_posbubbles>
    <generator name="SouthCoast">
        <pos x="2650.5" z="2180.3" />
        <pos x="3420.8" z="2350.1" />
        <pos x="4180.2" z="2420.6" />
        <pos x="5230.9" z="2280.4" />
        <pos x="6150.3" z="2150.8" />
    </generator>
</generator_posbubbles>

Individual Fresh Spawns

Specific spawn points near starter towns

<fresh_spawns>
    <spawn x="10340.3" z="1932.4" />
    <spawn x="10441.6" z="2047.5" />
    <spawn x="10454.0" z="2161.1" />
    <spawn x="10302.1" z="2194.9" />
    <spawn x="10231.7" z="2091.9" />
</fresh_spawns>

Pro Tips

Use iZurvive or similar DayZ map tools to find coordinates. Test each spawn point in-game to ensure players don't spawn inside objects or in dangerous locations. Consider the new player experience when placing spawns - they should have access to basic loot and water within a reasonable distance. For PvP servers, spread spawns widely to reduce spawn killing.