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

JustTubbs

Types.xml - Gardenplot

Recommended Posts

How come disabling type, GardenPlot does not do anything? You can still make plots as normal  

<!-- <type name="GardenPlot">
        <nominal>0</nominal>
        <lifetime>1</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
        <category name="tools"/>
    </type> -->

Share this post


Link to post
Share on other sites
6 hours ago, JustTubbs said:

How come disabling type, GardenPlot does not do anything? You can still make plots as normal  

<!-- <type name="GardenPlot">
        <nominal>0</nominal>
        <lifetime>1</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
        <category name="tools"/>
    </type> -->

The problem is not only in the types.xml, the trouble is the Server's database. Any GardenPlot that was created by the player would be saved inside the database in dynamic_xxx.bin, and no way to remove item from there. So tye way how you can remove it:

Don't comment item in types.xml - in that case would be assigned the default values to the item based on defaults of database and might use the unknown lifetime value; instead of this - you shall remove the comment section (save the item in types.xml) and set lifetime to 0; (I consider that you will done it while your server is down) and then remove the file types.bin from server's database folder (that will cause the server regenerate types table and sync it with current version of types.xml); after you'll done that item would be removed from database (simply you had been disabled the saving of that class) and from the game (at least items spawn system) when player leaves the area of that item (get away from it for about 2 or 3 km).

Share this post


Link to post
Share on other sites

×