RenamePlayer
RenamePlayer command
Renames the player identified by their in-game string name (<"PlayerName">) to <NewName>.
Argument information
<"Player Name">type: textThe exact in-game name of the target player.
<New Name>type: textThe new name to set — wrap it in double quotes if it contains spaces.
Command builder
"Player Name"
New Name
Examples
This command renames the player currently named "Bobby" (matched by their in-game string name) to Roberto.
Using cheats on a server
On a multiplayer server, authenticate first with enablecheats <password>, and prefix admin commands with admincheat instead of cheat.
