Description Usage Arguments Value Note Examples
Uses Mojang's profiles API to get the current Minecraft ingame name for a UUID. Other way around is not (yet) implemented.
1 | getNameFromUUID(uuid)
|
uuid |
The UUID used in the query. |
Either the appropriate username as a character vector or, if the UUID is not recognized as one, the input string is returned.
Since an input string that does not match the UUID format is returned, the function can be called on a big list of UUIDs that may still, contain some Minecraft names, allowing for quick and dirty conversion.
1 2 3 4 5 6 7 8 9 | ## Not run:
> getNameFromUUID("Jemus42")
## Not recognized as UUID, returnes as is
[1] "Jemus42"
> getNameFromUUID("7aca357c-c26d-4e55-8b6e-87e349450156")
## Recognized as UUID, triggers query to Mojang
[1] "Jemus42"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.