Skip to content

About

The best authentication plugin for the Bukkit/Spigot API!

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

AuthMeRemastered

"The best authentication plugin for the Bukkit modding API!"

AuthMeLogo

Type Badges
Code quality: Code Climate Coverage status
Jenkins CI: Jenkins Status Build Status Jenkins Tests
Other CIs: Build Status

Download

Every commit to master is built and published automatically: Latest release (tag build-<run number>).

File For
AuthMeRemastered-<version>-<sha>-universal.jar Default download. Spigot/Paper/Folia 1.16-1.21.x, BungeeCord/Waterfall and Velocity 4.x in one file. Each server loads only its own platform code. Spigot side: Java 8+ (Java 21 enables the dialog adapter); BungeeCord side: Java 21+; Velocity side: Java 25. See docs/MIGRATION.md.
AuthMeRemastered-<version>-<sha>-Spigot.jar Spigot 1.8.8+ , Paper and Folia: one jar, adapter chosen at startup (Java 8 base bytecode; Java 21 adds the dialog adapter)
AuthMeRemastered-<version>-<sha>-Bungee.jar / -Velocity.jar Proxies
AuthMeRemastered-API-<version>-<sha>.jar Developer API (events only), see docs/API.md

AuthMeRemastered is a distribution by ArkFlame Studios; the plugin id/name stays AuthMe, so existing configs, permissions and databases keep working.

Setup

  1. Download the universal jar and put it in the plugins/ folder. Keep exactly one AuthMe jar per server.
  2. Start the server once so plugins/AuthMe/config.yml is written, then stop it and edit the settings you need.
  3. For BungeeCord or Velocity: copy the proxySharedSecret that the proxy generated into Hooks.proxySharedSecret on every backend server, then restart. The startup log reports CONFIGURATION ERROR for a missing, placeholder or short secret. See docs/proxies/configuration.md.

Upgrading from the separate Spigot 1.8, Bungee or Velocity jars: docs/MIGRATION.md.

Remaster goal

The remaster keeps the plugin leaner, faster and lower on memory while preserving observable behavior: configuration keys, messages, permissions, plugin id and packages stay unchanged. Every change must make the code smaller, clearer, faster, more memory-efficient or more reliable unless it fixes a documented bug. The long-term target is a single Java 8 server jar using runtime capability detection; today authme-core stays at Java 8 bytecode and Spigot, Paper and Folia share one -Spigot.jar (adapter selected at startup, Java 17+ baseline). The proxies remain separate jars because they target different APIs. Supported platforms and their Java baselines are listed in the module table below and under Requirements. See docs/REMASTER.md for the refactor workflow and verification rules, docs/ARCHITECTURE.md for the platform layer, docs/MODULES.md for the two-pass Spigot build and adapter selection, and docs/build.md for commands.

Modules

The reactor builds seven submodules — four by default and three through the java21-modules profile — plus the root aggregator, for eight reactor modules in total. Together they produce the universal jar (Spigot, Bungee and Velocity in one file, the default download), the standalone Spigot, Bungee and Velocity jars, and the API jar. Paper and Folia ship inside the Spigot jar.

Module Artifact Target
authme-api AuthMeRemastered-API-*.jar Java 8, public events API
authme-core shaded into every server jar Java 8, shared authentication logic
authme-tools build/converter tooling (no server jar) Java 17
authme-spigot -Spigot.jar (shaded, Maven classifier Spigot: authme-spigot-<ver>-Spigot.jar; published as AuthMeRemastered-<ver>-<sha>-Spigot.jar) single Spigot jar for 1.8.8+, Java 8 base bytecode, Java 21 adapter, shaded libraries (ConfigMe, HikariCP, JDBC drivers, …)
authme-bungee -Bungee.jar BungeeCord/Waterfall, Java 21
authme-universal -universal.jar (default download) Packages the Spigot, Bungee and Velocity module outputs into one jar; no sources are copied. Verified by UniversalJarIT in verify
authme-velocity -Velocity.jar Velocity 4.x (built against 4.3.1), Java 25

Description

Prevent username stealing on your server!
Use it to secure your Offline mode server or to increase your Online mode server's protection!

AuthMeRemastered 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:

  • One Spigot jar for Spigot 1.8.8 and newer, Paper and Folia (adapter chosen at startup)
  • Native proxy plugins for BungeeCord and Velocity
  • 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!
  • Messages served in each player's own Minecraft client language, with server-language fallback
  • Editable translations and messages!
  • MySQL, MariaDB, PostgreSQL and SQLite Backend support!
  • Supported password encryption algorithms: SHA256, ARGON2, BCRYPT, PBKDF2, PBKDF2BASE64 — full list
  • Supports hashes from external systems for zero-downtime migration (XFBCRYPT, MYBB, PHPBB, JOOMLA, WORDPRESS, WBB3/WBB4, IPB3, and more)
  • Custom MySQL tables/columns names (useful with forum databases)
  • Cached database queries!
  • Fully compatible with Citizens2, CombatTag, CombatTagPlus!
  • Graphical login/register dialogs, with optional Paper/Folia pre-join dialogs
  • Restricted users (associate a username with an IP)
  • Protect player's inventory until correct authentication (requires PacketEvents)
  • Premium bypass: Mojang-account holders skip password auth (requires PacketEvents)
  • Saves the quit location of the player
  • Ender pearls thrown before authentication are returned to the player on login
  • Separate timeouts for login and registration
  • Email address confirmation required before saving on /email add and /email change
  • Automatic database backup
  • Available languages: translations
  • Account importers for Auth+, LibreLogin, LimboAuth, nLogin, OpeNLogin, tiAuth — and built-in SQLite ↔ MySQL/MariaDB/PostgreSQL migration.

Configuration

How to configure AuthMe

Dialog UI

AuthMe can display graphical login/register dialogs instead of chat-based prompts.

  • settings.registration.dialog.postJoin.enable enables the post-join dialog flow.
  • settings.registration.dialog.preJoin.enable enables the pre-join dialog flow on Paper/Folia.
  • Both options are independent: you can enable either one, both, or neither.
  • Pre-join dialogs currently require modern dialog-capable server versions such as Paper/Folia 1.21.11+.
  • Verified premium players skip the pre-join dialog entirely when premium bypass is enabled.

Premium bypass

AuthMe can let players with a legitimate Mojang account skip password authentication entirely. Identity is verified via a cryptographic handshake with Mojang's session server during the Minecraft login phase — no password prompt is ever shown.

  • Enable with settings.enablePremium: true in config.yml.
  • Players opt in with /premium and out with /freemium (must be logged in). Admins can enrol or remove players with /authme premium <player> / /authme freemium <player>.
  • Direct-connection (offline-mode, no proxy): requires PacketEvents 2.x. Without it, premium bypass is disabled at startup (fail-closed).
  • Behind an online-mode proxy (Velocity / BungeeCord): the proxy authenticates with Mojang and forwards the verified UUID — no PacketEvents needed on the backend. Set Hooks.bungeecord: true on the backend.
  • Behind an offline-mode proxy: install authme-velocity or authme-bungee on the proxy; premium players are authenticated per-player by the proxy and the verified UUID is forwarded to the backend.
  • Full documentation: docs/premium.md

Commands

Command list and usage

Permissions

How To

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.2-SNAPSHOT</version>
              <scope>provided</scope>
          </dependency>
      </dependencies>
  • Statistics: Graph

Requirements

Compiling requirements:
  • JDK 17+ for the default modules: authme-api, authme-core, authme-tools and authme-spigot
  • JDK 21+ for the java21-modules profile (authme-bungee, authme-universal, authme-velocity needs JDK 25)
  • JDK 25+ for authme-velocity (Java 25 bytecode), so the full reactor requires JDK 25+
  • 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 four default modules
  • With JDK 21+, Maven also builds the java21-modules profile; authme-spigot compiles in two passes (Java 8 base and Java 21 adapter bytecode) into one -Spigot.jar; authme-universal then packages the Spigot, Bungee and Velocity jars into the -universal.jar
  • The full reactor requires JDK 25+ for authme-velocity
  • Build and tooling command reference: docs/build.md
Offline build and test commands (JDK 25 path):
Purpose Command
Full build, no tests JAVA_HOME=/usr/lib/jvm/zulu25-ca-amd64 mvn -o -q -DskipTests -Dcheckstyle.skip -Dmaven.javadoc.skip=true package
Core tests mvn -o test -pl authme-core -Dtest='ClassA,ClassB'
API tests mvn -o test -pl authme-api
Proxy modules JAVA_HOME=/usr/lib/jvm/zulu25-ca-amd64 mvn -o test -pl authme-bungee,authme-spigot,authme-velocity -am
One core test class mvn -o test -pl authme-core -Dtest=ClassName -DfailIfNoTests=false

Worker runs use offline (-o), scoped, deterministic tests only: no live server tests, no network calls and no long hash benchmarks. A passing worker suite is evidence for its scope only; after merging, the orchestrator runs module tests and then the full mvn -o test with JDK 25, and only a green reactor counts as PASS. See docs/REMASTER.md and AGENTS.md.

Running requirements:
  • Use the jar matching your server platform/version:
  • Any server: AuthMeRemastered-*-universal.jar — default download, Spigot/Paper/Folia, BungeeCord and Velocity in one file
  • Java 8+: AuthMeRemastered-*-Spigot.jar — one jar for Spigot, Paper and Folia 1.8.8+ (Java 21 enables the dialog adapter)
  • Java 21+: AuthMeRemastered-*-Bungee.jar — BungeeCord / Waterfall proxy (built against the 1.21 API)
  • Java 25+: AuthMeRemastered-*-Velocity.jar — Velocity 4.x proxy (built against 4.3.1)
  • PacketEvents 2.x (optional plugin; required for inventory protection, tab-complete blocking, and premium bypass in direct-connection mode)

Attribution and license

AuthMeRemastered is a lean fork of AuthMe/AuthMeReloaded, maintained by ArkFlame Studios. It is distributed under the GNU General Public License v3.0; the full text is in LICENSE. Configuration, permissions and databases remain compatible with the upstream plugin.

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

About

The best authentication plugin for the Bukkit/Spigot API!

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages