All Mods Resource Packs Data Packs Shaders Modpacks Plugins
OfflineAuth

OfflineAuth

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

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

How to Install OfflineAuth (Mod)

OfflineAuth by YuWan030 is verified for Forge across Minecraft versions 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6 (latest release: 1.0.3, file size: 23 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6) and platform (Forge).
  2. Make sure you have the compatible loader or environment installed for Forge.
  3. Move the downloaded OfflineAuth file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.x
Forge
last yr. 1
1.20.x
Forge
last yr. 1
1.20.x
Forge
last yr. 1
[1.0.3] OfflineAuth 1.0.3 by YuWan030 on Oct 31, 2025
Download
The configuration file repair is not working.
[1.0] OfflineAuth 1.0 by YuWan030 on Sep 08, 2025
Download
### English:
> **Requires [TrueUUID](https://github.com/YuWan-030/TrueUUID) mod as a dependency!**
### 简体中文:
> **需要 [TrueUUID](https://github.com/YuWan-030/TrueUUID) 模组作为前置!**
OfflineAuth Icon
Download OfflineAuth
Select game version
Select platform