EN · $ USD
Security, DDoS and Backups

AuthMe Setup: Account Security for Offline-Mode Servers

7 min read Updated: OyunBulut technical team

In short

AuthMe makes every player on an offline-mode (online-mode=false) Minecraft server set a password with /register on first join and verify with /login on every join after that. Even if someone joins with your name, they can't do anything without the password. The right setup: forced registration, inventory protection before login, a per-IP registration limit, a strong hash, and staff names registered before the server opens.

In this guide
  1. What is offline mode, and what exactly is the risk?
  2. What AuthMe does and doesn't do
  3. AuthMe setup step by step
  4. Critical config.yml settings
  5. Password policy and hash choice
  6. Database connection: SQLite or MySQL?
  7. Player and admin commands
  8. Extra settings against brute-force attempts
  9. Checklist before opening your server
  10. A warning if you use a proxy
  11. Next steps

On a Minecraft server running in offline mode, nobody verifies who a player is; anyone can type any username and join. AuthMe (now called AuthMeReloaded) closes this gap by forcing every player to set a password on first join and to log in with it on every join after that. This guide covers AuthMe setup, the critical settings, password policy and the MySQL connection, and it is upfront about what AuthMe does and doesn't solve.

What is offline mode, and what exactly is the risk?

The online-mode=true setting in server.properties verifies every joining player's account with Microsoft/Mojang servers. When the value is false, in other words in offline mode, that check is turned off completely. The consequences:

  • Anyone can set their name to Kurucu (or whatever your owner name is) in their client and join the server as you.
  • The player ID (UUID) is derived from the username. Anyone who knows the name gets access to that name's inventory, homes, land claims and ranks.
  • If OP or admin permissions are tied to a username, the whole server can be taken over by typing a single name.

To be honest, the safest option is online-mode=true. AuthMe is a layer that greatly reduces the risk for servers that choose offline mode; it does not replace online mode.

If you're thinking about switching modes, know this: the same username produces different UUIDs in online and offline mode. Switching after your server is up makes player inventories, stats, land claims and LuckPerms ranks "disappear"; the data isn't deleted, but it stays tied to the old UUID. So make the decision on day one, and if you do switch, take a full backup first.

What AuthMe does and doesn't do

What AuthMe providesWhat AuthMe doesn't solve
Required registration and password login for every nameWhoever registers an unclaimed name first owns it
Movement, chat and commands blocked until loginGuessing weak passwords or passwords reused on other sites
Inventory hidden before loginBackend servers behind a proxy left open to direct access
Per-IP registration limit and failed-login limitAccount sharing, social engineering and leaked passwords
Passwords stored as hashesReal identity verification that comes with a Microsoft account

AuthMe setup step by step

  1. Decide on your staff names. Before you open the server to players, you'll register your own name and every staff name. If you skip this step, whoever registers your name first owns the account.
  2. Download the latest AuthMeReloaded release from its official source and upload it to the plugins/ folder.
  3. Restart the server. plugins/AuthMe/config.yml and the message files are created.
  4. Apply the settings below and restart the server again.
  5. Join the server and register your own name, then create the other staff accounts from the console.
  6. Grant permissions with a permissions plugin instead of OP. For the rank structure, see our LuckPerms setup guide.

Critical config.yml settings

The section below shows the main keys you need to change in the default file. Key names can vary slightly between versions; instead of copying the whole file, search for these keys in your own config.yml and change them.

settings:
    messagesLanguage: 'tr'
    sessions:
        enabled: false
    restrictions:
        allowChat: false
        timeout: 60
        maxRegPerIp: 1
        ForceSingleSession: true
        ProtectInventoryBeforeLogIn: true
        allowedNicknameCharacters: '[a-zA-Z0-9_]*'
        minNicknameLength: 3
        maxNicknameLength: 16
    security:
        minPasswordLength: 8
        passwordHash: 'BCRYPT'
    registration:
        enabled: true
        force: true
        type: 'PASSWORD'
        secondArg: 'CONFIRMATION'
  • messagesLanguage: 'tr' Shows AuthMe messages in Turkish. Set it to your players' language code instead, for example en for English.
  • sessions.enabled: false With sessions on, players can rejoin from the same IP without a password for a set time. That's risky on shared networks or in internet cafes, so keeping it off is safer.
  • allowChat: false Stops players who haven't logged in from typing in chat.
  • timeout The time in seconds a player has to log in; when it runs out, they're kicked.
  • maxRegPerIp The number of accounts that can be created from one IP. You can set it to 2 if siblings play from the same home.
  • ForceSingleSession: true Rejects a second login with the same name while the account is online.
  • ProtectInventoryBeforeLogIn: true Hides the inventory before login.
  • allowedNicknameCharacters Limits usernames to letters, numbers and underscores, which makes look-alike impersonation names harder.

Password policy and hash choice

AuthMe stores passwords as hashes, not plain text. For new installs, choose a slow, salted algorithm such as BCRYPT or ARGON2; even if your database leaks one day, cracking the passwords becomes much harder. You can change the hash algorithm after users have registered, but older records need a migration setting, so make the decision up front.

  • Require at least 8 characters.
  • Keep the common-passwords list from the default file and add local variants, for example 123456, sifre123 (Turkish for "password123") and your server's name.
  • Turn on the failed-login limit and temporary bans; they slow down brute-force attempts.
  • Make it a rule that staff never reuse their password anywhere else. If your plugin version supports it, enable two-factor authentication (TOTP) for staff.

Database connection: SQLite or MySQL?

By default, AuthMe stores its data in an SQLite file in the plugin folder. That's enough for a single server. If several servers need to share the same accounts, or you want to show account info on your website, use MySQL or MariaDB. First create the database and user:

CREATE DATABASE authme CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'authme'@'localhost' IDENTIFIED BY 'GucluBirSifre_2026';
GRANT ALL PRIVILEGES ON authme.* TO 'authme'@'localhost';
FLUSH PRIVILEGES;

Then edit the data source section in config.yml:

DataSource:
    backend: 'MYSQL'
    mySQLHost: '127.0.0.1'
    mySQLPort: '3306'
    mySQLUsername: 'authme'
    mySQLPassword: 'GucluBirSifre_2026'
    mySQLDatabase: 'authme'
    mySQLTablename: 'authme'

If you're moving from SQLite to MySQL, use AuthMe's converter command to migrate existing accounts; if you only change the setting, players have to register again and their names can be grabbed. The AuthMe database is some of the most critical data on your server; follow our Minecraft server backup guide to back it up regularly.

Player and admin commands

# Player commands
/register Sifre123! Sifre123!
/login Sifre123!
/changepassword EskiSifre YeniSifre

# Admin commands (can also be typed in the console without the slash)
/authme register Moderator1 GeciciSifre!
/authme unregister SupheliOyuncu
/authme changepassword OyuncuAdi YeniSifre
/authme lastlogin OyuncuAdi
/authme reload

Before resetting the account of a player who forgot their password, verify who they are through Discord or past records. Account recovery requests are the most common social engineering trick on offline servers.

Extra settings against brute-force attempts

Bots that try password after password on a registered account are common on offline servers. AuthMe's security section has settings that limit failed logins and temporarily block an IP after a set number of attempts:

Security:
    tempban:
        enableTempban: true
        maxLoginTries: 5
        tempbanLength: 60
    captcha:
        useCaptcha: true
        maxLoginTry: 3

In this example, an IP is blocked for 60 minutes after five failed attempts, and after three failed logins the player is asked for a verification code (captcha). Tune the values for your community; a limit that's too strict also punishes real players who mistype their password.

Checklist before opening your server

  1. The owner and all staff names are registered, with unique passwords of at least 8 characters.
  2. The OP list (ops.json) is empty or only contains accounts managed from the console.
  3. Registration is required, chat and commands are blocked before login, and inventory protection is on.
  4. A hash algorithm is chosen, and registration/login has been tested with a test account.
  5. The AuthMe database is part of your backup plan.
  6. If you use a proxy, you've confirmed that backend server ports can't be reached from outside.

A warning if you use a proxy

If you've built a server network with Velocity or BungeeCord, AuthMe usually runs on the lobby server where players land first, together with an extra proxy-side plugin that blocks server switching until the player logs in. More importantly: if backend servers can be reached directly, bypassing the proxy, an attacker can connect straight to a server that doesn't run AuthMe. Close backend server ports to the outside and configure forwarding correctly; details are in our building a server network with Velocity guide.

Next steps

AuthMe is a very lightweight plugin; your player count and other plugins determine how many resources you need. For a survival server with a login system, LuckPerms, EssentialsX and protection plugins, the OB-MC-2 Minecraft server plan with 4 CPUs and 6 GB of RAM is a solid start. You can compare all plans for different player counts on the Minecraft server plans page. Account security doesn't end with a plugin; you also need protection at the network layer. OyunBulut Minecraft servers run with DDoS protection in our Istanbul data center, and thanks to automatic setup you can add AuthMe to your new server from the very first minute.

Frequently asked questions

Do I need AuthMe on an online-mode server?

No. On servers with online-mode=true, the Microsoft account is already verified, so AuthMe isn't needed. AuthMe is only for offline-mode servers.

What do I do if a player forgets their AuthMe password?

After verifying the player's identity, an admin can change the password with /authme changepassword <player> <newPassword>, or delete the registration with /authme unregister so the player can register again.

Does AuthMe completely stop name stealing?

It largely stops it for registered names, but whoever registers an unclaimed name first owns it. That's why registering staff names before the server opens and using strong passwords is essential.

Which hashing algorithm should I choose for AuthMe?

For new installs, salted and slow algorithms such as BCRYPT or ARGON2 are recommended. Decide during setup; changing it later requires an extra migration setting.

How do I connect AuthMe to MySQL?

In the DataSource section of config.yml, set backend to MYSQL, enter the host, port, username, password and database name, then restart the server.

For this guide

Recommended plans

If you want to run a secure offline survival server with AuthMe, LuckPerms and protection plugins, OB-MC-2 is a balanced start on DDoS-protected infrastructure in Istanbul.

OB-MC-2

Recommended

6 GB RAM

$5.31/mo

+VAT

  • Processor4 CPU
  • Disk45 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

2 GB RAM

$3.54/mo

+VAT

  • Processor2 CPU
  • Disk20 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

8 GB RAM

$6.88/mo

+VAT

  • Processor4 CPU
  • Disk55 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

Minecraft — tüm paketler

Need help with setup?

Send questions about your service in a support ticket, and our technical team will walk you through it step by step.