Wiki Navigation

cfgPlayerSpawnPoints.xml Configuration

The cfgPlayerSpawnPoints.xml file defines where players can spawn in your DayZ server.

Overview

The cfgPlayerSpawnPoints.xml file is used to define where players can spawn in your DayZ server. This file controls:

  • Fresh spawn locations for new players
  • Respawn locations after death
  • Distribution of spawn points across the map

File Structure

The cfgPlayerSpawnPoints.xml file consists of <generator> and <spawn> elements:

<?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>
        <min_dist_zombie>50</min_dist_zombie>
        <spawn_time>5</spawn_time>
        <spawn_radius>50</spawn_radius>
    </spawn_params>
    <generator_posbubbles>
        <generator name="SouthZagoria">
            <pos x="6265.3" z="7783.1" />
            <pos x="6913.6" z="7627.0" />
            <pos x="7466.8" z="6686.5" />
            <pos x="8296.8" z="6112.9" />
            <pos x="8595.2" z="5557.7" />
        </generator>
        <generator name="NorthZagoria">
            <pos x="8595.2" z="5557.7" />
            <pos x="9319.1" z="4761.9" />
            <pos x="10113.0" z="5101.9" />
            <pos x="11755.0" z="6068.2" />
            <pos x="12136.0" z="6787.0" />
        </generator>
    </generator_posbubbles>
    <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>
</spawnpoints>

Spawn Parameters

min_dist_static integer

Minimum distance from static objects for spawning.

min_dist_player integer

Minimum distance from other players for spawning.

spawn_radius integer

Radius around spawn points where players can appear.

Position Parameters

x float

X-coordinate on the map.

z float

Z-coordinate on the map (equivalent to Y in other coordinate systems).

Spawn Types

The cfgPlayerSpawnPoints.xml file supports different types of spawn configurations:

  • generator_posbubbles: Defines areas where players can spawn, with multiple positions within each generator
  • fresh_spawns: Specific points where new players or respawning players will appear

The server will randomly select from these spawn points when placing players in the world.

Best Practices

When configuring player spawn points, consider the following best practices:

  • Distribute spawn points along the coast or in areas appropriate for new players
  • Avoid placing spawn points in high-risk areas or far from basic resources
  • Create enough spawn points to prevent players from repeatedly spawning in the same location
  • Consider the gameplay experience when placing spawn points - they should provide a fair starting point

Need Help?

For more information about player spawning and server configuration, join our Discord community for assistance.