5

How can I change my username in Minecraft 1.6 or later? It used to be possible, but that method doesn't work anymore since the way the game launches has completely changed. Is it still possible to set your username using a command, script, or anything else?

(Solutions tailored to Mac OS X specifically are appreciated.)

user55292
  • 61
  • 1
  • 1
  • 3
  • 3
    @fbueckert Given the major changes to the way Minecraft launches, I wonder if a new question about changing username post-1.6 is warranted. All the previous questions were just about the implementation, because the fact it could be done was known and taken for granted. Now that it appears to be impossible (?), a new question asking "Is it possible to set your offline username in 1.6+?" might be useful and not duplicate the intent of previous questions. More pragmatically, I don't think bountying is going to help, since it's not a simple update, but entirely new knowledge needed. Thoughts? – SevenSidedDie Sep 15 '13 at 19:21
  • @fbueckert I did an edit for such a possible question, to demonstrate what I'm thinking. – SevenSidedDie Sep 15 '13 at 19:25
  • @SevenSidedDie I think it's still a dupe; either an answer can be added that addresses 1.6+ specifically, or one can be updated to include that information as well. We don't need two separate questions asking the same thing, only differentiated by versions. Our usual course of action in these cases is to bounty the original question, not ask an entirely new question. That way, one single question holds all the answers, regardless of version. – Frank Sep 15 '13 at 19:26
  • @fbueckert I'm not entirely persuaded, given the precedent set by the questions about the Minecraft PE menu changes and world-saving are version-specific (and for good reason). However, the fact that username scripts are almost always for nefarious purposes puts me back on the fence since that makes me just not care about helping as much... – SevenSidedDie Sep 15 '13 at 19:29
  • @fbueckert There aren't previous questions, because the ability to do it was straightforward, so our questions are about "wtf why can't I?" since the game changed in a way that made the previous method impossible. – SevenSidedDie Sep 15 '13 at 19:36
  • To sum up the discussion: I'm now convinced that this is a duplicate; and it's still possible and works not that differently than it used to. – SevenSidedDie Sep 15 '13 at 21:32
  • So your saying its impossible to change your minecraft username when minecraft is online? – user55292 Sep 16 '13 at 14:57

1 Answers1

9

Yep it is, although a bit more of a hassle than it used to be.

First, disconnect your internet and go to your .minecraft folder. Directly in the .minecraft folder should be a file called launcher_profiles.json (1.16.4+: launcher_accounts.json); open it up with any text editor. The very last part before the } }} should show "displayName": and then your name in quotation marks. Edit your name to whatever you want to change your name to and then save it and open up the launcher.

Because your internet is disconnected it will only let you play on offline mode. You need to keep your internet disconnected until you click "Play offline" on the launcher, otherwise it will connect and realise your username is wrong.

Once the game has started you're free to reconnect to your internet, and you should have the name you chose. This will only work on singleplayer and servers with offline mode on, not LAN or online servers.

This literally just changes your display name, so if anybody else is wondering, it can not be used to pirate the game or anything like that.

Penguin
  • 5,134
  • 5
  • 23
  • 54
SirBenet
  • 28,078
  • 7
  • 63
  • 92
  • Just so you know, this does let you pirate the game in a way, it allows two people to play on the same server or LAN game provided that the server is in offline mode. This, of course, still requires at least one account to be purchased. – Mark Kramer Mar 26 '15 at 03:08
  • @MarkKramer That's not allowing people to pirate. The piracy will have occurred if a person unlawfully downloads the game files, not when the person changes their display name. – SirBenet Mar 26 '15 at 17:06
  • @MarkKramer The server will try to authenticate you and fail with "Failed to verify username!" if you change it in this manner. – kbolino Nov 29 '15 at 17:45
  • This seems not to work anymore in Launcher Version 2.2.743 (End November 2020). Any ideas on how to get this to work in later versions? – slartidan Dec 01 '20 at 16:19
  • Not working anymore in December 2020, launcher 2.2.911 – Kodeeo Dec 20 '20 at 19:18
  • 3
    In my launcher_accounts.json it is not displayName, it's minecraftProfile / name, still works the same. – Fozi Feb 27 '21 at 20:21
  • 1
    I don't use this any more, but it can but useful when developing plugins to have a secondary player. It seems to have broken with the Microsoft accounts update. – TheKodeToad Jan 18 '22 at 09:14