{"id":16328,"date":"2025-06-09T13:54:49","date_gmt":"2025-06-09T13:54:49","guid":{"rendered":"https:\/\/ggservers.com\/knowledgebase\/?post_type=ht_kb&#038;p=16328"},"modified":"2025-06-29T15:57:32","modified_gmt":"2025-06-29T15:57:32","slug":"how-to-configure-starting-items-on-your-dayz-server","status":"publish","type":"ht_kb","link":"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-configure-starting-items-on-your-dayz-server\/","title":{"rendered":"How to Configure Starting Items on your DayZ Server"},"content":{"rendered":"\n<h2 class=\"wp-block-heading has-text-align-center\">General info<\/h2>\n\n\n\n<p>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.<br>You can also learn how to change the loot spawns by checking our <a href=\"https:\/\/ggservers.com\/knowledgebase\/article\/how-to-change-the-loot-spawns-on-your-dayz-server\/\">guide here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">Configuring Starting items<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>First, stop the server from your <a href=\"http:\/\/panel.ggservers.com\" data-type=\"link\" data-id=\"panel.ggserver.scom\">control panel<\/a><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"530\" height=\"177\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/StopServer-7.jpg\" alt=\"\" class=\"wp-image-16678\" srcset=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/StopServer-7.jpg 530w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/StopServer-7-300x100.jpg 300w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/StopServer-7-50x17.jpg 50w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/StopServer-7-60x20.jpg 60w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/StopServer-7-100x33.jpg 100w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click &#8220;Files&#8221; on the left side menu<\/li>\n\n\n\n<li id=\"htoc-access-the-following-directory-home-container-mpmissions-dayzoffline-chernarusplus-db-important-if-you-are-using-a-different-map-please-access-that-instead-of-dayzoffline-chernarusplus\">Access the following directory:<br><code>\/home\/container\/mpmissions\/dayzOffline.chernarusplus<\/code>&nbsp;<br><br><strong>IMPORTANT: If you are using a different map, please access that instead of <\/strong><code>dayzOffline.chernarusplus<\/code><br><\/li>\n\n\n\n<li>Search and click on <code>init.c<\/code> file to edit it<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"249\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/init.c-1024x249.jpg\" alt=\"\" class=\"wp-image-16330\" srcset=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/init.c-1024x249.jpg 1024w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/init.c-300x73.jpg 300w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/init.c-768x186.jpg 768w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/init.c-50x12.jpg 50w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/init.c-60x15.jpg 60w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/init.c-100x24.jpg 100w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/init.c.jpg 1059w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to line 84. <code>SetRandomHealth( itemEnt );<\/code> should be displayed.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"355\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/Line84SetRandomHealth-1024x355.jpg\" alt=\"\" class=\"wp-image-16334\" srcset=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/Line84SetRandomHealth-1024x355.jpg 1024w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/Line84SetRandomHealth-300x104.jpg 300w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/Line84SetRandomHealth-768x266.jpg 768w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/Line84SetRandomHealth-50x17.jpg 50w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/Line84SetRandomHealth-60x21.jpg 60w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/Line84SetRandomHealth-100x35.jpg 100w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/Line84SetRandomHealth.jpg 1070w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click after &#8220;<code>;<\/code>&#8221; an press enter to create a new line<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"910\" height=\"239\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/CreateNewLine.jpg\" alt=\"\" class=\"wp-image-16335\" srcset=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/CreateNewLine.jpg 910w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/CreateNewLine-300x79.jpg 300w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/CreateNewLine-768x202.jpg 768w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/CreateNewLine-50x13.jpg 50w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/CreateNewLine-60x16.jpg 60w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/CreateNewLine-100x26.jpg 100w\" sizes=\"auto, (max-width: 910px) 100vw, 910px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Paste <code>player.GetInventory().CreateInInventory(\"ItemID\");<\/code> on the new line<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"234\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/AddItem.jpg\" alt=\"\" class=\"wp-image-16336\" srcset=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/AddItem.jpg 980w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/AddItem-300x72.jpg 300w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/AddItem-768x183.jpg 768w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/AddItem-50x12.jpg 50w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/AddItem-60x14.jpg 60w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/AddItem-100x24.jpg 100w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Replace the <code>\"itemID\"<\/code> with the ID of the item you want. <strong>You can find item IDs here<\/strong><br><br>            Make sure you keep the quotation marks.<\/li>\n\n\n\n<li>To add a new item, simply add a new line and change the ItemID. <br><strong>Example Below:<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"962\" height=\"329\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/DayZStartingItems.jpg\" alt=\"\" class=\"wp-image-16337\" srcset=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/DayZStartingItems.jpg 962w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/DayZStartingItems-300x103.jpg 300w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/DayZStartingItems-768x263.jpg 768w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/DayZStartingItems-50x17.jpg 50w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/DayZStartingItems-60x21.jpg 60w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/DayZStartingItems-100x34.jpg 100w\" sizes=\"auto, (max-width: 962px) 100vw, 962px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once you have added all the necessary items, click on <code>Save Content<\/code> and start the server<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"429\" src=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/SaveContent-1024x429.jpg\" alt=\"\" class=\"wp-image-16338\" srcset=\"https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/SaveContent-1024x429.jpg 1024w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/SaveContent-300x126.jpg 300w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/SaveContent-768x321.jpg 768w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/SaveContent-50x21.jpg 50w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/SaveContent-60x25.jpg 60w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/SaveContent-100x42.jpg 100w, https:\/\/ggservers.com\/knowledgebase\/wp-content\/uploads\/2025\/06\/SaveContent.jpg 1503w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">FAQ<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Do I need to stop the server before editing init.c?<\/strong><br>Yes, always stop your server from the control panel before editing any files to prevent data corruption or lost changes.<\/li>\n\n\n\n<li><strong>Where do I find item IDs for DayZ?<\/strong><br>You can find them in our DayZ Item IDs article, organized by category for easy reference.<\/li>\n\n\n\n<li><strong>Can I add modded items to the starting loadout?<\/strong><br>Yes, as long as the mod is installed and running on your server, you can use its item IDs in the same way.<\/li>\n\n\n\n<li><strong>Will changes to init.c affect current players?<\/strong><br>No, changes to starting gear only affect new players who spawn after the update is saved and the server is restarted.<\/li>\n\n\n\n<li><strong>What happens if I use an incorrect item ID?<\/strong><br>The item will not spawn, and the player may experience issues at spawn. Always double-check IDs and keep quotation marks intact.<\/li>\n\n\n\n<li><strong>Can I give players weapons and ammo on spawn?<\/strong><br>Yes, you can add any valid item ID, including weapons, magazines, and attachments, using the same method.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-center\">Need Help?<\/h2>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">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 <strong><a href=\"https:\/\/ggservers.com\/\" data-type=\"link\" data-id=\"https:\/\/ggservers.com\/\">live chat<\/a><\/strong> or a <strong><a href=\"https:\/\/ggservers.com\/billing\/submitticket.php\">support ticket<\/a><\/strong>\u2014we offer <strong>24\/7 support<\/strong> to ensure you\u2019re always covered.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;.<\/p>\n","protected":false},"author":4,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"ht-kb-category":[1774,28,36],"ht-kb-tag":[2508,3031,2532,3098,3097,3093,3104,3089,3032,3028,3025,3096,3101,3090,3103,3094,3102,3100,3091,3105,2872,3095,3030,3092,3099],"class_list":["post-16328","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-dayz","ht_kb_category-pterodactyl","ht_kb_category-gameservers","ht_kb_tag-dayz","ht_kb_tag-dayz-add-items","ht_kb_tag-dayz-admin-tools","ht_kb_tag-dayz-beginner-gear-config","ht_kb_tag-dayz-configure-init-c","ht_kb_tag-dayz-custom-spawn-gear","ht_kb_tag-dayz-default-gear-setup","ht_kb_tag-dayz-give-weapon-on-spawn","ht_kb_tag-dayz-item-id","ht_kb_tag-dayz-item-list","ht_kb_tag-dayz-items","ht_kb_tag-dayz-loadout-configuration","ht_kb_tag-dayz-loot-setup","ht_kb_tag-dayz-modded-items-on-spawn","ht_kb_tag-dayz-player-inventory-script","ht_kb_tag-dayz-script-edit-init-c","ht_kb_tag-dayz-server-init-c","ht_kb_tag-dayz-server-mod-items","ht_kb_tag-dayz-server-setup-guide","ht_kb_tag-dayz-set-spawn-gear","ht_kb_tag-dayz-spawn-items","ht_kb_tag-dayz-spawn-with-items","ht_kb_tag-dayz-starting-items","ht_kb_tag-dayz-starting-loadout","ht_kb_tag-dayz-survival-server-config"],"acf":[],"_links":{"self":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/16328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=16328"}],"version-history":[{"count":6,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/16328\/revisions"}],"predecessor-version":[{"id":16679,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/16328\/revisions\/16679"}],"wp:attachment":[{"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=16328"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=16328"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ggservers.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=16328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}