GUI 玩家身份验证插件 - 使用 PIN 码验证保护您的服务器
? GUI Player Authentication 是一款 Minecraft 插件,通过要求玩家在进入世界之前设置并输入安全 PIN 码来增强服务器安全性。该插件防止未授权访问,确保只有经过验证的玩家才能进行游戏。
? 功能特性
✅ PIN 注册与登录: 玩家在首次登录时必须注册一个4位数的 PIN 码(或任何配置的其他数值),并在后续登录时使用它进行身份验证。
✅ 自定义箱子 GUI: 玩家使用视觉上吸引人的箱子 GUI输入 PIN 码,其中使用浅蓝色染料物品来表示数字。
✅ 自动踢出系统: 如果玩家在30秒内未能完成身份验证,他们将被自动踢出服务器。
✅ PIN 验证: 如果输入的 PIN 码不正确,玩家将立即被踢出,以防止暴力破解尝试。
✅ 玩家限制: 在完成身份验证之前,玩家无法移动、聊天、执行命令或与世界进行互动。
✅ 失明效果: 未通过身份验证的玩家会获得永久失明效果,直到他们成功登录。
✅ 重置 PIN 命令 (/resetpin):玩家可以随时重置他们的 PIN 码并注册一个新的。
? 工作原理
-
新玩家:
- 加入时,如果玩家没有注册 PIN 码,他们会看到一个注册 GUI,必须在那里选择一个4位数的 PIN 码(或者根据
config.yml中输入的数字位数)。 - 确认后,PIN 码将安全地存储在 SQLite 数据库中,并且玩家将获得服务器的访问权限。
- 加入时,如果玩家没有注册 PIN 码,他们会看到一个注册 GUI,必须在那里选择一个4位数的 PIN 码(或者根据
-
回归玩家:
- 如果玩家已经有一个 PIN 码,他们将看到登录 GUI,并必须输入其正确的 PIN 码。
- 正确的 PIN 码将解除所有限制,而错误的 PIN 码会导致立即被踢出。
-
未认证玩家自动踢出:
- 如果玩家在 30 秒内未完成认证,将被自动踢出服务器。
-
PIN 重置:
- 玩家可以使用
/resetpin删除其 PIN 并重新开始注册流程。
- 玩家可以使用
? 命令与权限
| 命令 | 描述 | 权限 |
|---|---|---|
/resetpin |
重置玩家的 PIN 并提示重新注册。 | 所有玩家 |
? 配置 (config.yml)
# 用于 PIN 认证所需的位数
pin_length: 4
- 如有需要,可自定义 PIN 长度。
? 为什么使用此插件?
? 防止账号劫持: 确保只有真正的玩家才能登录自己的账号。传统的密码破解器针对的是 /login 认证,而此处不存在该机制。
? 防暴力破解保护: 对错误的 PIN 尝试立即踢出,防止未授权访问。
? 用户友好的图形界面: 玩家通过直观的箱子 GUI 进行交互,而非输入命令。
? 轻量且高效: 使用 SQLite 存储,设置简单且对服务器性能影响极小。
? 适用于私人服务器和公共服务器: 非常适合需要额外安全层的 SMP、小游戏服务器和角色扮演服务器。
? 安装步骤
- 下载插件
.jar文件。 - 将其放入 Minecraft 服务器的
/plugins文件夹中。 - 重启服务器。
- 在
/plugins/GUIPlayerAuth/config.yml中自定义设置(可选)。 - 享受更安全的 Minecraft 体验!
? 兼容性
✅ 支持 Minecraft 1.21+
✅ 兼容 Paper、Spigot 和 Bukkit 服务器
? 未来更新与功能
? MySQL 支持,用于多服务器认证
? 可配置的自动踢出时间
? 管理员覆盖命令
? 立即使用 GUI Player Authentication 保护你的服务器! ?
GUI Player Authentication Plugin - Secure Your Server with PIN Authentication
? GUI Player Authentication is a Minecraft plugin that enhances server security by requiring players to set up and enter a secure PIN before they can interact with the world. This plugin prevents unauthorized access, ensuring that only verified players can play.
? Features
✅ PIN Registration & Login: Players must register a 4-digit PIN (or any other configured value) on their first login and use it for future authentications.
✅ Custom Chest GUI: Players enter their PIN using a visually appealing Chest GUI with Light Blue Dye items representing digits.
✅ Auto-Kick System: If a player fails to authenticate within 30 seconds, they will be automatically kicked from the server.
✅ PIN Verification: If the entered PIN is incorrect, the player is kicked immediately to prevent brute-force attempts.
✅ Player Restrictions: Until authentication is complete, players cannot move, chat, execute commands, or interact with the world.
✅ Blindness Effect: Unauthenticated players receive a permanent blindness effect until they log in successfully.
✅ PIN Reset Command (/resetpin): Players can reset their PIN and register a new one at any time.
? How It Works
-
New Players:
- Upon joining, if the player has no PIN registered, they are shown a Register GUI where they must select a 4-digit PIN (or however many digits the user inputs in
config.yml. - Once confirmed, the PIN is stored securely in a SQLite database, and the player is granted access to the server.
- Upon joining, if the player has no PIN registered, they are shown a Register GUI where they must select a 4-digit PIN (or however many digits the user inputs in
-
Returning Players:
- If the player already has a PIN, they are shown the Login GUI and must enter their correct PIN.
- A correct PIN removes all restrictions, while an incorrect PIN results in an immediate kick.
-
Auto-Kick for Unauthenticated Players:
- If a player does not authenticate within 30 seconds, they are automatically kicked from the server.
-
PIN Reset:
- Players can use
/resetpinto delete their PIN and start the registration process again.
- Players can use
? Commands & Permissions
| Command | Description | Permission |
|---|---|---|
/resetpin |
Resets the player's PIN and prompts for re-registration. | All Players |
? Configuration (config.yml)
# The number of digits required for PIN authentication
pin_length: 4
- Customizable PIN length if needed.
? Why Use This Plugin?
? Prevents Account Hijacking: Ensures that only the real player can log into their account. Traditional password crackers are designed for /login authentication, which is nonexsistent here.
? Brute-Force Protection: Instant kicks for incorrect PIN attempts prevent unauthorized access.
? User-Friendly GUI: Players interact through an intuitive Chest GUI instead of typing commands.
? Lightweight & Efficient: Uses SQLite storage for easy setup and low server impact.
? Perfect for Private & Public Servers: Ideal for SMPs, Minigame servers, and RP servers that need an extra layer of security.
? Installation
- Download the Plugin
.jarFile. - Place it in the
/pluginsfolder of your Minecraft server. - Restart the server.
- Customize settings in
/plugins/GUIPlayerAuth/config.yml(optional). - Enjoy a more secure Minecraft experience!
? Compatibility
✅ Supports Minecraft 1.21+
✅ Works with Paper, Spigot, and Bukkit servers
? Future Updates & Features
? MySQL Support for multi-server authentication
? Configurable Auto-Kick Time
? Admin Override Commands
? Secure your server today with GUI Player Authentication! ?
下载 GUI Player Auth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Player Auth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Player Auth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Player Auth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Player Auth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Player Auth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GUI Player Auth
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
完全重做了该插件
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧