20% OFF

Your first invoice with coupon code TAKE20
GGServers Facebook GGServers Twitter GGServers YouTube GGServers Discord GGServers Instagram GGServers TikTok GGServers Reddit
  1. Home
  2. DayZ
  3. How to Configure Starting Items on your DayZ Server
  1. Home
  2. Pterodactyl
  3. How to Configure Starting Items on your DayZ Server
  1. Home
  2. Game Servers
  3. How to Configure Starting Items on your DayZ Server

How to Configure Starting Items on your DayZ Server

General info

Learn how to configure custom starting gear for players on your DayZ server. This guide walks you through editing the init.c file, setting up loadouts, and customizing spawn items for a personalized gameplay experience.
You can also learn how to change the loot spawns by checking our guide here.

Configuring Starting items

  • Click “Files” on the left side menu
  • Access the following directory:
    /home/container/mpmissions/dayzOffline.chernarusplus 

    IMPORTANT: If you are using a different map, please access that instead of dayzOffline.chernarusplus
  • Search and click on init.c file to edit it
  • Navigate to line 84. SetRandomHealth( itemEnt ); should be displayed.
  • Click after “;” an press enter to create a new line
  • Paste player.GetInventory().CreateInInventory("ItemID"); on the new line
  • Replace the "itemID" with the ID of the item you want. You can find item IDs here

    Make sure you keep the quotation marks.
  • To add a new item, simply add a new line and change the ItemID.
    Example Below:
  • Once you have added all the necessary items, click on Save Content and start the server

FAQ

  • Do I need to stop the server before editing init.c?
    Yes, always stop your server from the control panel before editing any files to prevent data corruption or lost changes.
  • Where do I find item IDs for DayZ?
    You can find them in our DayZ Item IDs article, organized by category for easy reference.
  • Can I add modded items to the starting loadout?
    Yes, as long as the mod is installed and running on your server, you can use its item IDs in the same way.
  • Will changes to init.c affect current players?
    No, changes to starting gear only affect new players who spawn after the update is saved and the server is restarted.
  • What happens if I use an incorrect item ID?
    The item will not spawn, and the player may experience issues at spawn. Always double-check IDs and keep quotation marks intact.
  • Can I give players weapons and ammo on spawn?
    Yes, you can add any valid item ID, including weapons, magazines, and attachments, using the same method.

Need Help?

If you have any questions, run into issues, or need further assistance, our team is here to help. Feel free to reach out to us via live chat or a support ticket—we offer 24/7 support to ensure you’re always covered.

Updated on June 9, 2025

Article Attachments

Was this article helpful?

Related Articles

Leave a Comment

CAPTCHA ImageChange Image