Leather Auth Bridge
概述
Leather Auth Bridge 是一款适用于 Bukkit/Paper 服务器的轻量级身份验证插件,它为 Leather Client 玩家提供无缝登录体验,同时完全兼容原版身份验证系统。
功能说明
该插件提供两种身份验证路径:
- Leather Client 用户 — 在加入服务器时通过其 Leather 会话令牌自动进行身份验证
- 原版玩家 — 使用传统的
/register 和 /login 命令
两者独立运行,互不干扰。
为什么需要它
如果您希望在服务器上支持 Leather Client,此插件将解锁完整的游戏体验。没有它,Leather Client 玩家需要像其他所有人一样手动进行身份验证。有了它,他们可以获得无缝的加入体验,而原版玩家则继续使用正常的身份验证命令。
主要特性
- 双重身份验证系统(Leather Client + 原版)
- 可配置的安全设置
- 会话管理命令
- 局域网服务器支持离线模式
- 轻量级,对性能影响极小
- 兼容 Paper、Spigot 和 Bukkit
安装与设置
- 下载
leather-auth-bridge.jar
- 将其放入
/plugins 文件夹
- 重启服务器(配置文件自动生成)
- 编辑
/plugins/LeatherAuth/config.yml 并设置一个随机密钥
- 运行
/leather reload
要求
- 服务器: Paper、Spigot 或 Bukkit (1.19+)
- Java: 17 或更高版本
- Leather Client: v1.0.0+(客户端侧)
配置
# LeatherAuth config.yml
secret: CHANGE_THIS_TO_A_LONG_RANDOM_STRING
allow-vanilla: true
kick-message: "Authentication failed. Please use Leather Client or /login."
offline-mode: false
将 secret 更改为长随机字符串(32 个字符以上)——请妥善保管以确保安全。
管理员命令
/leather reload — 无需重启即可重新加载配置
/leather status — 查看活跃会话
/leather revoke <player> — 撤销玩家的会话
需要 leather.admin 权限。
故障排除
- 玩家加入时被踢出? 服务器配置与客户端设置中的密钥不匹配
- 插件无法加载? 确保您正在运行 Paper 或 Spigot
- 自动登录失败? 验证玩家是否使用的是 Leather Client v1.0.0+
支持
加入 Leather Client Discord 频道:
Leather Auth Bridge
Overview
Leather Auth Bridge is a lightweight authentication plugin for Bukkit/Paper servers that enables seamless login for Leather Client players while maintaining full compatibility with vanilla authentication systems.
What It Does
The plugin provides two authentication paths:
- Leather Client users — Authenticate automatically on join using their Leather session token
- Vanilla players — Use traditional
/register and /login commands
Both work independently without interfering with each other.
Why You Need It
If you want to support Leather Client on your server, this plugin unlocks the full experience. Without it, Leather Client players have to manually authenticate like everyone else. With it, they get a seamless join experience while vanilla players continue using normal auth commands.
Key Features
- Dual authentication system (Leather Client + vanilla)
- Configurable security settings
- Session management commands
- Offline mode support for LAN servers
- Lightweight with minimal performance impact
- Works with Paper, Spigot, and Bukkit
Installation & Setup
- Download
leather-auth-bridge.jar
- Drop it in
/plugins folder
- Restart server (config auto-generates)
- Edit
/plugins/LeatherAuth/config.yml and set a random secret
- Run
/leather reload
Requirements
- Server: Paper, Spigot, or Bukkit (1.19+)
- Java: 17 or higher
- Leather Client: v1.0.0+ (on player side)
Configuration
# LeatherAuth config.yml
secret: CHANGE_THIS_TO_A_LONG_RANDOM_STRING
allow-vanilla: true
kick-message: "Authentication failed. Please use Leather Client or /login."
offline-mode: false
Change the secret to a long random string (32+ characters) — keep it secure.
Admin Commands
/leather reload — Reload config without restart
/leather status — View active sessions
/leather revoke <player> — Revoke a player's session
Requires leather.admin permission.
Troubleshooting
- Players kicked on join? Secret mismatch between server config and client settings
- Plugin won't load? Ensure you're running Paper or Spigot
- Auto-login failing? Verify player is using Leather Client v1.0.0+
Support
Join the Leather Client Discord:
评论 0
登录后参与评分
还没有评论,来抢沙发吧