Ga naar inhoud
Back to Homepage

"Failed to Verify Username" - Official Account vs Cracked Account

Deze inhoud is nog niet vertaald.

“Failed to Verify Username” - Official Account vs Cracked Account

Section titled ““Failed to Verify Username” - Official Account vs Cracked Account”

If you see “Failed to verify username!” when joining a Minecraft server, it usually means the server could not confirm that your account is a real, paid Minecraft account. This is the most common reason cracked (non-premium) accounts cannot join.

This article explains why it happens, how players can fix it, and what server owners can do.

Most Minecraft servers run with online-mode=true. In this mode, the server checks every player with Mojang and Microsoft when they join. Only an official account that owns Minecraft: Java Edition passes this check.

You will see this error in these situations:

Situation Result
You are using an official, paid Minecraft account Verified, you can join.
You are using a cracked (non-premium) launcher or account Cannot be verified, so you are kicked.
Your official account’s login session expired or is broken Verification fails. Logging out and in usually fixes it.
The same account is logged in on another device or launcher The old session is invalid, so you are kicked.
Mojang’s authentication servers are down Everyone fails verification. See our article on authentication servers being down.
  1. Close Minecraft and the launcher completely.
  2. Open the official Minecraft Launcher.
  3. Log out, then log in again with the Microsoft account that owns the game.
  4. Make sure the account is not logged in on another device or launcher at the same time.
  5. Update the launcher and the game to the latest version.
  6. Try to join the server again.

If it still fails, restart your router or try another internet connection, and turn off any VPN or proxy while you test.

If you are using a cracked or non-premium account

Section titled “If you are using a cracked or non-premium account”

You cannot join a server that has online mode on. To play on it, you need an official Minecraft: Java Edition account. You can buy the game from the official Minecraft website, or use it through a Game Pass subscription that includes it.

You can also ask the server owner if the server allows non-premium accounts. Most public servers do not, and that is their choice.

For Server Owners: Allow Non-Premium Accounts (Optional)

Section titled “For Server Owners: Allow Non-Premium Accounts (Optional)”

If you run a private server for friends and want players without official accounts to be able to join, you can turn off online mode. Read the warnings below before you do this.

  1. Stop your server from the Pterodactyl panel.

  2. Open the File Manager.

  3. Open the file server.properties.

  4. Find this line:

    online-mode=true
  5. Change it to:

    online-mode=false
  6. Click Save Content.

  7. Start your server.

Players without a verified account can now join. To go back to normal, set it back to true and restart the server.

Turning off online mode removes the account check. This has real risks:

  • Anyone can join with any username. A stranger can join as your admin’s username and get their operator permissions.
  • Player data changes. Offline mode gives players a different UUID than their official one. Players can lose their inventory, stats, homes and permissions when you switch modes, and switching back will not carry the data over.
  • Skins and capes may not show for players.
  • Bans and whitelists are easier to bypass, because anyone can change their username.
  • Mojang recommends keeping online mode on for public servers.

If you turn it off, take these steps to reduce the risk:

  1. Turn on the whitelist (white-list=true in server.properties) and only add people you trust.
  2. Install a login plugin such as AuthMe, so every player must register and log in with a password.
  3. Do not give operator status to anyone unless they are protected by a login plugin.
  4. Do not open the server to the public.

If your players connect through a proxy, the setup is different. The proxy checks accounts, so the backend servers are normally set to online-mode=false. In that case:

  • Keep online mode on in the proxy config.
  • Make sure the backend servers can only be reached through the proxy, and never directly from the internet.
  • Set the matching option in config/paper-global.yml on the backend server, as described in the proxy’s documentation.

When a player without a verified account tries to join a server with online mode on, you may see lines like these. Your names, IP addresses and wording will be different:

[18:22:41 INFO]: Disconnecting Player1 (/203.0.113.45:52210): Failed to verify username!
[18:22:41 WARN]: Username 'Player1' tried to join with an invalid session
[18:23:05 INFO]: Player2 (/198.51.100.23:40417) lost connection: Invalid session (Try restarting your game)

How to read it:

Log line What it means
Failed to verify username! The server could not confirm the player’s account.
tried to join with an invalid session The player’s login is missing, expired or not from an official account.
Invalid session (Try restarting your game) Shown to the player. Restarting the game and logging in again fixes it for official accounts.

Tip for server owners: if only some players get this and everyone else can join, the problem is with those players’ accounts or sessions, not your server. If everyone fails at once and the console shows Cannot contact authentication server, Mojang’s servers may be down.

You are… Do this
A player with an official account Restart the game and launcher, log out and in, and use only one device.
A player without an official account You need an official account to join online-mode servers, or ask the owner if the server allows non-premium accounts.
A server owner who wants non-premium accounts Set online-mode=false, and use a whitelist and a login plugin like AuthMe.
A server owner with a public server Keep online-mode=true.