mojira.dev
BDS-19921

Keep inventory keeps turning off - won't save

I have used keepinventory on my vanilla Minecraft server for about 18 months and it has been set to "true" for most of this time. The latest update seems to have set it to "False" - I have reset it to "true", but every time I restart the server, it sets back to "False". 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't save after a restart.

Server is hosted on Windows 11, fully patched

Linked issues

Comments 24

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!

my server run in Ubuntu Server 20.04,my client is Windows11

can confirm, also happening to me.

The bug is present in Linux. Steps to reproduce:

  1. Download a new server executable.

  2. Start the server with default properties file.

  3. Check game rules with command /gamerule and observe keepInventory is set to false.

  4. set keep inventory using command /gamerule keepInventory true.

  5. Verify game rules are update with command /gamerule and observe keepInventory is now set to true.

  6. Restart server and the keepInventory setting is reverted back to false.

  7. Do same thing with game rule doWeatherCycle and observe that this setting persists through server reboots.

mine has issues as well. hope to get resolved asap

14 more comments

This isn't isolated to a single world and I can replicate this problem on any world I create. That said, this is a link to one of many worlds that I can replicate this problem on:

MinecraftSupport

This is an expiring link that will expire on the 13th February

This issue may only happen if you upgrade the world from old versions to 1.21.50. Worlds created after that version have no problem.

The world uploaded there was created as a fresh 1.21.50 version and has the same problem.

This was also a completely fresh build, not updated.

Thanks for providing a world - would it be possible to share it as a zip file please? (The way it was shared the files cannot be downloaded together.)

Please check now - I have zipped it

james_tw

(Unassigned)

Community Consensus

Retrieved