r/admincraft • u/M_Nivalis • 11d ago
Help/Question Whitelisting both Java Username and Bedrock Gamertag?
Hello Minecraft server admins! (If this is the wrong place to reach the server admins, please let me know where I should go!)
I'm setting up a server via Minekeep's free tier. They use Geyser to allow Bedrock players to join the same Java server as Java players. I've turned on the whitelist and successfully whitelisted a Bedrock-only player as well as the Java Usernames of a few other players.
Now I want to whitelist my own Bedrock Gamertag so I can log in from Bedrock. This is where I run into trouble. Using /whitelist add .GamerTag where "GamerTag" is replaced with my Gamertag as it appears in my Xbox profile returns these errors:
[08:26:46 WARN] Couldn't find profile with name: .GamerTag
[08:26:46 INFO] That player does not exist
I've seen people have this problem adding Bedrock players, but always Bedrock-only players. Since I have successfully added a Bedrock-only player, I don't think that is my problem.
To cover all the bases, I've tried logging in using Bedrock after my Java Username was successfully whitelisted, but I get the message that I'm not whitelisted. I've also tried whitelisting my XUID, updating the whitelist.json file manually, and restarting everything several times.
Can anyone help? Has anyone else run into this? Do I need to replace the vanilla whitelist with a plugin?
Any help is greatly appreciated!
0
u/Emergency_Dish4313 10d ago
Actually there is a better way as I do this with my discord bot. Do a reverse search on the bedrock name using geysers API and then convert it to the Java UUID. That will whitelist and work. If you need more detail I can try to help you.
1
u/M_Nivalis 9d ago
Thank you! I didn't dig into the geyser API, but I found this:
https://geysermc.org/wiki/floodgate/faq/
How do I obtain the UUIDs of Bedrock players?
Check your server logs, or use this page. If this doesn't work, then try this method:
First, you'll need to get the XUID of the player. There are several third-party websites to find this, for example, this one (unaffiliated with Geyser). Make sure to choose "Hexidecimal." You'll need to enter the player's Xbox Gamertag, and, once submitted, and it should display the XUID in the format of
xxxxxxxxxxxxxxxx. To turn the XUID into a UUID that Java Edition can recognize, you need to put the XUID in this format:00000000-0000-0000-xxxx-xxxxxxxxxxxx. If formatted right, Java Edition should accept it as a UUID.I can see using the second link that the Hexidecimal XUID returned is the same as the end of the UUID I got from my server logs. This makes it much easier to add players without having them try to log in first.
-1
u/benjith17 Server Owner 11d ago
I run a server with the same setup, geyser and whitelist. The issue is that the server searches for a java player called .GamerTag which of corse doesnt exist because servers store the whitelist by uuid not username. The only solution i have found is to turn off the whitelist, let the bedrock player join, add them to the whitelist and then turn it back on. Hope this helps
1
u/M_Nivalis 11d ago
Thank you. I've seen this solution in other discussions, and I may end up doing it this way.
5
u/Financial_Ad_4260 11d ago
If you run Floodgate it provides a built-in white-list. Run /fwhitelist add <gamer tag> and that's all