Compatibility
Minecraft: Java Edition
1.20.1โ1.20.6
Platforms
Supported environments
Dedicated servers only
Links
Creators
Details
Licensed LGPL-3.0-only
Published 9 months ago
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
- Install TrueUUID mod on your server. (Required!)
- Place the OfflineAuth mod jar in your server's
modsfolder. - Start your server once to generate the config files.
- Edit
config.jsonas needed. - Restart the server.
License
LGPLv3


