OfflineAuth

OfflineAuth

A lightweight authentication mod for Minecraft servers. Supports registration, login, inventory protection, brute-force prevention, and auto-login based on IP.

by
2.8K Downloads
forge
Rent Server with this Mod

About this Mod

OfflineAuth

English | 简体中文

A lightweight authentication mod for Minecraft servers.
Supports registration, login, inventory protection, brute-force prevention, and auto-login based on IP.

Requires TrueUUID mod as a dependency!

Features

  • Register/Login/Change Password — Secure commands for players.
  • Inventory Protection — Unauthenticated player's inventory is backed up and restored on login.
  • Brute-force Protection — Too many failed attempts will lock the account for a configurable period and kick the player.
  • IP Auto-login — Players can be automatically logged in within a set time window if they join from the same IP.
  • Configurable Messages — All prompts and behaviors can be customized in config/offlineauth/config.json.
  • No interference with online (premium) accounts — Only offline UUID players are affected.
  • Command /auth help — View all available commands.

Commands

  • /register <password> <confirm> — Register a new account.
  • /login <password> — Login to your account.
  • /changepassword <old> <new> — Change your password.
  • /auth help — Show help information.

Configuration

Edit config/offlineauth/config.json to customize:

  • timeoutSeconds — Kick unauthenticated players after X seconds.
  • maxFailAttempts — Maximum login/register failures before lock/kick.
  • failLockSeconds — Lockout duration after too many failures.
  • autoLoginEnable — Enable/disable auto-login feature.
  • autoLoginExpireSeconds — Time window for IP-based auto-login.
  • messages — Customize all prompts and warnings.

Security Notice

  • Auto-login (same IP) is convenient, but insecure on public computers/networks. Always warn players to protect their accounts.
  • Passwords are stored in plain text (by default), use at your own risk or extend for encryption.

How to Install

  1. Install TrueUUID mod on your server. (Required!)
  2. Place the OfflineAuth mod jar in your server's mods folder.
  3. Start your server once to generate the config files.
  4. Edit config.json as needed.
  5. Restart the server.

License

LGPLv3

Available Versions

OfflineAuth 1.0.3release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
October 31, 2025
OfflineAuth 1.0.2release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
October 6, 2025
OfflineAuth 1.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
September 8, 2025

How to Install OfflineAuth on Your Server

1

Order Server

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

2

Set forge Loader

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

3

Install Mod

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

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.6, 1.20.5, 1.20.4 (+3 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

OfflineAuth server crashes on startup – what to do?

Most common cause: wrong forge 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 (1.20.6). You can switch loaders with one click in the panel.

Is OfflineAuth compatible with forge?

OfflineAuth officially supports forge for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with OfflineAuth – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if OfflineAuth 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 OfflineAuth 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
GNU Lesser General Public License v3.0 only
Server-side
Required

Supported Versions

1.20.61.20.51.20.41.20.31.20.21.20.1