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

Server difficulty does not persist over server restarts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.17
    • None
    • Windows 10 Pro 10.0.21390
      OpenJDK 16.0.1+9-24
    • Confirmed
    • (Unassigned)

      When I execute `/difficulty peaceful` in the console, the difficulty changes but after a server restart it is reset back to easy. I have observed this on the vanilla server JAR as well as on the Spigot server.
      As pointed out by Steve Hsu, it just reads the value set in the server.properties file on each launch. However, this is an inconsistency with the integrated server which saves the value.

            Unassigned Unassigned
            spnda Sean Sean
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: