A.S // Object Spawner

DayZ Console Object Spawner JSON

Object Spawner loads a list of objects when the mission starts. For this console workflow, every entry must use a verified vanilla classname: no model paths, bldr_ classes, custom content or handlers.

Compatibility
PS5 / Xbox / Nitrado
Status
Confirmed mechanism; layout requires testing
Difficulty
Intermediate
Reviewed
06.10.2026
01

Check the layout context

Confirm the target map, coordinates and DayZ version. Keep X/Y/Z values and orientation exactly as exported; a two-dimensional map must not invent the height value.

02

Verify every object

Each name must be a vanilla classname confirmed in current data or an existing working mission. This guide deliberately excludes .p3d paths, bldr_ classes and custom models even where PC documentation mentions them.

03

Validate the JSON file

Check the Objects array, commas, numeric position and orientation values, scale and duplicate entries. Estimate scope from the real object count, but do not promise a specific FPS result.

04

Register the file

Add the JSON filename to objectSpawnersArr in the active cfggameplay.json. Preserve other filenames already registered and ensure gameplay-file loading is enabled.

05

Test and roll back

Restart the server, visit the location and check placement, collisions and server/client stability. Remove the filename from objectSpawnersArr and restore cfggameplay.json to roll back.

A.S // Beginner practice

Create one-object Object Spawner test

One verified vanilla object loaded from a separate JSON file at mission start.

File or panel
Xbox: dayzxb_missions/dayzOffline.<map>/ · PlayStation: dayzps_missions/dayzOffline.<map>/custom/custom-location.json
Outcome
One verified vanilla object loaded from a separate JSON file at mission start.

Step-by-step

  1. Create a custom folder in the active mission if it does not exist.
  2. Start with one object and coordinates from the correct map; verify the classname in current vanilla data.
  3. Save valid JSON without comments, then register the file in WorldsData.objectSpawnersArr.
  4. Restart and inspect placement, collision and console/server stability before adding more objects.
JSON

Official Object Spawner shape with a vanilla class

custom/custom-location.json

Confirmation: Structure and Land_Wall_Gate_FenR classname are present in the official example. Coordinates are an example and must match your map.

Exact placement: Save as a separate file, then add custom/custom-location.json to objectSpawnersArr.

{
  "Objects": [
    {
      "name": "Land_Wall_Gate_FenR",
      "pos": [8406.501953125, 107.73682403564453, 12782.3388671875],
      "ypr": [0.0, 0.0, 0.0],
      "scale": 1.0
    }
  ]
}

What every variable controls

VariableTypeWhat it changesHow to set it
ObjectsarrayAll object entries loaded from this file.Begin with one entry and add objects in small batches after a successful test.
namestringVanilla class to spawn.Use a class confirmed in current vanilla data. This console project rejects bldr_, .p3d paths and custom classes.
pos[0]float XEast/west world coordinate.Copy X from a coordinate source for the active map.
pos[1]float YHeight coordinate.Do not guess it from a 2D map; use exported/tested height and verify in game.
pos[2]float ZNorth/south world coordinate.Copy Z from the same map source as X.
ypr3-number vectorYaw, pitch and roll in degrees.Change the first number for horizontal rotation; keep pitch/roll at 0 until needed.
scalefloatSize multiplier for the original object.Use 1.0 first. Non-default scale requires collision and visual testing.
Test

After a full restart

Restart, travel to the coordinates and check ground contact, orientation, collision and client performance.

Rollback

Return to the working state

Remove the filename from objectSpawnersArr, restore cfggameplay.json and restart. The placed object will no longer be created by this file.

FAQ

Questions and answers

Can Object Spawner create custom models?

Not in this console guide. Use only verified vanilla classnames.

Do placed objects create new NavMesh?

No. Do not assume infected or animals can navigate inside a custom structure.

Does a valid JSON guarantee good performance?

No. Object count, selected objects, placement and player activity still require a console server test.

SOURCE CHECK

Official sources

Checked 6 October 2026

  1. Bohemia Interactive: Object Spawner ↗
  2. Bohemia Interactive: Gameplay Settings ↗