All Mods Resource Packs Data Packs Shaders Modpacks Plugins
AlwaysAuth

AlwaysAuth

by GamerDuck123 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

I have opened a support discord, join now! https://discord.gg/uHm8EbfCFr

AlwaysAuth

AlwaysAuth is a fallback authentication solution for Minecraft servers that ensures your players can log in even if Mojang's authentication servers experience downtime. Unlike traditional offline-mode workarounds, AlwaysAuth keeps your server in online mode while providing a seamless failover mechanism to a local authentication system.


How It Works

AlwaysAuth operates by inserting a local authentication server between your Minecraft server and Mojang’s official authentication servers:

  1. When a player tries to log in, AlwaysAuth first sends the authentication request to Mojang.
  2. If Mojang is online and responds, the request passes back to your server normally.
  3. If Mojang is offline, AlwaysAuth uses its local fallback system to verify the user.

This approach ensures:

  • Instant failover: No waiting for periodic checks. Even short outages are handled seamlessly.
  • Online mode stays enabled: You never have to switch your server to offline mode.
  • Reliable authentication during extended downtime: Long outages are handled just as smoothly.

AlwaysAuth vs AlwaysOnline

Feature AlwaysAuth AlwaysOnline
Spigot Support ✅ ✅
Paper Support ✅ ✅
BungeeCord Support ❌* ✅
Velocity Support ✅ ✅
Sponge Support ❌** ✅
Fabric Support ✅ ❌
NeoForge Support ✅ ❌
Instant Failover ✅ ❌
Online Mode Stays Enabled ✅ ❌
Remote Database Support ✅ ✅
Records Metrics ❌ ✅
Multiple Security Modes ✅ ❌
IP-Based Validation ✅ ✅

*There is no possible way to set a custom session server on bungeecord, nor ever will according to md_5, see here. I will be creating a work around that involves many extra steps, however I recommend switching to Velocity or using the Standalone jar

**Sponge support is planned to be added later, I am just unfamiliar with the SpongeAPI


Key Benefits

  • Keep Online Mode Active: No need to compromise security for downtime.
  • Supports Multiple Platforms: Works with Spigot, Paper, BungeeCord, Velocity, Fabric, and NeoForge.
  • Flexible Authentication: Choose from multiple security modes and fallback methods.
  • Reliable: Handles both short blips and extended Mojang outages effortlessly.

Installation

  1. Download the AlwaysAuth plugin for your server platform.
  2. Place the plugin in your server’s plugins (or equivalent) folder.
  3. Restart your server.
  4. Configure AlwaysAuth in the config file to enable features like local authentication, remote database support, or IP-based validation.

Give yourself the permission alwaysauth.admin to access the commands


Configuration

AlwaysAuth provides a flexible configuration file where you can:

  • Enable or disable specific fallback methods.
  • Set up remote databases for cross-server authentication.
  • Choose between different security modes.
###################################
#                                 #
#    Always Auth Configuration    #
#                                 #
###################################

# Whether or not there should be debug message
# This won't work on the standalone jar
debug=false
# Check for updates and notify staff (and console) on join who have the permission alwaysauth.admin
check-updates=true
# The ip for the session server
# If set anything other than 127.0.0.1 or 0.0.0.0 (allows public access), it will treat as external server
# An external server means only port needs to be set (to match that external server) and it will use that to authenticate.
# Please note as of right now you will not see console logs on the server if you are using an external server
ip-address=127.0.0.1
# Port for the session server
port=8765

###########################
#    Security Settings    #
###########################

# Enable HMAC-SHA256 signature verification for authorized servers
# Currently DISABLED by default due to Minecraft URL handling limitations
# Use firewall rules or localhost restriction for access control instead
# Database encryption works regardless of this setting
authentication-enabled=true
# Secret key for database encryption (auto-generated)
# KEEP THIS SECRET! Used to encrypt IP addresses and profile data in database
# If deleted database will need to also be reset!
# To regenerate, delete this line and restart the server
secret-key=GENERATED ON STARTUP

###########################
#    Fallback Settings    #
###########################

# Enable session fallback when Mojang servers are down
fallback-enabled=true
# Maximum hours a player can stay offline before requiring re-authentication (0 = always require)
max-offline-hours=72
# Days before old session data is cleaned up
cleanup-days=30
# Security level: 'basic' (always verify) or 'medium' (use max-offline-hours)
security-level=basic
# Upstream Session Server URL
# Default is Mojang's official one but this option is here to work with things like minehut's external servers
upstream-server=https://sessionserver.mojang.com

###########################
#    Database Settings    #
###########################

# Database type: h2, mysql, or mariadb
database.type=h2
# Database host (not used for H2)
database.host=localhost
# Database port (not used for H2)
database.port=3306
# Database name
database.name=minecraft
# Database username (not used for H2)
database.username=root
# Database password (not used for H2)
database.password=

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2
Neoforge
14h ago 1
26.2
Babric Fabric Quilt
14h ago 1
26.1.1
Babric Fabric Quilt
14h ago 1
26.1
Babric Fabric Quilt
14h ago 1
26.1.2
Neoforge
14h ago 1
26.1.1
Neoforge
14h ago 1
26.1
Neoforge
14h ago 1
1.21.11
Neoforge
14h ago 1
26.1.2
Babric Fabric Quilt
14h ago 1
1.21.x 1.20.x
Neoforge
14h ago 1
1.21.11
Babric Fabric Quilt
14h ago 1
1.21.x 1.20.x
Babric Fabric Quilt
14h ago 1
1.19.x
Babric Fabric Quilt
14h ago 1
1.18.x
Babric Fabric Quilt
14h ago 1
1.17.x
Babric Fabric Quilt
14h ago 1
1.16.x
Babric Fabric Quilt
14h ago 1
1.15.x
Babric Fabric Quilt
14h ago 1
1.14.4
Babric Fabric Quilt
14h ago 1
26.2 26.1.x 1.21.x +13
Velocity
14h ago 1
26.2 26.1.x 1.21.x +13
Spigot
14h ago 1
26.2 26.1.x 1.21.x
Paper Purpur
14h ago 1
26.1
Babric Fabric Quilt
14h ago 1
26.1 1.21.x 1.20.x +12
Velocity
14h ago 1
26.1 1.21.x 1.20.x +12
Spigot
14h ago 1
26.1 1.21.x
Paper Purpur
14h ago 1
1.21.x 1.20.x
Neoforge
14h ago 1
26.1
Neoforge
14h ago 1
1.21.11
Neoforge
14h ago 1
1.21.x 1.20.x
Babric Fabric Quilt
14h ago 1
1.21.11
Babric Fabric Quilt
14h ago 1
1.21.11
Neoforge
14h ago 1
1.21.11
Velocity
14h ago 1
1.21.11
Spigot
14h ago 1
1.21.11
Paper Purpur
14h ago 1
1.21.11
Babric Fabric Quilt
14h ago 1
1.21.10
Velocity
14h ago 1
1.21.10
Velocity
14h ago 1
1.21.10
Babric Fabric Quilt
14h ago 1
1.21.10
Velocity
14h ago 1
1.21.10
Spigot
14h ago 1
1.21.10
Paper Purpur
14h ago 1
1.21.10
Neoforge
14h ago 1
1.21.10
Babric Fabric Quilt
14h ago 1
1.21.10
Neoforge
14h ago 1
1.21.10
Velocity
14h ago 1
1.21.10
Spigot
14h ago 1
1.21.10
Paper Purpur
14h ago 1
1.21.10
Neoforge
14h ago 1
1.21.10
Babric Fabric Quilt
14h ago 1
1.21.10
Babric Fabric Quilt
14h ago 1
1.21.10
Velocity
14h ago 1
1.21.10
Spigot
14h ago 1
1.21.10
Paper Purpur
14h ago 1
1.21.10
Neoforge
14h ago 1
1.21.10
Babric Fabric Quilt
14h ago 1
1.21.10
Velocity
14h ago 1
1.21.10
Spigot
14h ago 1
1.21.10
Paper Purpur
14h ago 1
1.21.10
Neoforge
14h ago 1
1.21.10
Fabric Quilt
14h ago 1
1.21.10
Neoforge
14h ago 1
1.21.10
Paper
14h ago 1
1.21.10
Spigot
14h ago 1
1.21.10
Velocity
14h ago 1
# v0.5.1 - 26.2 Support
This update adds official support for 26.2
# v0.5.1 - 26.2 Support
This update adds official support for 26.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.1 - 26.1+ Support
This update adds official support for 26.1.1 and 26.1.2
# v0.5.0 - All the versions!
This update brings support for many different versions than the latest, in some cases all the way down to 1.8.8 up to 26.1!

I plan on expanding *all* server types to go down to 1.8.8 and the latest version, just the modded platforms take a bit longer!

Here is a full list of supported versions now:

| Version | Support Range |
|------------|----------------|
| Spigot | 1.8.8 -> 26.1 |
| Paper* | 1.8.8 -> 26.1 |
| Fabric | 1.20 -> 26.1 |
| Neoforge** | 1.20.4 -> 26.1 |

\* With paper before 1.21.4 you can use the spigot, as paper specific plugins didn't really exist before that

\** Neoforge doesn't offer support for below 1.20.4, so I have to do some digging to find information
[0.5.0-velocity] 0.5.0-velocity by GamerDuck123 on Oct 15, 2026
Download
# v0.5.0 - All the versions!
This update brings support for many different versions than the latest, in some cases all the way down to 1.8.8 up to 26.1!

I plan on expanding *all* server types to go down to 1.8.8 and the latest version, just the modded platforms take a bit longer!

Here is a full list of supported versions now:

| Version | Support Range |
|------------|----------------|
| Spigot | 1.8.8 -> 26.1 |
| Paper* | 1.8.8 -> 26.1 |
| Fabric | 1.20 -> 26.1 |
| Neoforge** | 1.20.4 -> 26.1 |

\* With paper before 1.21.4 you can use the spigot, as paper specific plugins didn't really exist before that

\** Neoforge doesn't offer support for below 1.20.4, so I have to do some digging to find information
[0.5.0-spigot] 0.5.0-spigot by GamerDuck123 on Oct 15, 2026
Download
# v0.5.0 - All the versions!
This update brings support for many different versions than the latest, in some cases all the way down to 1.8.8 up to 26.1!

I plan on expanding *all* server types to go down to 1.8.8 and the latest version, just the modded platforms take a bit longer!

Here is a full list of supported versions now:

| Version | Support Range |
|------------|----------------|
| Spigot | 1.8.8 -> 26.1 |
| Paper* | 1.8.8 -> 26.1 |
| Fabric | 1.20 -> 26.1 |
| Neoforge** | 1.20.4 -> 26.1 |

\* With paper before 1.21.4 you can use the spigot, as paper specific plugins didn't really exist before that

\** Neoforge doesn't offer support for below 1.20.4, so I have to do some digging to find information
[0.5.0-paper] 0.5.0-paper by GamerDuck123 on Oct 15, 2026
Download
# v0.5.0 - All the versions!
This update brings support for many different versions than the latest, in some cases all the way down to 1.8.8 up to 26.1!

I plan on expanding *all* server types to go down to 1.8.8 and the latest version, just the modded platforms take a bit longer!

Here is a full list of supported versions now:

| Version | Support Range |
|------------|----------------|
| Spigot | 1.8.8 -> 26.1 |
| Paper* | 1.8.8 -> 26.1 |
| Fabric | 1.20 -> 26.1 |
| Neoforge** | 1.20.4 -> 26.1 |

\* With paper before 1.21.4 you can use the spigot, as paper specific plugins didn't really exist before that

\** Neoforge doesn't offer support for below 1.20.4, so I have to do some digging to find information
# v0.5.0 - All the versions!
This update brings support for many different versions than the latest, in some cases all the way down to 1.8.8 up to 26.1!

I plan on expanding *all* server types to go down to 1.8.8 and the latest version, just the modded platforms take a bit longer!

Here is a full list of supported versions now:

| Version | Support Range |
|------------|----------------|
| Spigot | 1.8.8 -> 26.1 |
| Paper* | 1.8.8 -> 26.1 |
| Fabric | 1.20 -> 26.1 |
| Neoforge** | 1.20.4 -> 26.1 |

\* With paper before 1.21.4 you can use the spigot, as paper specific plugins didn't really exist before that

\** Neoforge doesn't offer support for below 1.20.4, so I have to do some digging to find information
# v0.5.0 - All the versions!
This update brings support for many different versions than the latest, in some cases all the way down to 1.8.8 up to 26.1!

I plan on expanding *all* server types to go down to 1.8.8 and the latest version, just the modded platforms take a bit longer!

Here is a full list of supported versions now:

| Version | Support Range |
|------------|----------------|
| Spigot | 1.8.8 -> 26.1 |
| Paper* | 1.8.8 -> 26.1 |
| Fabric | 1.20 -> 26.1 |
| Neoforge** | 1.20.4 -> 26.1 |

\* With paper before 1.21.4 you can use the spigot, as paper specific plugins didn't really exist before that

\** Neoforge doesn't offer support for below 1.20.4, so I have to do some digging to find information
# v0.5.0 - All the versions!
This update brings support for many different versions than the latest, in some cases all the way down to 1.8.8 up to 26.1!

I plan on expanding *all* server types to go down to 1.8.8 and the latest version, just the modded platforms take a bit longer!

Here is a full list of supported versions now:

| Version | Support Range |
|------------|----------------|
| Spigot | 1.8.8 -> 26.1 |
| Paper* | 1.8.8 -> 26.1 |
| Fabric | 1.20 -> 26.1 |
| Neoforge** | 1.20.4 -> 26.1 |

\* With paper before 1.21.4 you can use the spigot, as paper specific plugins didn't really exist before that

\** Neoforge doesn't offer support for below 1.20.4, so I have to do some digging to find information
# v0.5.0 - All the versions!
This update brings support for many different versions than the latest, in some cases all the way down to 1.8.8 up to 26.1!

I plan on expanding *all* server types to go down to 1.8.8 and the latest version, just the modded platforms take a bit longer!

Here is a full list of supported versions now:

| Version | Support Range |
|------------|----------------|
| Spigot | 1.8.8 -> 26.1 |
| Paper* | 1.8.8 -> 26.1 |
| Fabric | 1.20 -> 26.1 |
| Neoforge** | 1.20.4 -> 26.1 |

\* With paper before 1.21.4 you can use the spigot, as paper specific plugins didn't really exist before that

\** Neoforge doesn't offer support for below 1.20.4, so I have to do some digging to find information
# v0.5.0 - All the versions!
This update brings support for many different versions than the latest, in some cases all the way down to 1.8.8 up to 26.1!

I plan on expanding *all* server types to go down to 1.8.8 and the latest version, just the modded platforms take a bit longer!

Here is a full list of supported versions now:

| Version | Support Range |
|------------|----------------|
| Spigot | 1.8.8 -> 26.1 |
| Paper* | 1.8.8 -> 26.1 |
| Fabric | 1.20 -> 26.1 |
| Neoforge** | 1.20.4 -> 26.1 |

\* With paper before 1.21.4 you can use the spigot, as paper specific plugins didn't really exist before that

\** Neoforge doesn't offer support for below 1.20.4, so I have to do some digging to find information
AlwaysAuth Icon
Download AlwaysAuth
Select game version
Select platform