与典型的密码插件不同,该系统更进一步,同时追踪玩家的唯一 ID 和 IP 地址。
当玩家加入并成功输入密码后,其 ID 和 IP 会被存储为受信任的组合。在来自同一 IP 的后续加入中,他们将无需重新输入密码,从而为常客提供无缝的体验。所有受信任的玩家都会保存到配置文件中,因此如有需要,您可以手动移除某个 IP 和用户 ID 以强制要求重新输入密码——但请记住,在进行任何手动更改后都要重启服务器。
然而,如果同一个账户从不同的 IP 登录——无论是玩家在新的网络上,还是有人试图未经授权访问——插件都会再次要求输入密码。由于 IP 与受信任记录不匹配,不允许绕过。
这种方法在提高安全性的同时,仍为受信任的用户保持便利性。常客无需重复登录,但对潜在入侵者提供了强有力的保护。
设置说明:
- 下载插件并将其放入服务器的 plugins 文件夹中。
- 重启服务器。
- 打开生成的 ZyPass 文件夹并编辑配置文件:
保留引号。
在第一组引号中输入您的密码。
在第二组引号中输入提示内容。
不要修改其他任何内容——插件会自动管理玩家认证后的额外数据。
玩家只需输入密码本身(不需要输入引号)。
- 保存更改并再次重启服务器。
- 加入服务器,等待屏幕上的指示(显示在快捷栏上方),并在聊天框中输入您的密码。
其他说明:
密码消息不会完全发送到聊天频道,因此其他玩家无法看到您输入的内容。
除非您选择分享,否则您的密码将保持私密。
Unlike typical password plugins, this system goes a step further by tracking both a player’s unique ID and their IP address.
When a player joins and successfully enters the password, their ID and IP are stored as a trusted combination. On future joins from the same IP, they won’t need to re-enter the password, making the experience seamless for regular players. All trusted players are saved to the config file, so you can manually remove an IP and user ID if needed to force a password re-entry- just remember to restart the server after making any manual changes.
However, if that same account logs in from a different IP- whether it’s the player on a new network or someone attempting unauthorized access- the plugin will require the password again. Since the IP doesn’t match the trusted record, bypass is not allowed.
This approach improves security while still keeping things convenient for trusted users. No repeated logins for regulars, but strong protection against potential intruders.
Setup Instructions:
- Download the plugin and place it in your server’s plugins folder.
- Restart your server.
- Open the generated ZyPass folder and edit the config file:
Keep the quotation marks.
Enter your password in the first set of quotes.
Enter your hint in the second set of quotes.
Do not modify anything else- the plugin will automatically manage additional data as players authenticate.
Players only need to type the password itself (not the quotation marks).
- Save your changes and restart the server again.
- Join the server, wait for the on-screen instructions (displayed above the hotbar), and enter your password in chat.
Additional Notes:
Password messages are not fully sent in chat, so other players cannot see what you entered.
Your password remains private unless you choose to share it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧