OfflineAuth
A lightweight authentication mod for Minecraft servers. Supports registration, login, inventory protection, brute-force prevention, and auto-login based on IP.
介绍
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
常见问题
OfflineAuth 支持哪些 Minecraft 版本?
OfflineAuth 支持 Minecraft Java 版 1.20.1–1.20.6,共 6 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
OfflineAuth 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
YuWan030 的其他作品
查看全部 →
ClearDrops
A server-side-only Forge 1.20 mod that cleans up dropped items into a shared recycle bin. It supports automatic/manual collection, retrieval via the vanilla chest GUI, hot‑reloadable configuration, gradient‑colored messages, an item blacklist, pre‑collec
TrueUUID
TrueUUID lets premium and offline-mode Minecraft players play together on the same server. Premium players keep their real Minecraft UUID and skin, while offline players can still join normally.
SafeFarmland
A simple mod for protecting farmland, compatible with most modded farmlands.
Banitems
A Minecraft Forge mod designed for server administrators to flexibly manage and restrict in-game items, supporting both soft bans and hard bans to maintain server balance and gameplay rules.
评论
登录后评论和评分