The cfgPlayerSpawnPoints.xml file defines where players can spawn in your DayZ server.
The cfgPlayerSpawnPoints.xml file is used to define where players can spawn in your DayZ server. This file controls:
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>
Minimum distance from static objects for spawning.
Minimum distance from other players for spawning.
Radius around spawn points where players can appear.
X-coordinate on the map.
Z-coordinate on the map (equivalent to Y in other coordinate systems).
The cfgPlayerSpawnPoints.xml file supports different types of spawn configurations:
The server will randomly select from these spawn points when placing players in the world.
When configuring player spawn points, consider the following best practices:
For more information about player spawning and server configuration, join our Discord community for assistance.