Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
1337alec

How Do I Set a Starting Loadout for Certain Players?

Recommended Posts

I purchased a server from Dayz.st recently and I have noticed that on other servers you can donate to the server and then you can start with certain items. I was wondering how to do this. I can only figure out how to set a starting loadout for everyone that joins the server.

Share this post


Link to post
Share on other sites

You will have to enter the survivor table of your database and edit their inventory field. Either ask the player for their player ID or work it out from your logs.

You will need to enter their new inventory in SQL code, for e.g...

[["Binocular_Vector","ItemGPS","ItemToolbox","NVGoggles","M4A1_AIM_SD_camo","M9SD","ItemMap","ItemWatch","ItemFlashlightRed","ItemKnife","ItemMatchbox"],["30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemBandage","ItemBandage","ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemMorphine"]]

Make sure the player is offline when you update their inventory, otherwise them logging out will override your work.

Edited by -Panda

Share this post


Link to post
Share on other sites

There is also a field for their backpack and it follows a slightly different model in which you state the quantity of the item at the end in order relative to the order in which you enter the items...

For e.g.

["DZ_Backpack_EP1",[[],[]],[["ItemPainkiller","ItemMorphine","ItemBloodbag","FoodSteakCooked","ItemSodaCoke","ItemWaterbottle"],[3,3,3,4,3,1]]]

That would give, 3 painkillers, 3 morphine, 3 bloodbags, 4 steak, 3 coke, 1 waterbottle

:beans: :beans: :beans:

Edited by -Panda

Share this post


Link to post
Share on other sites
Sign in to follow this  

×