Uploaded image for project: 'Minecraft Realms'
  1. Minecraft Realms
  2. REALMS-11365

After a realm is empty for two minutes settings return to default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19.83 (Bedrock), 1.20.0 (Bedrock)
    • None
    • Unconfirmed
    • Bedrock

       

      Procedure: upload a realm that is setup with commandblocksenabled false

      Change re enable commandblocks

      Leave the realm

      Wait 2 minutes

      Join back

      Expected Result: commands should continue functioning because thats what you told the server to do

      observed result: commands turn themselves off and must be re-enabled with either a chat command or an npc

      Context and info:

      i play on xbox one and the owner also plays on xbox but im not sure which one

      why i think im right/story:

      I'm an admin on a friends realm and we were having an issue where commandblocks were being disabled seemingly at random i eventually determined it was happening after the server became empty for exactly two minutes (or more) by timing it in game and on my phone i systematically determined that it was not sabotage by disabling all ticking areas and checking for bots joining to disable command blocks, i then realized that recently the owner had reuploaded the world with cmds disabled and i realized that it started happening after that, upon downloading the world changing the settings to be correct and reuploading it the problem went away i realized that other settings that had been getting reset in the past like commandblockblockoutput and mobgreifing were likely caused by the same issue.

      If i am right this is an incredibly serious issue not just because it debilitated our server for 4 days, but randomly changing gamerules can cause serious issues we had gotten lucky that in the past all of the gamerules could be automatically set up using repeat command blocks commandblocks enabled cant however which is why it was so serious 

       

      Wild speculation: after a server is empty for more than 2 minutes it becomes idle and strategically forgets some information that isnt important for simulating the server if no one is online, when this happens the server when asking itself about what settings it should have asks a file that is stored separately from the settings file that is used when the server isnt idle. now ordinarily the idle file should be updated when someone updates the gamerules however if the change isnt copied over for some reason then after it goes idle the idle file will still only contain the information that was in it when it was uploaded because none of the data was copied to it. Thus the game forgets that commandblocksenabled was set to true because that fact was never stored.

      Again i fully expect im at least 70% wrong with my explanation but i had to tell some1

      Also im fairly certain this is similar to the issue someone else reported of difficulties being reset but this is broader and more accurate to the real situation 

            Unassigned Unassigned
            Killablivin Jeff bezos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: