[BDS-19921] Keep inventory keeps turning off - won't save Created: 07/Dec/24 Updated: 08/Jan/25 |
|
| Status: | Reopened |
| Project: | Bedrock Dedicated Server |
| Affects Version/s: | 1.21.50 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | james_tw | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 7 |
| Labels: | None | ||
| Environment: |
Windows based server |
||
| Issue Links: |
|
||||||||
| Confirmation Status: | Community Consensus | ||||||||
| Description |
|
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 |
| Comments |
| Comment by Jon Tabor [ 08/Jan/25 ] |
|
I also see this issue - when you restart BDS, keepInventory is toggled to false, even if no configuration changes are made. 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). |
| Comment by james_tw [ 05/Jan/25 ] |
|
Funnily enough, I've tried that and it didn't seem to work for me, even when I set the file to read only... |
| Comment by Zheteng123123 [ 05/Jan/25 ] |
|
I found a way to temporarily solve the problem. 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. |
| Comment by gabknight [ 30/Dec/24 ] |
|
Same issue here, running bedrock server on Windows. keepinventory is always false when starting the server. |
| Comment by Hippie459MN [ 24/Dec/24 ] |
|
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 ' /gamerule keepInventory true' whenever the server is restarted. This issue started with v1.21.50 for me and still present on 1.21.51.02 |
| Comment by james_tw [ 24/Dec/24 ] |
|
I do indeed issue a "stop" command on the server - I ensure that the server is cleanly shut down using this command every time. To clarify:
This didn't used to happen until the 1.21.50 update |
| Comment by mattcaron [ 24/Dec/24 ] |
|
I do not issue a stop command on the server console before stopping the server. Note: Full disclosure, I'm running the Linux version, unlike the OP. As reported in other comments, the bug exists in that version too. |
| Comment by [MCQA] v-krbaj [ 24/Dec/24 ] |
|
Hello! Do you stop the server by entering the "Stop" command in the server console? Quick Links: |
| Comment by Hippie459MN [ 24/Dec/24 ] |
|
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! |
| Comment by james_tw [ 14/Dec/24 ] |
|
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. |
| Comment by ktg004 [ 12/Dec/24 ] |
|
mine has issues as well. hope to get resolved asap |
| Comment by erzeitz [ 09/Dec/24 ] |
|
The bug is present in Linux. Steps to reproduce:
|
| Comment by Vasik96 [ 07/Dec/24 ] |
|
can confirm, also happening to me. |
| Comment by yunyize [ 07/Dec/24 ] |
|
my server run in Ubuntu Server 20.04,my client is Windows11 |
| Comment by yunyize [ 07/Dec/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! |