I am monitoring logs on my minecraft server donwoladed from https://www.minecraft.net/en-us/download/server
I extracted server-log4j2.xml from server.jar to allow more data being logged and running server like this:
java -Xmx32768M -Xms1024M -Dlog4j.configurationFile=file:./server-log4j2.xml -jar server.jar nogui
Recently I have tested usernames against uuids using mojang api.
I noticed that some hackers logged in to my server with username and uuid that belongs to someone else.
Data from serverβs usercache.json:
{
"name": "lucnocity",
"uuid": "d8c0443d-84fd-4288-9cfd-342ae4c725d6",
"expiresOn": "2025-09-24 15:10:27 +0200"
},
{
"name": "Luxnocity",
"uuid": "39f85368-5b2a-4d68-b75e-4acad2bbbf41",
"expiresOn": "2025-09-24 14:36:48 +0200"
},
Those two players logged in together, but their uuids belong to someone else.
In api.mojang.com those users do not exits:
https://api.mojang.com/users/profiles/minecraft/lucnocity
https://api.mojang.com/users/profiles/minecraft/Luxnocity
and they logged in to my server.
And their uuids belong to someone else:
https://sessionserver.mojang.com/session/minecraft/profile/d8c0443d-84fd-4288-9cfd-342ae4c725d6Bootsmcft
https://sessionserver.mojang.com/session/minecraft/profile/39f85368-5b2a-4d68-b75e-4acad2bbbf41OptistickYT
My server properties are set to:
enforce-secure-profile=true
online-mode=true
prevent-proxy-connections=true
I donβt know how it happen, but banning those uuids or playernames may affect not guilty players.
It would be nice that mojang authorisation was fixed and prevented this from happening.
Environment
Java: Java version 24.0.2
OS: FreeBSD 14.1-RELEASE-p7, architecture: amd64-64
Runtime: OpenJDK Runtime Environment (build 24.0.2+12-1) from OpenJDK BSD Porting Team
VM: OpenJDK 64-Bit Server VM (build 24.0.2+12-1, mixed mode, sharing)
Locale: default locale: pl_PL, platform encoding: UTF-8
Hardware: processors: 7, architecture: amd64-64
Thank you for your report!
After consideration, the issue is being closed as Invalid.
This report does not describe a bug.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support (Technical Issues) β π§ Microsoft Support (Account Issues)
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki