Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-26781

Minecraft makes changes to server configs on startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 13w38c, Minecraft 1.7.2, Minecraft 13w48b, Minecraft 1.7.4, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.8, Minecraft 1.8.1-pre3
    • None
    • Confirmed

      I manage a chef cookbook for deploying minecraft servers. Minecraft currently edits servers.properties, banned-ips.txt, banned-players.txt on each startup. This causes problems for people using configuration management tools to deploy their minecraft server.

      The way these tools work generally is if you have changes to your templates, in this case the configuration files named above, the server will restart. If you do not have any changes the server has no reason to restart.

      Since minecraft rewrites the files managed (possibly others as well) each startup, my cookbook readjusts the files each time to match the templates I have defined, so every run requires a restart to the server.

      Is there a reason why minecraft has to edit these configuration files each startup, adding timestamps and adjusting the order of the settings?

            Unassigned Unassigned
            gregf Greg Fitzgerald
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: