Alternative Authentication

Alternative Authentication

Use third-party authentication servers, like Ely.by, on your server without interfering with Mojang authentication

by
5.2K Downloads
fabricquiltmanagementutility
Rent Server with this Mod

About this Mod

Alternative Authentication

Alternative Authentication is a server-side mod that allows multiple third-party or custom authentication servers to coexist alongside Mojang's. By default, two providers are configured: Mojang and Ely.by. You can add, remove, or reorder them freely.

Requirements:

  • online-mode=true in server.properties
  • enforce-secure-profile=false is recommended, players joining via third-party providers don't have signed chat keys

Server-side only. Players using a third-party auth provider on the client need a compatible launcher or injector.

Features

  • ⚙️ Configurable list of authentication providers.
  • 🔐 Sequential provider fallback when a player joins the server
  • 🔒 Optional fallback prevention: if a username exists on a provider but authentication fails, further providers are not tried.
  • 👕 Player texture support (skin and cape) via third-party skin servers
  • 📝 Whitelist support across all configured providers

How It Works

Joining the Server

When a player connects, each configured provider is tried in order until one successfully authenticates the session. If no provider succeeds, the player is denied access.

If preventFallbackIfPlayerExists is enabled and a player's username is found on a provider but authentication fails, no further providers are attempted. This prevents a user registered on a fallback service from impersonating an account on an earlier provider.

Whitelist

When a player is added to the whitelist, each provider is queried in order until the username is resolved to a UUID. If the player is not found on any provider, they cannot be added. The order in which providers are checked is determined by the providers list in the config.

What if two players share the same username across providers?

By default, the first provider to resolve the username wins. If you need to whitelist a player whose username exists on a non-primary provider, temporarily reorder the providers list and add them manually with /whitelist add.

Configuration

The config file is created automatically at config/alternative-auth.json on first launch.

configVersion

The internal schema version. Managed automatically by the mod, do not edit this manually.

debugMode

When true, detailed logs are written to the console during authentication and whitelist operations. Useful for troubleshooting. Disabled by default.

preventFallbackIfPlayerExists

When true, stops the provider chain if a username is found on the current provider but authentication fails. Prevents username spoofing via fallback services, non-premium players with usernames unique to a fallback service are not affected. Disabled by default.

providers

The ordered list of authentication providers. Each entry supports the following fields:

Field Required Description
name Display name for the provider
checkUrl Session validation endpoint, queried when a player joins the server
profileUrl Single username to UUID lookup endpoint, used for whitelist operations
profilesUrl Batch username to UUID lookup endpoint
propertyUrl Endpoint for fetching player properties such as skin and cape. Use {0} for the player's username and {1} for their UUID
{
    "configVersion": 1,
    "debugMode": false,
    "preventFallbackIfPlayerExists": false,
    "providers": [
        {
            "name": "Mojang",
            "checkUrl": "https://sessionserver.mojang.com/session/minecraft/hasJoined",
            "profileUrl": "https://api.minecraftservices.com/minecraft/profile/lookup/name/",
            "profilesUrl": "https://api.minecraftservices.com/minecraft/profile/lookup/bulk/byname"
        },
        {
            "name": "Ely.by",
            "checkUrl": "https://authserver.ely.by/session/hasJoined",
            "profileUrl": "https://authserver.ely.by/api/users/profiles/minecraft/",
            "profilesUrl": "https://authserver.ely.by/api/profiles/minecraft",
            "propertyUrl": "http://skinsystem.ely.by/textures/signed/{0}"
        }
    ]
}

FAQ

Q: Can't join the server, "Invalid signature for profile public key"

A: Install No Chat Reports on your server. Installing it on the client is recommended but not required.

Q: Is Forge or NeoForge supported?

A: NeoForge support is planned.

Q: When will the mod be updated to the latest Minecraft version?

A: The mod targets the latest stable release and is updated as time allows. Snapshot support is not planned.

Q: I found a bug, have a suggestion, or the mod isn't working correctly

A: Feel free to open an issue on GitHub!

Available Versions

Alternative Auth 1.3.0 for Minecraft 26.1release
MC 26.1, 26.1.1, 26.1.2fabric
March 28, 2026
Alternative Auth 1.3.0 for Minecraft 1.21.9 - 1.21.11release
MC 1.21.9, 1.21.10, 1.21.11fabric
March 28, 2026
Alternative Auth 1.2.0 for Minecraft 1.21.9 - 1.21.11release
MC 1.21.9, 1.21.10, 1.21.11fabric, quilt
December 29, 2025
Alternative Auth 1.2.0 for Minecraft 1.21.5- 1.21.8release
MC 1.21.5, 1.21.6, 1.21.7, 1.21.8fabric, quilt
December 29, 2025
Alternative Auth 1.1.1 for Minecraft 1.20.2 - 1.21.4release
MC 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4fabric, quilt
February 19, 2025

How to Install Alternative Authentication on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Alternative Authentication". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricquilt

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+43 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Alternative Authentication server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Alternative Authentication compatible with fabric and quilt?

Alternative Authentication officially supports fabric, quilt for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Alternative Authentication – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Alternative Authentication consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Alternative Authentication with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.61.21.5+36 more