ZailthAuth
一个面向 Paper 服务器的轻量级身份验证插件,旨在通过 Floodgate 提供原生 Bedrock 支持,为玩家提供安全且简单的身份验证功能。
开源代码
Copyright © 2026 Mapbuat
ZailthAuth 采用 MIT 许可证。
您可以自由使用、复制、修改和分发 ZailthAuth 的代码,包括用于商业目的。
条件如下:
- 在副本或代码的重要部分中必须保留创作者名称和许可证通知。
- 您不得删除所分享代码中的版权声明。
ZailthAuth 按“原样”提供,不保证软件始终无错误或缺陷。创作者不对因使用本软件而产生的任何损失负责。
官方仓库:
功能特性
- ? Java 版注册与登录
- ? Bedrock 版自动登录
- ? SQLite 数据库
- ? 安全的 PBKDF2 密码哈希
- ⏱️ 持久化登录会话
- ?️ 认证前的保护机制
- ⚙️ 可配置会话时长
- ? 管理员重置账号命令
命令
玩家命令
/register <password> <password>
注册一个新的 Java 版账号。
/login <password>
登录已有的 Java 版账号。
管理员命令
/auth reset <player>
重置某玩家的认证账号。
权限
zailthauth.admin
用于使用 /auth 管理命令所需权限。
默认:操作员(Operator)
Bedrock 支持
ZailthAuth 会自动检测通过 Floodgate 连接的玩家。
Bedrock 玩家:
Java 版玩家继续使用常规的注册和登录系统。
会话
ZailthAuth 支持持久化认证会话。
默认配置下,玩家的会话将保持活跃约 30 天。
会话时长可在 config.yml 中进行配置。
要求
- Paper 1.21.11
- Java 21
- Floodgate
配置
该插件使用简单的 YAML 配置文件:
session:
enabled: true
duration-minutes: 43800
ZailthAuth
A lightweight authentication plugin for Paper servers, designed to provide secure and simple player authentication with native Bedrock support through Floodgate.
open source-code
Copyright © 2026 Mapbuat
ZailthAuth menggunakan lisensi MIT.
Kamu bebas menggunakan, menyalin, memodifikasi, dan membagikan kode ZailthAuth, termasuk untuk keperluan komersial.
Syaratnya:
- Nama pembuat dan pemberitahuan lisensi harus tetap disertakan dalam salinan atau bagian penting dari kode.
- Kamu tidak boleh menghapus pemberitahuan hak cipta dari kode yang dibagikan.
ZailthAuth disediakan apa adanya, tanpa jaminan bahwa software akan selalu bebas dari bug atau masalah. Pembuat tidak bertanggung jawab atas kerugian yang timbul dari penggunaan software ini.
Repository resmi:
Features
- ? Java Edition registration and login
- ? Bedrock Edition auto-login
- ? SQLite database
- ? Secure PBKDF2 password hashing
- ⏱️ Persistent login sessions
- ?️ Protection before authentication
- ⚙️ Configurable session duration
- ? Admin account reset command
Commands
Player Commands
/register <password> <password>
Register a new Java Edition account.
/login <password>
Log into an existing Java Edition account.
Admin Commands
/auth reset <player>
Reset a player's authentication account.
Permissions
zailthauth.admin
Required to use /auth administration commands.
Default: Operator
Bedrock Support
ZailthAuth automatically detects players connected through Floodgate.
Bedrock players:
- Do not need to register.
- Do not need to log in.
- Can enter the server immediately.
Java Edition players continue to use the normal registration and login system.
Sessions
ZailthAuth supports persistent authentication sessions.
The default configuration keeps a player's session active for approximately 30 days.
Session duration can be configured in config.yml.
Requirements
- Paper 1.21.11
- Java 21
- Floodgate
Configuration
The plugin uses a simple YAML configuration file:
session:
enabled: true
duration-minutes: 43800
评论 0
登录后参与评分
还没有评论,来抢沙发吧