Commands/getlocalplayername
Minecraft Wiki article. Categories: Minecraft_Work_in_progress, Minecraft_Work_in_progress_with_a_note, Minecraft_stubs, Stubs, Bedrock_Edition, Minecraft_Education, Unknown_Bedrock_version_history, Commands
📌 Mirrored from Minecraft Wiki
This article is reproduced from Commands/getlocalplayername on the Minecraft Wiki. Mirrored from revision 3155214. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
On this page
This article is a work in progress.
Please help expand and improve it. The talk page may contain suggestions.
Note:
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.
This feature is exclusive to Bedrock Edition and Minecraft Education.
/getlocalplayername{
"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)
Navigation
Sources
- Commands/getlocalplayername — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3155214.