Gamehost

AuthMe: password login on a non-premium Minecraft server

Why a server with online-mode=false needs a login plugin, how to set up AuthMe Reloaded, the player and admin commands, and when premium mode is the better choice.

Gamehost team·5 min read·Updated:
Minecraft serverPlans from 2 GB RAM

Server ready a moment after payment. You can change the plan in the panel at any time, your world stays.

If your server runs with online-mode=false, anyone can join under any name, including yours. A login plugin such as AuthMe Reloaded closes that gap with a password tied to each name.

Why a non-premium server needs a login

With online-mode=false, players without a paid Minecraft account can join too. That has one consequence: the server does not ask Mojang whether the player owns the name. It accepts whatever name the player types into the launcher.

  • Anyone can join with an admin's name and get their OP and ranks.
  • A whitelist does not protect you. It only checks the name, and the name can be set to anything.
  • A ban on a name is bypassed by changing the name, and players can impersonate each other.

A login plugin closes that gap. After joining, a player stands still and cannot do anything until they enter the password registered to their name. Without the password, nobody can take over the account. More on the whitelist and OP is in Whitelist and OP.

Installing AuthMe Reloaded

AuthMe Reloaded is a plugin for Paper, Purpur and Spigot. Current releases have separate files for Spigot and Paper, so pick the one that matches your engine and game version.

  1. Install AuthMe from the Plugins tab, or upload the file from Modrinth to plugins.
  2. Restart the server. The configuration appears in plugins/AuthMe/config.yml.
  3. Join the server right away and register your name, then ask the rest of your staff to do the same. A name nobody has registered can be claimed by the first person who uses it.
  4. Messages are in English by default. You can switch the language in config.yml, for example to German:
settings:
  messagesLanguage: de

By default accounts are stored in an SQLite file. For a network of several servers, or to make backups easier, you can move them to MySQL: create a database in the Databases tab, then set backend: MYSQL and the connection details in the DataSource section.

Commands for players and admins

CommandWhoWhat it does
/register password passwordplayercreates the account on first join
/login passwordplayerlogs in on every join
/changepassword old newplayerchanges the password
/authme register name passwordadmincreates an account for a player
/authme password name passwordadminsets a new password when a player forgot theirs
/authme unregister nameadmindeletes the account, the name is free again
/authme reloadadminreloads the configuration after changes

In config.yml it is worth reviewing the time allowed for logging in (the settings.restrictions section) and sessions (settings.sessions), which let players skip logging in again after a short disconnect from the same IP.

Ask players not to use the same password as for their email or Discord. AuthMe stores passwords as hashes, but a separate password for the server is a sensible habit.

The alternative: premium mode

If all your players own the game, a password login is not needed. In the Server settings tab, change online-mode to true and restart the server. Mojang then verifies every account, and impersonating a name is no longer possible. Players without a paid account will not be able to join.

Careful with an existing world. The server recognises players by UUID, and the same name has a different UUID in non-premium and premium mode. After switching, players join as new people: without the inventory, levels, homes and ranks tied to their old UUID. Take a backup and preferably switch modes early, before players have built much.

More about this option and the other settings is in server.properties explained.

Other plugins and versions for mods

  • LibreLogin (Paper, Velocity, BungeeCord) can log in players who own the game automatically and ask the rest for a password. Useful for a mixed community and for server networks.
  • There are also AuthMe forks adapted to the newest Paper versions. If the official release does not support your game version yet, look for them on Modrinth.
  • Plugins do not work on Fabric. There, the EasyAuth mod does a similar job, with /register and /login commands.

Install only one login system. Two at once will block each other.

The plugin installer, databases and backups come with every plan on our Minecraft server hosting.

FAQ

No. A whitelist only checks the name, and on a non-premium server anyone can set any name in the launcher. Only a login plugin such as AuthMe protects against impersonation.

An admin can set a new password with /authme password name new_password, or delete the account with /authme unregister name so the player can register again.

Yes, if all players own the game. On an existing world, switching modes changes players' UUIDs, so they lose their inventory and progress. Take a backup first.

No, AuthMe is a plugin for Paper and Spigot. On Fabric, the EasyAuth mod gives you a similar login.

In plugins/AuthMe/config.yml, set messagesLanguage in the settings section to the language code you want, for example de, then type /authme reload.

Your own Minecraft server

Plans from 3.79 € a month, set up in a few minutes and managed from one panel.

See plans