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.
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.
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.
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.
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.
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.
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
- Create a custom folder in the active mission if it does not exist.
- Start with one object and coordinates from the correct map; verify the classname in current vanilla data.
- Save valid JSON without comments, then register the file in WorldsData.objectSpawnersArr.
- Restart and inspect placement, collision and console/server stability before adding more objects.
Official Object Spawner shape with a vanilla class
custom/custom-location.jsonConfirmation: 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
| Variable | Type | What it changes | How to set it |
|---|---|---|---|
Objects | array | All object entries loaded from this file. | Begin with one entry and add objects in small batches after a successful test. |
name | string | Vanilla class to spawn. | Use a class confirmed in current vanilla data. This console project rejects bldr_, .p3d paths and custom classes. |
pos[0] | float X | East/west world coordinate. | Copy X from a coordinate source for the active map. |
pos[1] | float Y | Height coordinate. | Do not guess it from a 2D map; use exported/tested height and verify in game. |
pos[2] | float Z | North/south world coordinate. | Copy Z from the same map source as X. |
ypr | 3-number vector | Yaw, pitch and roll in degrees. | Change the first number for horizontal rotation; keep pitch/roll at 0 until needed. |
scale | float | Size multiplier for the original object. | Use 1.0 first. Non-default scale requires collision and visual testing. |
After a full restart
Restart, travel to the coordinates and check ground contact, orientation, collision and client performance.
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.
Tools for this guide
Open the matching wizard and the site will select the tool for this configuration.
Object Spawner
Move, merge, split and clean Object Spawner JSON.
JSON converters
Convert supported JSON and map group formats.
Coordinate map
Check positions before exporting map-based changes.
If you are not signed in, the site returns you to the selected tool after sign-in.
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.
Official sources
Checked 6 October 2026