mojira.dev
BDS-18536

Not invited to play on server, but on the allowlist.json

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.  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.  This isn't happening because it tells them they are not invited and blocks that connection.

Microsoft/Xbox gamertags are correct and cased correctly, so that's not the issue.  It was doing it to me in testing with correct casing.

Comments 18

Hi

Can they connect when you add them via "whitelist add Gamertag" server console command?

This ticket will automatically reopen when you reply.

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.

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.

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.

For 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.

So 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.

can confirm for 1.20.11. Severely affecting our servers where we have hundreds of people whitelisted.
even if a player is the ONLY thing in the whitelist file they cannot join. It's seriously busted.
if 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.

8 more comments

Hi

Do you use Windows or Linux BDS?

This ticket will automatically reopen when you reply.

Linux - hosted by Nodecraft if that helps.

Hi!
XUID 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.
Please do these steps:

  1. Fill allowlist.json manually with xuids and let us know if players are able to enter server after this step is done?

  2. Be sure firewall does not block the server and Minecraft on both sides

  3. Be sure Minecraft license is added to the Account that wants to connect to server

This ticket will automatically reopen when you reply.

Can confirm it is still doing this on 1.20.60.1

I'm running the server on Windows 11

I 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.

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.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

migrated

(Unassigned)

Unconfirmed

Retrieved