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

Minecraft server requires "name" field in whitelist.json but ignores it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 1.16.4, 1.21 Release Candidate 1, 1.21
    • None
    • Confirmed
    • Dedicated Server

      Minecraft servers require both the uuid and name fields, despite the name field having no affect over the whitelist. If the name field is missing, the server will ignore the whitelist and the allowed {{uuid}}s entirely.

      Steps to Reproduce:

      1. Start a vanilla server in the latest version
      2. Enter the following into the whitelist.json file:
        (changing the uuid to your own account's)
        [
          {
            "uuid": "*[UUID]*"
          }
        ]
        
      3. Restart the server
      4. Try and join with an account that is not whitelisted

      Expected & Observed Result:

      The un-whitelisted account can join the server, despite not being included in whitelist.json.

      Screenshots/Videos:

            Unassigned Unassigned
            Jingy [Mod] Jiingy
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: