{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "538692",
   "self": "https://bugs.mojang.com/rest/api/2/issue/538692",
   "key": "BDS-18536",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "4",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10300",
         "value": "Unconfirmed",
         "id": "10300",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2024-05-14T19:14:07.000+0300",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-18536/watchers",
         "watchCount": 3,
         "isWatching": false
      },
      "created": "2023-07-13T04:18:32.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "21529"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2024-05-14T19:14:07.000+0300",
      "status": "5",
      "description": "I have a hosted BDS server and I have players whitelist/allowlisted within the alllowlist.json file, but the issue I'm seeing is if the don't have their XUID within the file they are unable to connect to the server.\u00a0 Usually, to my knowledge, the allowlist.json auto-populates the XUID information after the first connection made by the player without that in the file.\u00a0 This isn't happening because it tells them they are not invited and blocks that connection.\r\n\r\nMicrosoft/Xbox gamertags are correct and cased correctly, so that's not the issue.\u00a0 It was doing it to me in testing with correct casing.",
      "customfield_11100": 0.0,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": "[Briefly describe the bug here]\r\n\r\n*Steps to Reproduce:*\r\n# [Step 1]\r\n# [Step 2]\r\n# [Step 3]\r\n\r\n*Observed Results:*\r\n[Describe what happens]\r\n\r\n*Expected Results:*\r\n[Describe what should happen]\r\n\r\n*Screenshots/Videos attached:* [please attach an image or short video]\r\n\r\n*Notes:*",
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [],
      "summary": "Not invited to play on server, but on the allowlist.json",
      "creator": "JIRAUSER758519",
      "reporter": "JIRAUSER758519",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i2eb2v:",
      "environment": null,
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1268666",
               "id": "1268666",
               "author": "JIRAUSER648376",
               "body": "Hi\r\n\r\nCan they connect when you add them via \"whitelist add Gamertag\" server console command?\r\n\r\nThis ticket will automatically reopen when you reply.",
               "updateAuthor": "JIRAUSER648376",
               "created": "2023-07-13T11:59:47.776+0300",
               "updated": "2023-07-13T11:59:47.776+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1269098",
               "id": "1269098",
               "author": "JIRAUSER758519",
               "body": "They cannot.  If I add someone fresh they get the \"not invited to play\" message.  However, when I add their XUID manually, they are able to connect without issue.  Seems like whatever gathers the XUID information upon the users first connect, isn't and preventing the user from joining with that message.",
               "updateAuthor": "JIRAUSER758519",
               "created": "2023-07-15T03:31:13.841+0300",
               "updated": "2023-07-15T03:31:13.841+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1269173",
               "id": "1269173",
               "author": "JIRAUSER758519",
               "body": "Just had it happen again.  Let one without an XUID within the allowlist.json stay since they were off for a few weeks and before this update it would have allowed them on and then added their XUID into that file, but it said they weren't invited and never added their XUID.  I then pulled there XUID # from a website, added it to the allowlist.json into the file and it allows them to connect without issue.",
               "updateAuthor": "JIRAUSER758519",
               "created": "2023-07-15T15:30:46.805+0300",
               "updated": "2023-07-15T15:59:08.629+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1269175",
               "id": "1269175",
               "author": "JIRAUSER758519",
               "body": "Guess for replication, add a user through the console and have they try to connect, it will tell them that they are not invited, even know Xbox Gamertag is correctly put and cased as it needed for be.\r\n\r\nFor example, my Xbox gamertag is \"IRL Dave\" so I'll so whitelist add \"IRL Dave\" (since I have a space in my name I need to use quotes), it will add the line {\"ignoresPlayerLimit\":false,\"name\":\"IRL Dave\"}, to the allowlist.json.  When I try to connect, I'm not invited.  Manually update the allowlist.json to include my XUID to appear like this: {\"ignoresPlayerLimit\":false,\"name\":\"IRL Dave\",\"xuid\":\"2535458138542642\"}, on that line, and I'm able to connect without issue.\r\n\r\nSo somewhere in that Online mode player authentication, where it would usually add the XUID, it is not, and in turn it is blocking their connection by saying they are not invite to play, until their XUID is manually put it.",
               "updateAuthor": "JIRAUSER758519",
               "created": "2023-07-15T16:04:33.594+0300",
               "updated": "2023-07-15T16:04:33.594+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1269356",
               "id": "1269356",
               "author": "silentwisperer",
               "body": "can confirm for 1.20.11. Severely affecting our servers where we have hundreds of people whitelisted.\r\neven if a player is the ONLY thing in the whitelist file they cannot join. It's seriously busted.\r\nif they are in the file and can't connect you need to make sure their xuid is there and/or remove from whitelist using the console command \"whitelist remove name\" then \"whitelist add name\" and sometimes that'll work.",
               "updateAuthor": "silentwisperer",
               "created": "2023-07-17T02:03:07.430+0300",
               "updated": "2023-07-17T02:03:07.430+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1269387",
               "id": "1269387",
               "author": "darengin",
               "body": "Adding to this. This happened yesterday on a server I help to admin. Confirming that XUIDs need adding to the allowlist. Furthermore, even with the XUIDs added, players were still receiving \u201cNot invited to the server\u201d until the allowlist.json was flattened and the XUIDs were made a string.\r\n\r\n\u00a0\r\n\r\n\u00a0\r\n\r\nFor additional information, the server I help to admin uses Nodecraft for server hosting.",
               "updateAuthor": "darengin",
               "created": "2023-07-17T05:23:21.806+0300",
               "updated": "2023-07-17T05:45:35.621+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1269388",
               "id": "1269388",
               "author": "JIRAUSER758519",
               "body": "This only way I and and another server I was talking with got our allowlist.json working has is it was flattened and one entry per line:\r\n\r\n{code:java}\r\n[\r\n{\"ignoresPlayerLimit\":falce,\"name\":\"Player 1\",\"xuid\":\"###############\"},\r\n{\"ignoresPlayerLimit\":false,\"name\":\"Player 2\",\"xuid\":\"###############\"},\r\n{\"ignoresPlayerLimit\":false,\"name\":\"Player 3\",\"xuid\":\"###############\"}\r\n]\r\n{code}\r\n\r\n\r\nThat doesn't display the format right on this post, but just one entry per line and so on and MUST include the XUID if not known, I've had to look them up.",
               "updateAuthor": "JIRAUSER758519",
               "created": "2023-07-17T05:24:27.508+0300",
               "updated": "2023-07-17T05:27:58.504+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1271415",
               "id": "1271415",
               "author": "JIRAUSER648376",
               "body": "Hi\r\n\r\nDid this issue occur for you on Windows or Linux BDS?\r\n\r\nThis ticket will automatically reopen when you reply. ",
               "updateAuthor": "JIRAUSER648376",
               "created": "2023-07-27T15:17:18.676+0300",
               "updated": "2023-07-27T15:17:18.676+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1278393",
               "id": "1278393",
               "author": "JIRAUSER578106",
               "body": "Hi, I have the same issue.\r\n\r\nThe answer is no, using the command doesn't solve the issue. It had the effect of:\r\n * adding the new player without their XUID (so they still can't connect as the XUID is missing)\r\n * deleting all the other players in the allowlist.json file that don't have an XUID specified\r\n\r\nTo make matters worse, the public service most people used to obtain XUIDs has now closed so it's now almost impossible to add new players to BDS servers, or for existing players without an XUID in the allowlist.json file to play on the server.\r\n\r\nAs far as I know the only way to obtain an XUID now is for the player themselves to visit their xbox.com profile and search for \"xuid\" in the page source.\r\n\r\n\u00a0",
               "updateAuthor": "JIRAUSER578106",
               "created": "2023-09-04T14:19:32.473+0300",
               "updated": "2023-09-04T14:25:14.108+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1280145",
               "id": "1280145",
               "author": "JIRAUSER648376",
               "body": "Hi\r\n\r\nDoes this issue still occur after updating to 1.20.15?\r\n\r\nThis ticket will automatically reopen when you reply. ",
               "updateAuthor": "JIRAUSER648376",
               "created": "2023-09-18T12:06:26.587+0300",
               "updated": "2023-09-18T12:06:26.587+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1280212",
               "id": "1280212",
               "author": "JIRAUSER578106",
               "body": "Yes, I tried with both the server and client on 1.20.15 and the issue persists.",
               "updateAuthor": "JIRAUSER578106",
               "created": "2023-09-18T20:59:24.945+0300",
               "updated": "2023-09-18T20:59:24.945+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1282139",
               "id": "1282139",
               "author": "JIRAUSER648376",
               "body": "Hi\r\n\r\nCan you please verify if issue still occurs after updating to 1.20.31? Im unable to reproduce it, after adding player via console i can connect without issues and XUID adds automatically. \r\n\r\nThis ticket will automatically reopen when you reply. ",
               "updateAuthor": "JIRAUSER648376",
               "created": "2023-09-28T13:47:40.290+0300",
               "updated": "2023-09-28T13:47:40.290+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1286472",
               "id": "1286472",
               "author": "JIRAUSER578106",
               "body": "I've now upgraded the server to 1.20.32.03 and had the same problem again. In particular, when editing allowlist.json manually or using our host's control panel, the new player could not access the game.\r\n\r\nSimilarly when I used the console command\u00a0_whitelist add [name]_ the player could not join - BUT if I run\u00a0_allowlist reload_ afterwards it seems to have the desired effect.\r\n\r\nSo it seems the bug is still there but reloading the allowlist before they attempt to join seems to act as a workaround.",
               "updateAuthor": "JIRAUSER578106",
               "created": "2023-10-21T15:29:39.183+0300",
               "updated": "2023-10-21T15:29:39.183+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1286773",
               "id": "1286773",
               "author": "JIRAUSER648376",
               "body": "Hi\r\n\r\nDo you use Windows or Linux BDS?\r\n\r\nThis ticket will automatically reopen when you reply. ",
               "updateAuthor": "JIRAUSER648376",
               "created": "2023-10-23T15:44:12.949+0300",
               "updated": "2023-10-23T15:44:12.949+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1286932",
               "id": "1286932",
               "author": "JIRAUSER578106",
               "body": "Linux - hosted by Nodecraft if that helps.",
               "updateAuthor": "JIRAUSER578106",
               "created": "2023-10-24T11:50:51.032+0300",
               "updated": "2023-10-24T11:50:51.032+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1298854",
               "id": "1298854",
               "author": "JIRAUSER601130",
               "body": "Hi!\r\nXUID is generated after the user selects and validates their gamertag. This site allows to show xuid for specified gamertag: [https://www.cxkes.me/xbox/xuid].\r\nPlease do these steps:\r\n # Fill allowlist.json manually with xuids and let us know if players are able to enter server after this step is done?\r\n # Be sure firewall does not block the server and Minecraft on both sides\r\n # Be sure Minecraft license is added to the Account that wants to connect to server\r\n\r\n*This ticket will automatically reopen when you reply.*",
               "updateAuthor": "JIRAUSER601130",
               "created": "2024-01-08T14:59:08.499+0200",
               "updated": "2024-01-08T14:59:08.499+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1304669",
               "id": "1304669",
               "author": "JIRAUSER749890",
               "body": "Can confirm it is still doing this on 1.20.60.1\r\n\r\nI'm running the server on Windows 11\r\n\r\nI have other users on the server who connected previously and it populated their XUIDs when they first connected. Now new users get \"Not invited\" unless their XUID is populated.",
               "updateAuthor": "JIRAUSER749890",
               "created": "2024-02-14T20:53:08.536+0200",
               "updated": "2024-02-14T20:55:44.387+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/538692/comment/1322802",
               "id": "1322802",
               "author": "JIRAUSER484247",
               "body": "Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.\r\n\r\nQuick Links:\r\n\ud83d\udcd3 Issue Guidelines \u2013 \ud83d\udcac Mojang Support \u2013 \ud83d\udce7 Suggestions \u2013 \ud83d\udcd6 Minecraft Wiki\r\n\r\n",
               "updateAuthor": "JIRAUSER484247",
               "created": "2024-05-14T19:14:07.695+0300",
               "updated": "2024-05-14T19:14:07.695+0300"
            }
         ],
         "maxResults": 18,
         "total": 18,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-18536/votes",
         "votes": 5,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 13,
      "total": 13,
      "histories": [
         {
            "id": "2836466",
            "author": "JIRAUSER648376",
            "created": "2023-07-13T11:59:47.778+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2837852",
            "author": "arisabot",
            "created": "2023-07-15T15:30:52.080+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2843013",
            "author": "JIRAUSER648376",
            "created": "2023-07-27T15:17:18.687+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2862372",
            "author": "arisabot",
            "created": "2023-09-04T14:19:40.443+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2868111",
            "author": "JIRAUSER648376",
            "created": "2023-09-18T12:06:26.593+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2868264",
            "author": "arisabot",
            "created": "2023-09-18T20:59:29.132+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2873217",
            "author": "JIRAUSER648376",
            "created": "2023-09-28T13:47:40.294+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2884783",
            "author": "arisabot",
            "created": "2023-10-21T15:29:42.824+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2885451",
            "author": "JIRAUSER648376",
            "created": "2023-10-23T15:44:12.956+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2885832",
            "author": "arisabot",
            "created": "2023-10-24T11:51:00.703+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2921040",
            "author": "JIRAUSER601130",
            "created": "2024-01-08T14:59:08.504+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2994977",
            "author": "JIRAUSER484247",
            "created": "2024-05-14T18:51:47.438+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "2995050",
            "author": "JIRAUSER484247",
            "created": "2024-05-14T19:14:07.697+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "4",
                  "toString": "Incomplete"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}