ATLauncher made a commit that checks the validity of a minecraft account. Last known version that the bypass works on is 3.4.28.1 that can be found here
flatpak install com.atlauncher.ATLauncher
sudo flatpak update --commit=8099d231fac67b8ac78b3fbdf1a4450c92c00b1667cff5e2cb32aa7a16bd7a3e com.atlauncher.ATLauncher
Feel free to use my patch on Prism Launcher here: https://github.com/antunnitraj/Prism-Launcher-PolyMC-Offline-Bypass
Bypass check if user has a real microsoft account linked with the launcher
If you have some accounts saved then executing this script will remove them!
Download the latest version of ATLauncher from https://atlauncher.com/, install it then go in terminal and execute this command (change "YOURUSERNAMEHERE" to your desired username):
echo [{"accessToken":"0","mustLogin":true,"username":"00000000-0000-0000-0000-000000000000","minecraftUsername":"YOURUSERNAMEHERE","uuid":"00000000000000000000000000000000","collapsedPacks":[],"collapsedInstances":[],"collapsedServers":[],"internalType":"com.atlauncher.data.MicrosoftAccount"}] > %appdata%/ATLauncher/configs/accounts.json
echo '[{"accessToken":"0","mustLogin":true,"username":"00000000-0000-0000-0000-000000000000","minecraftUsername":"YOURUSERNAMEHERE","uuid":"00000000000000000000000000000000","collapsedPacks":[],"collapsedInstances":[],"collapsedServers":[],"internalType":"com.atlauncher.data.MicrosoftAccount"}]' > ~/.local/share/atlauncher/configs/accounts.json
echo '[{"accessToken":"0","mustLogin":true,"username":"00000000-0000-0000-0000-000000000000","minecraftUsername":"YOURUSERNAMEHERE","uuid":"00000000000000000000000000000000","collapsedPacks":[],"collapsedInstances":[],"collapsedServers":[],"internalType":"com.atlauncher.data.MicrosoftAccount"}]' > ~/.var/app/com.atlauncher.ATLauncher/data/configs/accounts.json
Download the portable version of ATLauncher then execute this command in terminal (change "YOURUSERNAMEHERE" to your desired username):
echo [{"accessToken":"0","mustLogin":true,"username":"00000000-0000-0000-0000-000000000000","minecraftUsername":"YOURUSERNAMEHERE","uuid":"00000000000000000000000000000000","collapsedPacks":[],"collapsedInstances":[],"collapsedServers":[],"internalType":"com.atlauncher.data.MicrosoftAccount"}] > configs/accounts.json
echo '[{"accessToken":"0","mustLogin":true,"username":"00000000-0000-0000-0000-000000000000","minecraftUsername":"YOURUSERNAMEHERE","uuid":"00000000000000000000000000000000","collapsedPacks":[],"collapsedInstances":[],"collapsedServers":[],"internalType":"com.atlauncher.data.MicrosoftAccount"}]' > configs/accounts.json
Download an instance and then you need to CLICK THE TRIANGLE on the right of the PLAY BUTTON and select "Play Offline", then type in your desired username and enjoy!
Don't delete the default offline account in the accounts tab, it removes the magic
There is a file in repo called "accounts.json" here and you need to download it to this place:
- Windows:
%appdata%/ATLauncher/configs/
- Linux:
~/.local/share/ATLauncher/configs/
- Linux (flatpak):
~/.var/app/com.atlauncher.ATLauncher/data/configs/
PATH_TO_INSTALLATION/configs/
After that you can go to that file, open it with a text editor (Notepad) and edit the value that sais "YOURUSERNAMEHERE" to your desired username