Possible to get the players UUID from username without the connection to Mojangs API? Hyphenated hexadecimal: A hexadecimal representation of the UUID, with hyphens separating the different sections into individual numbers. Read about SpigotMC here! This may help you in a way. ). ). This is currently set at 600 requests per 10 minutes but this may change. toString(); String uuid = ""; This tool is useful when, for example, locating player.dat files on a Minecraft server. java.io.IOException: Server returned HTTP response code: 429 for URL: https://api.mojang.com/profiles/minecraft. 2. A big thank you to Crafatar for providing player avatars. You are limited to 1 per second afaik. Discussion in 'BungeeCord Plugin Development' started by Fractiion, Aug 17, 2018.

Minecraft UUID API for names and UUID lookups. Nick or UUID (unique ID of account) Get UUIDs from player name.

The hyphen are set to split the UUID into numbers of the format 8-4-4-4-12 with each number marking the number of hexadecimal digits fitting into the corresponding section. Discussion in 'Spigot Plugin Development' started by 24763, Jun 15, 2017.

Useful tool for converting player names to UUID and conversely.
A UUID is a unique identifier issued by Mojang to all users when they purchase the game. On properly configured servers you only ever have either one. https://github.com/ZerothAngel/ToHP...ain/java/org/tyrannyofheaven/bukkit/util/uuid, https://api.mojang.com/profiles/minecraft, https://api.mojang.com/users/profiles/minecraft, (You must log in or sign up to post here. This was not for me but rather for a friend who doesn't want it connecting to Web API 24/7 API usage (JSON feed) Get data via UUID (You can use UUIDs with dashes)

All public APIs are rate limited so you are expected to cache the results.

When someone joins my server, I run this: 429 = Too many requests, aka they are being ratelimited. Well, you have to store the UUID of every player ever joined, along with their name, as BungeeCord does not do it.

1. Mojang keeps changing this. He was calling it wrong, it should be fixed now. Why are you mixing online and offline uuids?

Want a better Minecraft server? They will have had to join the server before, though. For API usage, please do not scrape this site as it may change at any time. For some parts of the API, demo accounts are sometimes included, sometimes not. If I understood correctly what you mean: Bungeecord servers are using your offline-uuid because they're running in offline mode. "https://api.mojang.com/users/profiles/minecraft/", (You must log in or sign up to post here. String output = callURL ("https://api.mojang.com/users/profiles/minecraft/" + playername); StringBuilder result = new StringBuilder (); readData ( output, result); String u = result. The player doesn't need to have played for that method to work - if they haven't played it will simply perform a Mojang API lookup; exactly what people are telling you to do yourself for no good reason. Want a better Minecraft server? OfflinePlayer op = Bukkit.getOfflinePlayer(/* your name to lookup*/); "INSERT INTO uuidcache(`UUID`, `NAME`) VALUES('" + uuid + "', '" + name + "') ON DUPLICATE KEY UPDATE `UUID` = '" + uuid + "', `NAME` = '" + name + "';". BungeeCord PlayerName --> UUID. UUID Convertor; Avatars & skins; Server queries; UUID Convertor. Surely must be possible to get the local user file and extract UUID from that.

This way, you don't need to worry yourself about whether the player has joined because the API takes care of it for you.
You could get an offline player by username (deprecated though) then get the UUID.

Get player name from online-mode UUID. Go to GlowingMines.eu. Read about SpigotMC here! Code (Java): public static UUID getUUID (String playername) {.