跳到正文

NefAuth

作者:Prime_21k

A secure, server-only NeoForge 1.21.1 authentication mod with /login and /register commands.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

NefAuth – Simple Login & Register for NeoForge

A lightweight, secure, and server-only authentication mod designed for NeoForge 1.21.1.

Perfect for large modpacks like All the Mods (ATM) running in offline mode (online-mode=false) to prevent unauthorized access and account theft.

Features

  • Server-Only: Players do not need to install this mod on their clients. Just drop it into the server’s mods folder.
  • Secure Hashing: Password protection using secure hashing algorithms (no plain-text passwords stored).
  • Session Management: Prevents players from moving, chatting, or executing commands before logging in.
  • NeoForge Native: Built specifically for NeoForge 1.21.1, ensuring maximum compatibility without the need for buggy hybrid server jars (like Arclight/Mohist).

Commands

  • /register <password> <confirmPassword> – Register a new account.
  • /login <password> – Log into your account.
  • /changepassword <oldPassword> <newPassword> – Change your current password.

Installation & Setup

  1. Download the .jar file for NeoForge 1.21.1.
  2. Place it into your server’s mods directory.
  3. Restart the server.

Passwords are saved in the usernamecache.json file.

常见问题

NefAuth 支持哪些 Minecraft 版本?

NefAuth 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

NefAuth 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分