IP 记录
工作原理
当玩家首次加入服务器时,插件会将他们的公网 IP 保存到一个文件中,并提示玩家注册。如果该玩家的 IP 发生变化,服务器将要求他们重新登录。这样,玩家可以连续多天游玩而无需频繁执行繁琐的 /login 命令;而如果其他人尝试登录该玩家的账号,插件会检测到 IP 不同,并要求对方使用 /login 进行验证!这对服务器和玩家来说都更加实用!
玩家视角
当玩家加入服务器且需要注册时,屏幕上会出现消息“请注册!”,聊天栏中会显示“请使用 /register {密码} 在服务器上注册!”;如果需要登录,屏幕上会出现“请登录!”,聊天栏中会显示“请使用 /login {密码} 在服务器上登录”。服务器所有者可以在 Config.yml 中修改所有消息内容。
此外,还有一个名为 /password reset 的命令,允许玩家在需要时重置密码。但在注册或登录界面期间,无法使用该命令!
Ip Logging
How it works
when a player first join your server the plugin will save their public ip in a file and will ask the player to register, if the ip of this player change the server will ask him to login again, that way the player can play for multiple days without having to do the tedious /login for a bunch of days, and if someone else try to join this player's account the plugin will see that this player's ip is diferent and will ask him to use the /login!, this turn's out to be more pratical for both, server and players!
How the players see it
when the player joins the server and have to register a message will apear in his screen saying "Please Register!", and in his chat will apear "Use /register {password} to register on the server!", and if they need todo the login it will apear on their screen "Please login!" and on Theyr chat "Use /login {password} to login on the server" the server owner can change every single message on the "Config.yml"!
Also there's a command called "/password reset" that will allow the player to reset his password if they want, this command can not be used while in the register or the login screen!
评论 0
登录后参与评分
还没有评论,来抢沙发吧