Skip to content

AuthMe setup

Set up login and registration for your server and get ready-made lines for config.yml with an explanation for each.

Presets

What to change in config.yml: 0

Everything matches the default config for now. Pick a preset or change the settings below, and the lines to paste will appear here.

Basics

Message language and account mode

Plugin message languagesettings.messagesLanguage

The language AuthMe uses to tell players “register” and “enter your password”. English by default; for a Russian server set ru.

Language from the game clientsettings.perPlayerLocale

Each player gets messages in their game language, and the language above is used as a fallback.

Server Namesettings.serverName

Inserted into the plugin's messages and emails.

Let licensed players in without a passwordsettings.enablePremium

Players with an official Minecraft account join without entering a password, everyone else as usual. The plugin picks the verification method itself.

A nickname in different case is someone else'ssettings.preventOtherCase

If Xephi is registered, XEPHI and xephi won't be able to log in. Protects against impersonation using different letter case.

Registration

How a player creates an account for the first time

Registration enabledsettings.registration.enabled

Turn it off and new players won't be able to create an account.

Play only after logging insettings.registration.force

Without registering and logging in a player can't do anything. Exceptions are set in the restrictions section below.

Registration typesettings.registration.type

PASSWORD: the player picks their own password. EMAIL: a password is generated and sent to the email address they provided.

Second /register argumentsettings.registration.secondArg

NONE: the password is entered once. CONFIRMATION: it must be repeated as the second word. EMAIL_OPTIONAL and EMAIL_MANDATORY: the second argument is an email, optional or required.

Remind to log in everysettings.registration.messageInterval

How often the plugin repeats the “log in or register” message to the player.

seconds
Accounts per IPsettings.restrictions.maxRegPerIp

How many times you can register from one address. 0 means no limit. One is harsh on people who play together from the same home.

Kick if not registered withinsettings.restrictions.registerTimeout

How many seconds a player has to register. 0 means never kick.

seconds
Require /login right after registrationsettings.registration.forceLoginAfterRegister

After registering successfully the player must log in again with the command.

Kick after registrationsettings.registration.forceKickAfterRegister

The player is kicked right after registering so they rejoin. Don't enable together with the /login requirement above.

Sign in

What happens when a player enters the password

Kick if not logged in withinsettings.restrictions.loginTimeout

How many seconds a player has to enter the password. 0 means never kick.

seconds
Kick on wrong passwordsettings.restrictions.kickOnWrongPassword

The player is kicked from the server right after a mistake. Helps against brute forcing but annoys regular players.

Kick unregistered playerssettings.restrictions.kickNonRegistered

A player without an account is kicked right on join. This is private server mode.

One login per accountsettings.restrictions.ForceSingleSession

An online player can't be kicked by someone joining with the same nickname (“Logged in from another Location”). Closes a well-known session hijacking hole.

Logins per IPsettings.restrictions.maxLoginPerIp

How many players can be logged in from one address. 0 means no limit.

Joins per IPsettings.restrictions.maxJoinPerIp

How many connections are allowed from one address. 0 means no limit.

Sessions

So you don't enter the password after every disconnect

Before login

What a player may do before entering the password

Password

Length, banned passwords and storage method

Usernames

Which names are allowed on the server at all

Bots and brute force

Protection against mass joins and password guessing

FAQ

Where do I paste these lines?

Into the plugins/AuthMe/config.yml file on the server. The builder outputs only the changed keys, keeping their nesting: find the same path in your file and set the value. There's no need to replace the whole file, since it has settings that aren't here. After editing, restart the server or run /authme reload.

How do I change the plugin's message language?

Set settings.messagesLanguage to the language code you need, for example ru. The default is en, so a freshly installed AuthMe talks to players in English. There's also settings.perPlayerLocale: when it's on, each player gets messages in their game language, and the value above is used as a fallback.

Players complain they have to enter their password after every disconnect

Enable sessions: set settings.sessions.enabled to true and set settings.sessions.timeout, for example to 30 minutes. The plugin remembers the nickname and IP, and won't ask for the password from the same address during that time. The session ends if the IP changes, and that can't be configured.

What do I do if the server is under a bot attack?

The plugin has a built-in antibot: Protection.enableAntiBot is on by default, and Protection.antiBotSensibility sets how many joins per interval count as an attack. A captcha after several wrong passwords and a temporary address ban for brute forcing also help. The “Under a bot attack” preset above turns all of this on at once.

Be careful with the country filter

Protection.enableProtection restricts joining to a list of countries, but by default that list contains US, GB and LOCALHOST. If you enable the protection without editing the list, players from every other country will stop being able to join. Country codes are two-letter ISO 3166 codes.

Can licensed players join without a password?

Yes, that's what settings.enablePremium does. Players with an official Minecraft account are verified automatically and don't enter a password, everyone else joins as usual. The plugin picks the verification method automatically.

Which password storage method should I choose?

The default is SHA256. BCRYPT and ARGON2 are deliberately slow to compute, and that's the point: brute forcing becomes expensive. Important: if you change the algorithm on a live server, add the old one to settings.security.legacyHashes, otherwise people won't be able to log in with their passwords.

A guest can see other people's builds before logging in

Enable settings.restrictions.teleportUnAuthedToSpawn: before logging in the player stays at spawn, and after logging in returns to where they left. This is usually paired with hiding chat and blocking movement.

Where the data comes from

Setting names and default values were taken from the plugin's official documentation on September 1, 2026. The builder has the settings people actually change by hand; the plugin creates the rest itself.

Explained in words — guides on the topic

See also