By default, Minecraft servers operate in online mode, verifying each player's account with Mojang to prevent unauthorized access. However, to resolve a "Can't verify username" error or to allow friends with non-premium (cracked) accounts to join, you can switch your server to offline mode. This guide explains how to enable it and the critical security steps you must take.

Important Security Warning
Before you begin, you must understand the risks of running an offline-mode server. When authentication is disabled, anyone can join your server using any username they choose. This significantly increases the risk of impersonation and griefing.
How to Enable Offline Mode
Enabling offline mode is done by changing a single setting in your server's properties.
- Log into your MintServers Dashboard and navigate to the Game Panel for your server.
- Select "Server Properties" from the menu.
- Locate the "Online Mode" option and change its value to "false".
- Save the file and restart your server for the change to take effect.

Required Security for Offline Mode
Because offline mode allows players to join with any username, installing an authentication plugin is not optional—it is essential for server security. These plugins force players to register and log in with a password, protecting player accounts and preventing unauthorized access. We strongly recommend one of the following:
- AuthMe Reloaded
- FastLogin
- LoginSecurity
- nLogin
How to Revert to Online Mode
To switch back to the default, secure mode, simply reverse the steps.
- Navigate back to "Server Properties".
- Change the "Online Mode" option back to "true".
- Save the file and restart your server.
Conclusion
While enabling offline mode can make your server more accessible, it comes with serious security trade-offs. If you choose to run an offline server, you must install an authentication plugin to protect your server and community from bad actors. For most cases, staying in online mode is the safest option.