/getlocalplayername
< Commands
This article is a work in progress.
Please help expand and improve it. The talk page may contain suggestions.
Note: Very little information on this command is available online so please search the game files(the game library files. ) for any information you can find on this command.
Note: Very little information on this command is available online so please search the game files(the game library files. ) for any information you can find on this command.
This article is a stub.
You can help by expanding it.
This feature is exclusive to Bedrock Edition and Minecraft Education.
/getlocalplayername| Permission level required |
unknown |
|---|---|
| Restrictions |
None |
{
"title": "<code>/getlocalplayername</code>",
"rows": [
{
"field": "unknown",
"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": []
}
Returns the local player name. [1]
Usage
Syntax
getlocalplayername[2]
Arguments
Result
- Returns the local player name. [1]
Output
Example
History
| Bedrock Edition | |||||||
|---|---|---|---|---|---|---|---|
| ? | ? | Added /getlocalplayername. | |||||
| Minecraft Education | |||||||
| [[ ]] | |||||||
References
- ↑ a b Language/en_GB.lang at master · CloudburstMC/Language · GitHub https://github.com/CloudburstMC/Language/blob/master/en_GB.lang#:~:text=commands.getlocalplayername.description%3DReturns%20the%20local%20player%20name.%09%23
- ↑ [MCPE-136930] Some education edition commands can show the syntax, but after output, it reports errors. - Jira (mojang.com)