- Java 99.4%
- HTML 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github | ||
| .idea | ||
| authme-core | ||
| authme-folia | ||
| authme-paper | ||
| authme-paper-common | ||
| authme-spigot-1.21 | ||
| authme-spigot-legacy | ||
| authme-tools | ||
| docs | ||
| samples | ||
| .checkstyle.xml | ||
| .codeclimate.yml | ||
| .editorconfig | ||
| .gitignore | ||
| AGENTS.md | ||
| LICENSE | ||
| pom.xml | ||
| README.md | ||
| wallpaper.png | ||
AuthMeReloaded
"The best authentication plugin for the Bukkit modding API!"
| Type | Badges |
|---|---|
| Code quality: | |
| Jenkins CI: | |
| Other CIs: |
Description
Prevent username stealing on your server!
Use it to secure your Offline mode server or to increase your Online mode server's protection!
AuthMeReloaded disallows players who aren't authenticated to do actions like placing blocks, moving,
typing commands or using the inventory. It can also kick players with uncommonly long or short player names or kick players from banned countries.
With the Session Login feature, you don't have to execute the authentication command every time you connect to the server! Each command and every feature can be enabled or disabled from our well-structured configuration file.
You can also create your own translation file and, if you want, you can share it with us! :)
Features:
- E-Mail Recovery System!
- Username spoofing protection.
- Countries Whitelist/Blacklist! (country codes)
- Built-in AntiBot System!
- ForceLogin Feature: Admins can login with all account via console command!
- Avoid the "Logged in from another location" message!
- Two-factor (2FA) support!
- Session Login!
- Editable translations and messages!
- MySQL and SQLite Backend support!
- Supported password encryption algorithms: SHA256, ARGON2, BCRYPT, PBKDF2
- Supported alternative registration methods:
- PHPBB, VBulletin: PHPBB - MD5VB
- Xenforo: XFBCRYPT
- MyBB: MYBB
- IPB3: IPB3
- IPB4: IPB4
- PhpFusion: PHPFUSION
- Joomla: JOOMLA
- WBB3: WBB3*
- SHA512: SALTEDSHA512
- DoubleSaltedMD5: SALTED2MD5
- WordPress: WORDPRESS
- List of all supported hashes
- Custom MySQL tables/columns names (useful with forum databases)
- Cached database queries!
- Fully compatible with Citizens2, CombatTag, CombatTagPlus!
- Compatible with Minecraft mods like BuildCraft or RedstoneCraft
- Restricted users (associate a username with an IP)
- Protect player's inventory until correct authentication (requires ProtocolLib)
- Saves the quit location of the player
- Automatic database backup
- Available languages: translations
- Built-in deprecated FlatFile (auths.db) to SQL (authme.sql) converter!
- Import Auth+ accounts or migrate between SQLite and MySQL without losing AuthMe data.
Configuration
Email registrations use rolling 24-hour limits under Email.registrationLimits.
The limits default to 10 admitted registrations per untrusted domain and 30 across all untrusted domains.
Subdomains share the limit of their registrable parent, such as example.co.uk.
The trustedDomains list exempts exact email domains from these limits. Add custom domains there when needed.
Existing disposable-domain checks and per-email and per-IP account limits still apply.
Set enabled to false to disable the feature, or set either numeric limit to 0 to disable that limit.
Each admitted attempt consumes a slot before account storage or email delivery, including attempts that later fail.
The counters start empty when first enabled and survive restarts and configuration reloads.
AuthMe stores only domains and timestamps in plugins/AuthMe/email-registration-limits.tsv.
Keep that file and its .lock file in the persistent data directory. Separate data directories have separate counters.
If AuthMe cannot read or save the counters, it rejects registrations from untrusted domains until storage works again.
These limits apply to player registrations with email addresses. They do not limit existing-account recovery or email changes.
Email subjects are configured separately under Email.subjects: registration, passwordReset,
recoveryCode, and verification. Each subject supports <servername /> and <playername />.
If a subject is empty, AuthMe uses the existing Email.mailSubject value.
Email templates are stored in plugins/AuthMe/. New accounts use registration_email.html.
Replacement passwords use email.html. Recovery and verification codes use recovery_code_email.html
and verification_code_email.html. Each template explains the action and the command to enter in Minecraft.
AuthMe copies missing templates from the plugin JAR and preserves existing files during upgrades and reloads.
Existing installations must replace their template files to adopt the new designs.
Back up custom templates before replacing them with the reviewed files from authme-core/src/main/resources/.
Reload AuthMe after editing subjects or templates.
Paper/Folia dialogs use the existing settings.registration.useDialogUi option, which defaults to true.
They open after the player joins and cover login, registration, captcha, two-factor codes, and email recovery.
Every submission runs the normal auth command with the existing security checks and registration limits.
Players can select Use chat to continue with commands. Dialog text uses settings.messagesLanguage.
When settings.perPlayerLocale is enabled (the default), AuthMe uses the player's locale and falls back to that configured language.
New dialog keys include English defaults.
You can edit the dialog section in the messages files. The database and proxy integration stay unchanged.
Spigot keeps its existing login and registration dialogs.
Commands
Permissions
- authme.player.* - for all user commands
- authme.admin.* - for all admin commands
- List of all permission nodes
How To
- How to use the Auth+ converter
- Website integration
- Convert between database types (e.g. SQLite to MySQL):
/authme converter sqliteToSql
Links and Contacts
-
Support:
-
Dev resources:
<repositories> <repository> <id>codemc-repo</id> <url>https://repo.codemc.org/repository/maven-public/</url> </repository> </repositories> <dependencies> <dependency> <groupId>fr.xephi</groupId> <artifactId>authme-core</artifactId> <version>6.0.0-SNAPSHOT</version> <scope>provided</scope> </dependency> </dependencies>
Requirements
Compiling requirements:
- JDK 17+ for
authme-coreandauthme-spigot-legacy- JDK 21+ for the full multi-module build (
authme-spigot-1.21,authme-paper-common,authme-paper,authme-folia)- Maven (3.8.8+)
- Git/GitHub (Optional)
How to compile the project:
- Clone the project with Git/GitHub
- Execute command
mvn clean package- With JDK 17, Maven builds only the Java 17-compatible modules
- With JDK 21+, Maven builds the full reactor
- Build and tooling command reference: docs/build.md
Running requirements:
- Use the jar matching your server platform/version
- Java 17+ for
AuthMe-*-Spigot-Legacy.jar(Spigot 1.16.x – 1.19.x)- Java 21+ for:
AuthMe-*-Spigot-1.21.jar(Spigot 1.20.x – 1.21.x)AuthMe-*-Paper.jar(Paper 1.21+)AuthMe-*-Folia.jar(Folia 1.21+)- ProtocolLib (optional, required by some features)
Credits
Contributors:
Team members: developers, translators
Credits for the old version of the plugin: d4rkwarriors, fabe1337, Whoami2 and pomo4ka
Thanks also to: AS1LV3RN1NJA, Hoeze and eprimex
GeoIP License:
This product uses data from the GeoLite API created by MaxMind, available at https://www.maxmind.com