AuthMeReloaded
“Bukkit 模组 API 的最佳认证插件!”
描述
防止服务器上的用户名被盗!
可用于保护你的离线模式服务器,或增强在线模式服务器的安全性!
AuthMeReloaded 禁止未通过身份验证的玩家执行放置方块、移动、
输入命令或使用物品栏等操作。它还可以踢出名字异常长或短的异常玩家,或将来自被禁国家的玩家踢出服务器。
借助会话登录功能,你每次连接到服务器时都不必再执行认证命令!
所有命令和功能均可在我们的结构清晰的配置文件中启用或禁用。
你还可以创建自己的翻译文件,如果你愿意,可以与我们分享! :)
特性:
- 为 Spigot Legacy(1.16–1.19)、Spigot 1.21(1.20–1.21)、Paper 1.21+ 和 Folia 1.21+ 提供专用构建版本
- 原生代理插件支持 BungeeCord 和 Velocity
- 电子邮件恢复系统!
- 用户名伪装防护。
- 国家白名单/黑名单! (国家代码)
- 内置反机器人系统!
- 强制登录功能:管理员可通过控制台命令使用所有账号登录!
- 避免显示“已从其他位置登录”的消息!
- 支持双因素认证 (2FA)!
- 会话登录!
- 消息以每位玩家客户端的 Minecraft 语言呈现,并支持服务器语言回退
- 可编辑的翻译和消息!
- 支持 MySQL、MariaDB、PostgreSQL 和 SQLite 后端!
- 支持的密码加密算法:SHA256、ARGON2、BCRYPT、PBKDF2、PBKDF2BASE64 — 完整列表
- 支持从外部系统导入哈希值以实现零停机迁移(XFBCRYPT、MYBB、PHPBB、JOOMLA、WORDPRESS、WBB3/WBB4、IPB3 以及 更多)
- 自定义 MySQL 表/列名(适用于论坛数据库)
- 缓存数据库查询!
- 完全兼容 Citizens2、CombatTag、CombatTagPlus!
- 图形化登录/注册对话框,可选 Paper/Folia 加入前对话框
- 受限用户(将用户名与 IP 关联)
- 在正确认证之前保护玩家的物品栏(需要 PacketEvents)
- 正版豁免:Mojang 账号持有者可跳过密码认证(需要 PacketEvents)
- 保存玩家退出时的位置
- 认证前投出的末影珍珠将在登录时返还给玩家
- 登录和注册拥有独立的超时设置
- 在
/email add 和 /email change 保存之前需要确认电子邮件地址
- 自动数据库备份
- 可用语言:翻译文件
- Auth+、LibreLogin、LimboAuth、nLogin、OpeNLogin、tiAuth 的账号导入器——以及内置的 SQLite ↔ MySQL/MariaDB/PostgreSQL 迁移功能。
配置
如何配置 AuthMe
对话框界面
AuthMe 可以显示图形化登录/注册对话框,而不是基于聊天的提示。
settings.registration.dialog.postJoin.enable 启用 加入后 对话框流程。
settings.registration.dialog.preJoin.enable 在 Paper/Folia 上启用 加入前 对话框流程。
- 这两个选项是独立的:你可以启用其中一个、全部启用或都不启用。
- 加入前对话框目前需要支持现代对话框功能的服务器版本,例如 Paper/Folia 1.21.11+。
- 当启用正版豁免时,已验证的正版玩家会完全跳过加入前对话框。
正版豁免
AuthMe 可以让拥有合法 Mojang 账号的玩家完全跳过密码认证。
身份验证是通过在 Minecraft 登录阶段与 Mojang 会话服务器进行密码学握手来完成的——永远不会显示密码提示。
- 在
config.yml 中通过 settings.enablePremium: true 启用。
- 玩家通过
/premium 选择加入,通过 /freemium 选择退出(必须已登录)。管理员可以使用 /authme premium <player> / /authme freemium <player> 添加或移除玩家。
- 直连(离线模式,无代理): 需要 PacketEvents 2.x。如果没有它,启动时将禁用正版豁免(故障关闭)。
- 位于在线模式代理之后(Velocity / BungeeCord): 代理会与 Mojang 进行认证并转发经过验证的 UUID —— 后端不需要 PacketEvents。在后端设置
Hooks.bungeecord: true。
- 位于离线模式代理之后: 在代理上安装
authme-velocity 或 authme-bungee;正版玩家由代理按玩家进行认证,并将经过验证的 UUID 转发到后端。
- 完整文档:docs/premium.md
命令
命令列表及用法
权限
- authme.player.* - 用于所有玩家命令
- authme.admin.* - 用于所有管理员命令
- 所有权限节点列表
使用方法
链接与联系方式
要求
编译要求:
authme-core、authme-tools 和 authme-spigot-legacy 需要 JDK 17+
- 完整的多模块构建(
authme-bungee、authme-spigot-1.21、authme-paper-common、authme-paper、authme-folia、authme-velocity)需要 JDK 21+
- Maven (3.8.8+)
- Git/GitHub(可选)
如何编译项目:
- 使用 Git/GitHub 克隆项目
- 执行命令
mvn clean package
- 使用 JDK 17 时,Maven 仅构建兼容 Java 17 的模块
- 使用 JDK 21+ 时,Maven 构建完整的 Reactor
- 构建和工具命令参考:docs/build.md
运行要求:
- 请使用与你的服务器平台/版本匹配的 jar 包:
- Java 17+:
AuthMe-*-Spigot-Legacy.jar — Spigot 1.16.x – 1.19.x
- Java 21+:
AuthMe-*-Spigot-1.21.jar — Spigot 1.20.x – 1.21.x
- Java 21+:
AuthMe-*-Paper.jar — Paper 1.21+
- Java 21+:
AuthMe-*-Folia.jar — Folia 1.21+
- Java 21+:
AuthMe-*-Bungee.jar — BungeeCord / Waterfall 代理 (1.19 API)
- Java 21+:
AuthMe-*-Velocity.jar — Velocity 3.4+ 代理
- PacketEvents 2.x(可选插件;在直连模式下用于库存保护、Tab 补全拦截和高级玩家绕过)
致谢
贡献者:
团队成员:开发者, 翻译人员
旧版插件的贡献者:d4rkwarriors, fabe1337, Whoami2 和 pomo4ka
还要感谢:AS1LV3RN1NJA, Hoeze 和 eprimex
GeoIP 许可证:
本产品使用了由 MaxMind 创建的 GeoLite API 数据,详情见
AuthMeReloaded
"The best authentication plugin for the Bukkit modding API!"
Description
Prevent username stealing on your server!
Use it to secure your Offline mode server or to increase your Online mode server's protection!
AuthMeReloaded disallows players who aren't authenticated to do actions like placing blocks, moving,
typing commands or using the inventory. It can also kick players with uncommonly long or short player names or kick players from banned countries.
With the Session Login feature, you don't have to execute the authentication command every time you connect to the server!
Each command and every feature can be enabled or disabled from our well-structured configuration file.
You can also create your own translation file and, if you want, you can share it with us! :)
Features:
- Dedicated builds for Spigot Legacy (1.16–1.19), Spigot 1.21 (1.20–1.21), Paper 1.21+, and Folia 1.21+
- Native proxy plugins for BungeeCord and Velocity
- E-Mail Recovery System!
- Username spoofing protection.
- Countries Whitelist/Blacklist! (country codes)
- Built-in AntiBot System!
- ForceLogin Feature: Admins can login with all account via console command!
- Avoid the "Logged in from another location" message!
- Two-factor (2FA) support!
- Session Login!
- Messages served in each player's own Minecraft client language, with server-language fallback
- Editable translations and messages!
- MySQL, MariaDB, PostgreSQL and SQLite Backend support!
- Supported password encryption algorithms: SHA256, ARGON2, BCRYPT, PBKDF2, PBKDF2BASE64 — full list
- Supports hashes from external systems for zero-downtime migration (XFBCRYPT, MYBB, PHPBB, JOOMLA, WORDPRESS, WBB3/WBB4, IPB3, and more)
- Custom MySQL tables/columns names (useful with forum databases)
- Cached database queries!
- Fully compatible with Citizens2, CombatTag, CombatTagPlus!
- Graphical login/register dialogs, with optional Paper/Folia pre-join dialogs
- Restricted users (associate a username with an IP)
- Protect player's inventory until correct authentication (requires PacketEvents)
- Premium bypass: Mojang-account holders skip password auth (requires PacketEvents)
- Saves the quit location of the player
- Ender pearls thrown before authentication are returned to the player on login
- Separate timeouts for login and registration
- Email address confirmation required before saving on
/email add and /email change
- Automatic database backup
- Available languages: translations
- Account importers for Auth+, LibreLogin, LimboAuth, nLogin, OpeNLogin, tiAuth — and built-in SQLite ↔ MySQL/MariaDB/PostgreSQL migration.
Configuration
How to configure AuthMe
Dialog UI
AuthMe can display graphical login/register dialogs instead of chat-based prompts.
settings.registration.dialog.postJoin.enable enables the post-join dialog flow.
settings.registration.dialog.preJoin.enable enables the pre-join dialog flow on Paper/Folia.
- Both options are independent: you can enable either one, both, or neither.
- Pre-join dialogs currently require modern dialog-capable server versions such as Paper/Folia 1.21.11+.
- Verified premium players skip the pre-join dialog entirely when premium bypass is enabled.
Premium bypass
AuthMe can let players with a legitimate Mojang account skip password authentication entirely.
Identity is verified via a cryptographic handshake with Mojang's session server during the
Minecraft login phase — no password prompt is ever shown.
- Enable with
settings.enablePremium: true in config.yml.
- Players opt in with
/premium and out with /freemium (must be logged in). Admins can enrol or remove players with /authme premium <player> / /authme freemium <player>.
- Direct-connection (offline-mode, no proxy): requires PacketEvents 2.x. Without it, premium bypass is disabled at startup (fail-closed).
- Behind an online-mode proxy (Velocity / BungeeCord): the proxy authenticates with Mojang and forwards the verified UUID — no PacketEvents needed on the backend. Set
Hooks.bungeecord: true on the backend.
- Behind an offline-mode proxy: install
authme-velocity or authme-bungee on the proxy; premium players are authenticated per-player by the proxy and the verified UUID is forwarded to the backend.
- Full documentation: docs/premium.md
Commands
Command list and usage
Permissions
How To
Links and Contacts
Requirements
Compiling requirements:
- JDK 17+ for
authme-core, authme-tools, and authme-spigot-legacy
- JDK 21+ for the full multi-module build (
authme-bungee, authme-spigot-1.21, authme-paper-common, authme-paper, authme-folia, authme-velocity)
- Maven (3.8.8+)
- Git/GitHub (Optional)
How to compile the project:
- Clone the project with Git/GitHub
- Execute command
mvn clean package
- With JDK 17, Maven builds only the Java 17-compatible modules
- With JDK 21+, Maven builds the full reactor
- Build and tooling command reference: docs/build.md
Running requirements:
- Use the jar matching your server platform/version:
- Java 17+:
AuthMe-*-Spigot-Legacy.jar — Spigot 1.16.x – 1.19.x
- Java 21+:
AuthMe-*-Spigot-1.21.jar — Spigot 1.20.x – 1.21.x
- Java 21+:
AuthMe-*-Paper.jar — Paper 1.21+
- Java 21+:
AuthMe-*-Folia.jar — Folia 1.21+
- Java 21+:
AuthMe-*-Bungee.jar — BungeeCord / Waterfall proxy (1.19 API)
- Java 21+:
AuthMe-*-Velocity.jar — Velocity 3.4+ proxy
- PacketEvents 2.x (optional plugin; required for inventory protection, tab-complete blocking, and premium bypass in direct-connection mode)
Credits
Contributors:
Team members: developers, translators
Credits for the old version of the plugin: d4rkwarriors, fabe1337, Whoami2 and pomo4ka
Thanks also to: AS1LV3RN1NJA, Hoeze and eprimex
GeoIP License:
This product uses data from the GeoLite API created by MaxMind, available at
评论 0
登录后参与评分
还没有评论,来抢沙发吧