How to configure the starting items on a DayZ server


Summary 
DayZ's start is notoriously tricky, as players must acquire new items from scratch to build their load-outs. Optionally, server administrators can set a series of items as starting equipment so every new character will spawn with the designated items in their inventory. In addition to setting starting items, administrators can also adjust the Loot Spawns for the server, this allows them to fine-tune the exact experience they want for their server by making specific loot more or less common.

How to Configure the Starting Items on a DayZ Server
1. Log in to the BisectHosting Games panel.

2. Stop the server.


3. Go to the Files tab.


4. Find the following directory: /home/container/mpmissions/dayzOffline.chernarusplus .


5. Open the init.c file for editing.


6. Navigate to the following section on Line 84.


7. Press Enter to make a new line before the bracket (}) and paste the following template:
player.GetInventory().CreateInInventory("ItemID");


8. Item IDs can be found here. To add multiple items, add another line.


9. Once finished editing, choose Save Content.


10. Start the server.



Was this answer helpful?

0
« Back