Offline ModeAuthMeSecurity4 min read

Allow non-premium players (offline mode)

Configure online-mode=false to allow cracked clients and protect your server with AuthMe.


What is offline mode?

By default, Minecraft servers verify player accounts against Mojang's authentication servers (online-mode=true). Setting online-mode=false disables this check, allowing players without a paid account to join.

Step 1: Disable online mode

  1. Go to panel.baires.host → select your server
  2. Navigate to Files → open server.properties
  3. Find and change:
terminal
online-mode=false
  1. Save and restart the server

Step 2: Install AuthMe (required)

Without authentication, anyone can join using any username, including impersonating admins. AuthMe forces players to register and log in.

  1. Download AuthMe from SpigotMC or Modrinth
  2. In the panel, go to Filesplugins/ folder
  3. Upload the AuthMe .jar file
  4. Restart the server

Step 3: Configure AuthMe

After first start, edit plugins/AuthMe/config.yml:

yaml
settings:
  sessions:
    enabled: true
    timeout: 60
security:
  minPasswordLength: 6
  passwordHash: BCRYPT
registration:
  enabled: true
  force: true

Save and restart.

How players use AuthMe

  • First time: /register <password> <password>
  • Returning: /login <password>

Security recommendations

  • Always use AuthMe or a similar auth plugin when in offline mode
  • Set passwordHash: BCRYPT for secure password storage
  • Enable session support so players don't need to log in every time they reconnect
  • Consider using LoginSecurity as an alternative to AuthMe

Important warning

Offline mode disables UUID consistency. If you switch between online and offline mode, player data (inventory, location) may be lost because UUIDs change.


Was this guide helpful?