/fetchprofile
< Commands
This feature is exclusive to Java Edition.
/fetchprofile| Permission level required |
2 |
|---|---|
| Restrictions |
None |
{
"title": "<code>/fetchprofile</code>",
"rows": [
{
"field": "2",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Fetches the contents of a player profile from Minecraft servers.
Usage
Fetches the profile of the target. It works asynchronously as the operation might take some time.
After successful completion, a message will be printed that lets users copy the contents of a fully resolved minecraft:profile component or /give @s minecraft:player_head with said component.
Syntax
fetchprofile name <name>fetchprofile id <id>
Arguments
<name>: string
- Specifies a player name (Without need for an online player), case-insensitive.
- Must be a string.
<id>: uuid
- Specifies UUID of a player (Without need for an online player).
- Must be a UUID in the hyphenated hexadecimal format. Allowed characters include:
-,A-F,a-f, and0-9.
Result
| Command | Trigger | Java Edition |
|---|---|---|
| Any | The command is incomplete, or any argument is not specified correctly. | Unparseable |
| Failed to resolve the player profile. | Failed | |
| Otherwise | Successful |
Output
| Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
|---|---|---|---|---|---|
| Any | Java Edition | On success or on fail | 1 | 1 | 1 |
History
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.21.9 | 25w34a | Added /fetchprofile. | |||||
| Pre-Release 1 | Now also prints a clickable text to summon a mannequin with the resolved profile. | ||||||