Skip to main content

How to Change Player Spawn Gear on Your DayZ Server

1. Log In to Your Panel


2. Stop Your Server


3. Select the ‘Files’ Tab

cybrancee panel dayz files page outlined

4. Locate the init.c file

You can find it here:

/mpmissions/DayZOffline.[map]/init.c

dayz with init.c file path outlined

5. Create a Backup (Recommended)

Before making any changes, download or duplicate init.c.

Script errors can prevent the server from starting.


6. Edit Starting Items in init.c

Open the init.c file and locate the function responsible for player setup (commonly StartingEquipSetup).

Inside this function, you will see several item creation blocks that end with the following line:

SetRandomHealth( itemEnt );

To add new items to the player’s starting inventory, place your new lines directly below this line (around line 84 on vanilla maps).

Use the following format:

player.GetInventory().CreateInInventory("ItemClassName");

Each line creates one item in the player’s inventory when a new character is generated.

dayz init.c file with settings outlined

7. Save the File

Select the ‘Save Content‘ button.


8. Start Your Server

After restarting, all newly created characters will receive the updated spawn gear.

Cybrancee Panel dayZ start Server With start button outlined

DayZ Server Hosting

Starts at $14.99

External link icon

Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents