欢迎使用我重新制作的 logAuth!
logAuth 现在拥有更出色的设计、更快的性能以及全新的功能!所有详细信息均可在本帖下方找到。
那么,现在的 logAuth 是什么?
正如其名所示,logAuth 是一个身份验证插件。
加入服务器时,你必须通过密码自行登录/注册,否则将无法进行游戏。
命令对于在无需修改配置文件的情况下于游戏内管理插件至关重要。以下是所有命令及其权限的列表:
(所有权限均可在 config.yml 文件中编辑)
[code]- /backupcode - 发送你的备用代码(BackupCode)
- /logadmin - 打开 logAdmin GUI - 权限: logAuth.logAdmin
- /login <Password> - 使用你的密码登录。
- /register <Password> - 使用你的密码注册。
- /reset <BackupCode> - 使用你的备用代码重置密码。
- /adminreset <PlayerName> - 重置指定玩家的密码 - 权限: logAuth.logAdmin
- /setnotloggedinspawn - 设置未登录玩家传送的目标位置(NotLoggedInSpawn),如果配置中启用了该选项,则所有玩家都会被传送至此。 - 权限: logAuth.logAdmin[/code]
接下来是配置文件,这对于按需更改插件设置非常重要。以下是默认配置文件。
Spoiler
#########################################################################
# ___ ______ __ __ #
#/\_ \ /\ _ \ /\ \__ /\ \ #
#\//\ \ ___ __ \ \ \L\ \ __ __ \ \ ,_\ \ \ \___ #
# \ \ \ / __`\ /'_ `\ \ \ __ \ /\ \/\ \ \ \ \/ \ \ _ `\ #
# \_\ \_ /\ \L\ \/\ \L\ \ \ \ \/\ \ \ \ \_\ \ \ \ \_ \ \ \ \ \ #
# /\____\\ \____/\ \____ \ \ \_\ \_\ \ \____/ \ \__\ \ \_\ \_\ #
# \/____/ \/___/ \/___L\ \ \/_/\/_/ \/___/ \/__/ \/_/\/_/ #
# /\____/ #
# \_/__/ #
# #
#########################################################################
#重要信息:
#所有保存的密码和备用代码均已加密!
logAuth:
#前缀 wooho!
Prefix: '&7[&clog&4Auth&7] '
#权限至关重要。你可以根据需要对其进行编辑。
Permissions:
#logAdmin GUI 和命令的权限
logAdmin: logAuth.logAdmin
#密码最小和最大长度
#允许你强制设置密码的最大或最小长度
MinLenght: 6
MaxLenght: 12
#一些选项
Options:
#你可以使用任何你想要的语言。默认语言为 en-EN。
#你可以创建自己的语言,或在 messages.yml 文件中编辑所有消息。
Language: en-EN
#如果此项为 true,logauth 会将所有操作记录到一个文件中
LogLogAuthActions: true
#如果此项为 true,logAuth 会将新加入的玩家传送到特定的
#未登录位置(NotLoggedInSpawn)。
TeleportNotLoggedInPlayers: false
#更改以使用密码的最小和最大长度
#true 表示启用,false 表示禁用
UseMinPasswordLenght: true
UseMaxPasswordLenght: true
#请勿更改此项!
Version: 1.0
Spoiler
en-EN:
Messages:
ResetCommandUsage: '&c用法: /reset <BackupCode>'
PasswordReset: '&7你已重置你的 &e密码&7!'
ResetKickMessage: '&7你已重置你的 &e密码&7!请 &e重新加入&7!'
BackupCodeIncorrect: '&c你输入的 &e备用代码 &c为 &4错误&c!'
RegisterCommandUsage: '&c用法: /register <Password>'
AlreadyRegistered: '&c你已经注册过了!'
PasswordToSmall: '&c你输入的密码过 &4短&c!'
PasswordToLong: '&c你输入的密码过 &4长&c!'
LoginUsage: '&c用法: /login <Password>'
NotRegistered: '&c你尚未注册!'
PasswordIsCorrect: '&7你输入了 &a正确 &e的密码&7!'
PasswordIsIncorrect: '&c你输入的密码为 &4错误&c!'
BackupCodeCommandUsage: '&c用法: /backupcode'
LoginReminder: '&c你必须使用 &e/login <Password>&c 来 &e自行登录&c。
你有 &e30 秒 &c的时间来完成此操作!'
RegisterReminder: '&c你必须使用 &e/register <Password>&c 来 &e自行注册&c。
你有 &e30 秒 &c的时间来完成此操作!'
AdminresetUsage: '&c用法: /adminreset <Player>'
UserReset: '&7你 &a成功 &7重置了 &e密码&7!'
UserNotRegistered: '&c该用户 &4未 &c注册!'
NoPermission: '&c你没有执行此命令的权限!'
AllReset: '&7你已重置 &c所有 &e密码&7!'
OpenMenu: '&7你打开了 &elogAdmin 菜单&7!'
KickMessage: '&7因为你花费的时间太长,你已被踢出!'
SetNotLoggedInSpawnCommandUsage: '&c用法: /setnotloggedinspawn'
NotLoggedInSpawnNotSet: '&c未找到 &e未登录位置 &c!
请联系服务器管理员以解决此问题!'
以下是该插件目前包含的所有功能的完整列表:
备用代码和密码的加密
可编辑的消息(约 85%)
游戏内管理 GUI
注册和登录系统
未登录传送系统(NotLoggedInSpawn),将未登录的玩家传送到特定位置,并在其登录后传送回上次所在的位置。
一个记录所有重要操作的日志
控制台中的 logAuth 消息过滤器,以提供更强的安全性
支持 1.20+
插件兼容性检查
在控制台中优雅地显示错误的方式
(插件图标及标题中的图标由 Flaticon.com 上的 Smashicons 制作)
Welcome to my renewed version of logAuth!
logAuth now has a better design, faster performance and new features! All information can be found down below in the thread.
So what is logAuth now?
logAuth is, like the name says, a authentication plugin.
If you join you have to log in/register yourself with a password or you can't play at the server.
Commands are important to manage the plugin ingame without changing the config files. Here is a list of all commands and their permissions:
(All permissions are editable in the config.yml file)
[code]- /backupcode - Sends you your BackupCode
- /logadmin - Opens the logAdmin GUI - Permission: logAuth.logAdmin
- /login <Password> - Log in yourself with your password.
- /register <Password> - Register yourself with your password.
- /reset <BackupCode> - Reset your password with your backupcode.
- /adminreset <PlayerName> - Reset the password of a target player - Permission: logAuth.logAdmin
- /setnotloggedinspawn - Set the NotLoggedInSpawn location where every player gets teleport to if the option is enabled in the config. - Permission: logAuth.logAdmin[/code]
Now comes the configuration file wich is very important to change the plugin settings as you wish. Down below are the default configuration files.
Spoiler
#########################################################################
# ___ ______ __ __ #
#/\_ \ /\ _ \ /\ \__ /\ \ #
#\//\ \ ___ __ \ \ \L\ \ __ __ \ \ ,_\ \ \ \___ #
# \ \ \ / __`\ /'_ `\ \ \ __ \ /\ \/\ \ \ \ \/ \ \ _ `\ #
# \_\ \_ /\ \L\ \/\ \L\ \ \ \ \/\ \ \ \ \_\ \ \ \ \_ \ \ \ \ \ #
# /\____\\ \____/\ \____ \ \ \_\ \_\ \ \____/ \ \__\ \ \_\ \_\ #
# \/____/ \/___/ \/___L\ \ \/_/\/_/ \/___/ \/__/ \/_/\/_/ #
# /\____/ #
# \_/__/ #
# #
#########################################################################
#Important information:
#All saved passwords and backupcodes are encrypted!
logAuth:
#Prefix wooho!
Prefix: '&7[&clog&4Auth&7] '
#Permissions are essential. You can edit them as you wish.
Permissions:
#Permission for the logAdmin GUI and command
logAdmin: logAuth.logAdmin
#Password min and max lenght
#Allows you to force the max or min lenght
#for a password
MinLenght: 6
MaxLenght: 12
#Some options
Options:
#You can use the language what ever you want. The default language is en-EN.
#You can create your own language or edit all messages in the messages.yml file.
Language: en-EN
#If this is true, logauth will log all actions in a file
LogLogAuthActions: true
#If this is true, logAuth will teleport a joined player to a specific
#NotLoggedInSpawn location.
TeleportNotLoggedInPlayers: false
#Change to use the min and max password lenght
#true for use, false for not use
UseMinPasswordLenght: true
UseMaxPasswordLenght: true
#Do NOT change this!
Version: 1.0
Spoiler
en-EN:
Messages:
ResetCommandUsage: '&cUsage: /reset <BackupCode>'
PasswordReset: '&7You reset your &epassword&7!'
ResetKickMessage: '&7You reset your &epassword&7! Please &erejoin&7!'
BackupCodeIncorrect: '&cThe &eBackup-Code &cyou''ve entered is &4incorrect&c!'
RegisterCommandUsage: '&cUsage: /register <Password>'
AlreadyRegistered: '&cYou are alrady registered!'
PasswordToSmall: '&cThe password you''ve entered is to &4small&c!'
PasswordToLong: '&cThe password you''ve entered is to &4long&c!'
LoginUsage: '&cUsage: /login <Password>'
NotRegistered: '&cYou are not registererd!'
PasswordIsCorrect: '&7You''ve entered the &acorrect &epassword&7!'
PasswordIsIncorrect: '&cThe password you''ve entered is &4incorrect&c!'
BackupCodeCommandUsage: '&cUsage: /backupcode'
LoginReminder: '&cYou have to login &eyourself &cby using &e/login <Password>&c.
You have &e30 Seconds &cto do this!'
RegisterReminder: '&cYou have to register &eyourself &cby using &e/register <Password>&c.
You have &e30 Seconds &cto do this!'
AdminresetUsage: '&cUsage: /adminreset <Player>'
UserReset: '&7You &asuccessfully &7reset the &epassword&7!'
UserNotRegistered: '&cThis user is &4not &cregistered!'
NoPermission: '&cYou have no permissions to perform this command!'
AllReset: '&7You reset &call &epasswords&7!'
OpenMenu: '&7You opened the &elogAdmin-Menu&7!'
KickMessage: '&7You got kicked because you take too much time!'
SetNotLoggedInSpawnCommandUsage: '&cUsage: /setnotloggedinspawn'
NotLoggedInSpawnNotSet: '&cThe &eNotLoggedInSpawn &clocation was &4not &cfound!
Please contact the server administrator to solve this problem!'
Here is a full list of all features the plugin contain at the moment:
Encryption of backupcodes and passwords
Editable messages (About 85%)
Ingame managing GUI
Register and log in system
NotLoggedInSpawn system wich teleports a player who hasn't logged in to a specific location and after he logged in to his last location.
A log that saves all important actions
A filter for all logAuth messages in console to provide more security
1.20+ support
Plugin compatibility check
Fancy way to show errors in console
(The plugin icon and the icon in the titles was made by Smashicons from Flaticon.com)
评论 0
登录后参与评分
还没有评论,来抢沙发吧