Minecraft Wiki
Advertisement
Gear (item)
This article is a work in progress. 
Please help in the expansion or creation of this article by expanding or improving 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.
Dark Oak Sapling
This article is a stub. 
You can help by expanding it.
Information icon
This feature is exclusive to Bedrock Edition and Minecraft Education. 

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.
Education Edition
??Added /getlocalplayername.

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 will report errors. - Jira (mojang.com)
Advertisement