Tutorials/Offline alternate accounts



Every so often there comes a time where you need to test out a multiplayer map in singleplayer and you don't have quick access to other accounts. This tutorial will show you how to load up multiple instances of Minecraft with different usernames on the same computer to join the same world via LAN.

Note that this only works offline, in singleplayer – you will not be able to join any multiplayer servers under any usernames you have not purchased and will be prevented from joining any multiplayer servers if your client username does not match.

Steps

 * 1) Find your .minecraft folder.
 * 2) * This is located at  on Windows,   on macOS, and   on Linux.
 * 3) Open file   in a text editor such as Notepad.
 * 4) * In earlier versions of the Minecraft launcher (before Dungeons was added to the main launcher), the file is instead.
 * 5) Locate the   object with fields   and.
 * 6) * This object controls the ID and display name of the current Minecraft profile account.
 * 7) Change the   field to any string of characters.
 * 8) * This username does not need to be a valid account username (containing only letters and underscores), and as such any characters can be put here, and will join a world fine. Note however that commands cannot be used on these names as it does not recognize them as valid.
 * 9) Save and close the file.
 * 10) Disconnect from the network.
 * 11) * This can be done by simply turning on airplane mode. This can be done by clicking the Wi-Fi icon on the taskbar and selecting the airplane mode button, or if you connect via Ethernet, you can simply unplug the cable.
 * 12) Open the Minecraft Launcher while the network is disconnected.
 * 13) Select your profile and click "Play Offline".
 * 14) * You can turn reconnect to the network after this point.
 * 15) Start a LAN world on your main account and join it with your alternate account!

More than one alternate account
If you want more than one alternate account, perform the following steps before repeating those above:


 * 1) Close the Minecraft Launcher.
 * 2) * The program will close but remain active in the background. This is dealt with in the next steps.
 * 3) Open your task manager (or an equivalent program ending software).
 * 4) * Task Manager on Windows can be opened by right-clicking the Windows logo and selecting "Task Manager".
 * 5) Scroll down to the "Minecraft Launcher" process.
 * 6) * The list is ordered alphabetically and is found under "background processes".
 * 7) Select "Minecraft Launcher" and kill the process by pressing "End task".
 * 8) * This must be done because the launcher remains active in the background.

The launcher process must be completely killed to change usernames as while the game is running the session, including current username, is synced with the launcher.