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.

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.
This article is a stub.
 
You can help by expanding it. The talk page may contain suggestions.
This feature is exclusive to Bedrock Edition and Minecraft Education.
 
/getlocalplayername

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

  1. ↑ 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
  2. ↑ [MCPE-136930] Some education edition commands can show the syntax, but after output, it reports errors. - Jira (mojang.com)

Sources