<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 08:27:23 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-19921] Keep inventory keeps turning off - won&apos;t save</title>
                <link>https://bugs.mojang.com/browse/BDS-19921</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;I have used keepinventory on my vanilla Minecraft server for about 18 months and it has been set to &quot;true&quot; for most of this time. The latest update seems to have set it to &quot;False&quot; - I have reset it to &quot;true&quot;, but every time I restart the server, it sets back to &quot;False&quot;. This is the same whether cheats are enabled, or if I have completely re-copied the files from a new download. I cannot get past this and it seems to only be this one setting that won&apos;t save after a restart.&lt;/p&gt;

&lt;p&gt;Server is hosted on Windows 11, fully patched&lt;/p&gt;</description>
                <environment>Windows based server</environment>
        <key id="574016">BDS-19921</key>
            <summary>Keep inventory keeps turning off - won&apos;t save</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="4" iconUrl="https://bugs.mojang.com/images/icons/statuses/reopened.png" description="This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.">Reopened</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="james_tw">james_tw</reporter>
                        <labels>
                    </labels>
                <created>Sat, 7 Dec 2024 13:52:34 +0100</created>
                <updated>Wed, 8 Jan 2025 01:10:07 +0100</updated>
                                            <version>1.21.50</version>
                                                            <votes>7</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="1373640" author="taborj" created="Wed, 8 Jan 2025 01:06:40 +0100"  >&lt;p&gt;I also see this issue - when you restart BDS, keepInventory is toggled to false, even if no configuration changes are made.&#160; This is...inconvenient, to say the least, and a breaking change from previous behavior (where gamerules were kept between server restarts, even in hard mode).&lt;/p&gt;</comment>
                            <comment id="1373384" author="JIRAUSER798375" created="Sun, 5 Jan 2025 14:30:28 +0100"  >&lt;p&gt;Funnily enough, I&apos;ve tried that and it didn&apos;t seem to work for me, even when I set the file to read only...&lt;/p&gt;</comment>
                            <comment id="1373382" author="JIRAUSER798941" created="Sun, 5 Jan 2025 14:18:21 +0100"  >&lt;p&gt;I found a way to temporarily solve the problem.&lt;/p&gt;

&lt;p&gt;Use NBT editors (Or VS code with NBT viewer add-on) to open the level.dat file in the world folder, set cheatsEnabled to 1 and keepinventory to 1. Then no matter how you turn on or shut down the server, the keepinventory gamerule will not be closed. You can have a try.&lt;/p&gt;</comment>
                            <comment id="1372761" author="JIRAUSER773936" created="Mon, 30 Dec 2024 18:31:12 +0100"  >&lt;p&gt;Same issue here, running bedrock server on Windows. keepinventory is always false when starting the server.&lt;/p&gt;</comment>
                            <comment id="1372242" author="JIRAUSER735549" created="Tue, 24 Dec 2024 21:29:15 +0100"  >&lt;p&gt;Yes. The issue of keep inventory disabling itself on any reboot is happening weather I type the stop command in the server console, or if it closes without typing stop in the server console. Either situation, I have to rerun &apos; /gamerule keepInventory true&apos; whenever the server is restarted. This issue started with v1.21.50 for me and still present on 1.21.51.02&lt;/p&gt;</comment>
                            <comment id="1372230" author="JIRAUSER798375" created="Tue, 24 Dec 2024 17:15:39 +0100"  >&lt;p&gt;I do indeed issue a &quot;stop&quot; command on the server - I ensure that the server is cleanly shut down using this command every time.&lt;/p&gt;

&lt;p&gt;To clarify:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;I start the server&lt;/li&gt;
	&lt;li&gt;Run &quot;gamerule&quot; and keepinventory is turned off&lt;/li&gt;
	&lt;li&gt;Run &quot;gamerule keepinventory true&quot;&lt;/li&gt;
	&lt;li&gt;Run &quot;gamerule&quot; and keepinventory is turned on&lt;/li&gt;
	&lt;li&gt;Stop the server (with the stop command)&lt;/li&gt;
	&lt;li&gt;Start the server&lt;/li&gt;
	&lt;li&gt;Run &quot;gamerule&quot; and keepinventory is turned back off&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This didn&apos;t used to happen until the 1.21.50 update&lt;/p&gt;</comment>
                            <comment id="1372226" author="JIRAUSER798471" created="Tue, 24 Dec 2024 16:58:16 +0100"  >&lt;p&gt;I do not issue a stop command on the server console before stopping the server.&lt;/p&gt;

&lt;p&gt;Note: Full disclosure, I&apos;m running the Linux version, unlike the OP. As reported in other comments, the bug exists in that version too.&lt;/p&gt;</comment>
                            <comment id="1372225" author="JIRAUSER788919" created="Tue, 24 Dec 2024 16:21:50 +0100"  >&lt;p&gt;Hello! Do you stop the server by entering the &quot;Stop&quot; command in the server console?&lt;br/&gt;
&lt;sub&gt;This issue is being temporarily resolved as &lt;font color=&quot;#d04437&quot;&gt;&lt;b&gt;Awaiting Response&lt;/b&gt;&lt;/font&gt;. Once the requested information has been delivered, the report will be reopened automatically.&lt;/sub&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;https://aka.ms/MCBugTrackerHelp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Bug Tracker Guidelines&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://aka.ms/Minecraft-Support&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Mojang Support (Technical Issues)&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://support.xbox.com/contact-us/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Microsoft Support (Account Issues)&lt;/a&gt;&lt;br/&gt;
&#128211; &lt;a href=&quot;https://bugs.mojang.com/projects/BDS/summary&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Project Summary&lt;/a&gt; &amp;#8211; &#9997;&#65039; &lt;a href=&quot;https://aka.ms/MinecraftFeedbackDiscord&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Feedback and Suggestions&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://minecraft.wiki/w/Bedrock_Dedicated_Server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;BDS Wiki&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://help.minecraft.net/hc/articles/4408873961869&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;FAQs&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1372213" author="JIRAUSER735549" created="Tue, 24 Dec 2024 12:36:25 +0100"  >&lt;p&gt;I can confirm this issue is still present in 1.21.51.02 bedrock windows server. I can set the gamerule to true and it will remain set to True, until the server reboots (every morning at 4am for me) then its set to false again. Hopefully there is a fix soon!&lt;/p&gt;</comment>
                            <comment id="1370695" author="JIRAUSER798375" created="Sat, 14 Dec 2024 15:45:15 +0100"  >&lt;p&gt;This remains present in 1.21.51.02 - Same steps as per the linux ones below duplicate the same problem. The problem is still with the gamerule Keepinventory.&lt;/p&gt;</comment>
                            <comment id="1370122" author="JIRAUSER798750" created="Thu, 12 Dec 2024 06:31:20 +0100"  >&lt;p&gt;mine has issues as well. hope to get resolved asap&lt;/p&gt;</comment>
                            <comment id="1369544" author="JIRAUSER798557" created="Mon, 9 Dec 2024 23:03:42 +0100"  >&lt;p&gt;The bug is present in Linux. Steps to reproduce:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Download a new server executable.&lt;/li&gt;
	&lt;li&gt;Start the server with default properties file.&lt;/li&gt;
	&lt;li&gt;Check game rules with command /gamerule and observe keepInventory is set to false.&lt;/li&gt;
	&lt;li&gt;set keep inventory using command /gamerule keepInventory true.&lt;/li&gt;
	&lt;li&gt;Verify game rules are update with command /gamerule and observe keepInventory is now set to true.&lt;/li&gt;
	&lt;li&gt;Restart server and the keepInventory setting is reverted back to false.&lt;/li&gt;
	&lt;li&gt;Do same thing with game rule doWeatherCycle and observe that this setting persists through server reboots.&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="1369202" author="JIRAUSER798397" created="Sat, 7 Dec 2024 19:39:02 +0100"  >&lt;p&gt;can confirm, also happening to me.&lt;/p&gt;</comment>
                            <comment id="1369169" author="JIRAUSER798377" created="Sat, 7 Dec 2024 14:25:25 +0100"  >&lt;p&gt;my server run in Ubuntu Server 20.04&#65292;my client is Windows11&lt;/p&gt;</comment>
                            <comment id="1369168" author="JIRAUSER798377" created="Sat, 7 Dec 2024 14:24:22 +0100"  >&lt;p&gt;Yes! I encountered the same problem as you. My server had no problems with not dropping items when I died in previous versions, but after upgrading to this version, every time I turned on the option of not dropping items when I died, it would be shut down after a few minutes and restarted. This caused me to die many times. I hope to alert the authorities!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="574326">MCPE-189071</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10302"><![CDATA[Community Consensus]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12700" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Description</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>[Briefly describe the bug here]&lt;br/&gt;
&lt;br/&gt;
*Steps to Reproduce:*&lt;br/&gt;
# [Step 1]&lt;br/&gt;
# [Step 2]&lt;br/&gt;
# [Step 3]&lt;br/&gt;
&lt;br/&gt;
*Observed Results:*&lt;br/&gt;
[Describe what happens]&lt;br/&gt;
&lt;br/&gt;
*Expected Results:*&lt;br/&gt;
[Describe what should happen]&lt;br/&gt;
&lt;br/&gt;
*Screenshots/Videos attached:* [please attach an image or short video]&lt;br/&gt;
&lt;br/&gt;
*Notes:*</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i2k93j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>