1
0
mirror of https://e.coding.net/circlecloud/AuthMe.git synced 2025-11-24 21:26:20 +00:00

remove other language and update...

Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
j502647092
2015-10-18 11:27:12 +08:00
parent a5bce9a7dd
commit 9fc1fa567b
29 changed files with 166 additions and 1608 deletions

View File

@@ -71,123 +71,108 @@ settings:
maxRegPerIp: 1
# 允许的最大用户名长度
maxNicknameLength: 16
# When this setting is enabled, online players can't be kicked out
# due to "Logged in from another Location"
# This setting will prevent potetial security exploits.
# 玩家在线时会t了“从另一位置”登陆的玩家
# 这个选项可以防止玩家在你游戏时利用你的账号
ForceSingleSession: true
# If enabled, every player will be teleported to the world spawnpoint
# after successful authentication.
# The quit location of the player will be overwritten.
# This is different from "teleportUnAuthedToSpawn" that teleport player
# back to his quit location after the authentication.
# 在每次玩家登陆成功时,退出时传送到世界出生点
# 可以防止玩家在世界各地出生登陆
# 不同于“传送未登陆的玩家到出生点”
# 这个选项在玩家登陆后也会传送
ForceSpawnLocOnJoinEnabled: false
# This option will save the quit location of the players.
# 存储退出位置
# 这可以防止玩家登陆时丢失退出位置
SaveQuitLocation: false
# To activate the restricted user feature you need
# to enable this option and configure the
# AllowedRestrctedUser field.
# 激活此选项将限制指定id、ip的用户
# 下面是个例子
AllowRestrictedUser: false
# The restricted user feature will kick players listed below
# if they dont match of the defined ip address.
# 符合以下id或ip的受限用户将无法进入服务器
# 例子playername127.0.0.1如果playername使用
# 127.0.0.1,那么他将无法登陆
# Example:
# AllowedRestrictedUser:
# - playername;127.0.0.1
AllowedRestrictedUser:
- playername;127.0.0.1
# Should unregistered players be kicked immediatly?
# 是否立即踢出没有注册的玩家?
kickNonRegistered: false
# Should players be kicked on wrong password?
# 是否立即踢出错误密码的玩家?
kickOnWrongPassword: false
# Should not logged in players be teleported to the spawn?
# After the authentication they will be teleported back to
# their normal position.
# 是否玩家被传送到出生点之前记录地标?
# 登陆后他们会被传送会原来的位置
teleportUnAuthedToSpawn: false
# Minimum allowed nick length
# 允许id的最小长度
minNicknameLength: 4
# Can unregistered players walk around?
# 未注册的玩家是否能走动?
allowMovement: false
# Should not authenticated players have speed = 0?
# This will reset the fly/walk speed to default value after the login.
# 是否需要设置玩家的飞行或行走速度为0?
# 这将在登录以后恢复.
removeSpeed: true
# After how many time players who fail to login or register
# should be kicked? Set to 0 to disable.
# 登陆超时的时间
# 设置为0则关闭
timeout: 30
# Regex sintax of allowed characters in the player name.
# 玩家id字符允许的java语句正则表达式 中文的表达式:[\u4E00-\u9FA5]*
allowedNicknameCharacters: '[a-zA-Z0-9_]*'
# How far can unregistered players walk? Set to 0
# for unlimited radius
# 未注册的玩家能走多远? [半径]
# 设置为0则无限半径
allowedMovementRadius: 100
# Enable double check of password when you register
# when it's true, registration require that kind of command:
# 时候启用注册时双重验证
# 当它启用了,注册时会这样显示:
# /register <password> <confirmPassword>
enablePasswordVerifier: true
# Should we protect the player inventory before logging in?
# 是否保护玩家登陆之前的物品,登陆之前无物品
ProtectInventoryBeforeLogIn: true
# Should we display all other accounts from a player when he joins?
# permission: /authme.admin.accounts
# 是否在玩家登陆时显示他的其他几个账号
# 权限: /authme.admin.accounts
displayOtherAccounts: true
# WorldNames where we need to force the spawn location for ForceSpawnLocOnJoinEnabled
# 哪些世界需要强制出生在出生点
ForceSpawnOnTheseWorlds:
- world
- world_nether
- world_the_end
# Ban ip when the ip is not the ip registered in database
# 禁止不在ip数据库里的ip
banUnsafedIP: false
# Spawn Priority, Values : authme, essentials, default
# 优先出生分级, Values : authme, essentials, default
spawnPriority: authme,essentials,default
# Maximum Login authorized by IP
# ip允许的最大登陆数
maxLoginPerIp: 0
# Maximum Join authorized by IP
# ip允许的最大加入服务器树
maxJoinPerIp: 0
# AuthMe will NEVER teleport players !
# Authme永远不会传送玩家
noTeleport: false
# Regex sintax for allowed Chars in passwords.
# 登陆密码允许的java语句正则表达式
allowedPasswordCharacters: '[\x21-\x7E]*'
GameMode:
# ForceSurvivalMode to player when join ?
# 是否在玩家登陆之前强制生存模式
ForceSurvivalMode: false
# if player join with CreativeMode and ForceSurvivalMode: true
# inventory will be wipped
# 如果玩家加入时是创造模式,并且上面一条设置为true
# 物品栏将被存储
ResetInventoryIfCreative: false
# Do we need to force the survival mode ONLY after /login process ?
# 是否强制只有使用/login 密码登陆后才有生存模式?
ForceOnlyAfterLogin: false
security:
# minimum Length of password
# 密码最小长度
minPasswordLength: 5
# this is very important options,
# every time player join the server,
# if they are registered, AuthMe will switch him
# to unLoggedInGroup, this
# should prevent all major exploit.
# So you can set up on your Permission Plugin
# this special group with 0 permissions, or permissions to chat,
# or permission to
# send private message or all other perms that you want,
# the better way is to set up
# this group with few permissions,
# so if player try to exploit some account,
# they can
# do anything except what you set in perm Group.
# After a correct logged-in player will be
# moved to his correct permissions group!
# Pay attention group name is case sensitive,
# so Admin is different from admin,
# otherwise your group will be wiped,
# and player join in default group []!
# Example unLoggedinGroup: NotLogged
# 这是个非常重要的选项,
# 每次玩家加入到服务器,
# 如果他们注册, AuthMe 将会吧他移动到未登录组
# 这可以防止所有主要利用注册的作弊
# 所以,你可以在你的权限插件里设置一个这样的特殊的无权限权限组
# 玩家正确登陆后会被移动到正常组
# 注意,组名是区分大小写的
# 如果大小写搞错,玩家会被移动到默认组
# 例如: NotLogged
unLoggedinGroup: unLoggedinGroup
# possible values: MD5, SHA1, SHA256, WHIRLPOOL, XAUTH, MD5VB, PHPBB,
# PLAINTEXT ( unhashed password),
# 可以设置的值: MD5, SHA1, SHA256, WHIRLPOOL, XAUTH, MD5VB, PHPBB,
# PLAINTEXT (unhashed password),
# MYBB, IPB3, PHPFUSION, SMF, XENFORO, SALTED2MD5, JOOMLA, BCRYPT, WBB3, SHA512,
# DOUBLEMD5, PBKDF2, PBKDF2DJANGO, WORDPRESS, ROYALAUTH, CUSTOM(for developpers only)
passwordHash: SHA256
# salt length for the SALTED2MD5 MD5(MD5(password)+salt)
doubleMD5SaltLength: 8
# If password checking return false , do we need to check with all
# other password algorithm to check an old password ?
# AuthMe will update the password to the new passwordHash !
# 如果检测到密码返回为false, 是否需要检测所有其他密码
# 来检测一个老的密码Autheme将更新一个新的Hash密码
supportOldPasswordHash: false
# Cancel unsafe passwords for being used, put them on lowercase!
# 禁止使用的不安全的密码, 使用小写!
unsafePasswords:
- '123456'
- 'password'
@@ -195,56 +180,54 @@ settings:
- '12345'
- '54321'
registration:
# enable registration on the server?
# 是否启用注册
enabled: true
# Send every X seconds a message to a player to
# remind him that he has to login/register
# 每X秒给玩家发送一个/register 的信息以提示他注册
messageInterval: 5
# Only registered and logged in players can play.
# See restrictions for exceptions
# 只有注册和登陆的玩家才能进行有效
# 请查看 restrictions 免责条款
force: true
# Does we replace password registration by an Email registration method ?
# 是否更换到使用邮箱注册
enableEmailRegistrationSystem: false
# Enable double check of email when you register
# when it's true, registration require that kind of command:
# 在你注册时双重检测邮箱
# 当它开启,注册时看起来会是这样
# /register <email> <confirmEmail>
doubleEmailCheck: false
# Do we force kicking player after a successful registration ?
# Do not use with login feature below
# 是否在玩家成功注册后t出玩家
# 不使用下面的注册功能
forceKickAfterRegister: false
# Does AuthMe need to enforce a /login after a successful registration ?
# 是否需要Autheme强制在正常注册后才能使用/login
forceLoginAfterRegister: false
unrestrictions:
# below you can list all your account name, that
# AuthMe will ignore for registration or login, configure it
# at your own risk!! Remember that if you are going to add
# nickname with [], you have to delimit name with ' '.
# this option add compatibility with BuildCraft and some
# other mods.
# It is CaseSensitive!
# 在下面列出的所有idAuthme都将忽略注册和登陆。启用该选项要注意风险
# 如果你要添加[]的括号,你必须使用' '
# 这个选项可以增加与其他插件的兼容性
# 区分大小写!
UnrestrictedName: []
# Message language, available : en, de, br, cz, pl, fr, ru, hu, sk, es, zhtw, fi, zhcn, lt, it, ko, pt
messagesLanguage: zhcn
# Force these commands after /login, without any '/', use %p for replace with player name
# 强制在/login才能使用这些指令, 不要添加 '/', 使用 %p 来代替玩家id
forceCommands: []
# Force these commands after /login as a server console, without any '/', use %p for replace with player name
# 强制服务器后台在/login才能使用这些指令, 不要添加 '/', 使用 %p 来代替玩家id
forceCommandsAsConsole: []
# Force these commands after /register, without any '/', use %p for replace with player name
# 强制在/register才能使用这些指令, 不要添加 '/', 使用 %p 来代替玩家id
forceRegisterCommands: []
# Force these commands after /register as a server console, without any '/', use %p for replace with player name
# 强制服务器后台在/register才能使用这些指令, 不要添加 '/', 使用 %p 来代替玩家id
forceRegisterCommandsAsConsole: []
# Do we need to display the welcome message (welcome.txt) after a register or a login?
# You can use colors in this welcome.txt + some replaced strings :
# {PLAYER} : player name, {ONLINE} : display number of online players, {MAXPLAYERS} : display server slots,
# {IP} : player ip, {LOGINS} : number of players logged, {WORLD} : player current world, {SERVER} : server name
# {VERSION} : get current bukkit version, {COUNTRY} : player country
# 是否在注册或者登陆后显示欢迎信息(welcome.txt)
# 你可以在welcome.txt里使用不同的颜色以及一些替换符号
# {PLAYER} : 玩家名, {ONLINE} : 显示在线玩家数, {MAXPLAYERS} : 显示服务器插件
# {IP} : 玩家ip, {LOGINS} : 登陆的玩家数, {WORLD} : 玩家当前的世界, {SERVER} : 服务器名
# {VERSION} : 当前Bukkit版本, {COUNTRY} : 玩家的国家
useWelcomeMessage: true
# Do we need to broadcast the welcome message to all server or only to the player? set true for server or false for player
# 是否对所有在线玩家或者服务器显示欢迎信息设置为true则只有服务器显示设置为false则对所有玩家显示
broadcastWelcomeMessage: false
# Do we need to delay the X has joined the game after /login ?
# 是否需要设置在成功使用 /login 登陆后过X秒才进入游戏?
delayJoinMessage: false
# Do we need to add potion effect Blinding before login/register ?
# 是否需要再 loginregister 后使用药水效果?
applyBlindEffect: false
ExternalBoardOptions:
# MySQL column for the salt , needed for some forum/cms support
mySQLColumnSalt: ''
@@ -266,19 +249,19 @@ ExternalBoardOptions:
# WordPress prefix defined during WordPress installation process
wordpressTablePrefix: 'wp_'
permission:
# Take care with this options, if you dont want
# to use Vault and Group Switching of
# AuthMe for unloggedIn players put true
# below, default is false.
# 注意这个选项
# 如果你不想使用 Vault Group Switching 来区分
# AuthMe 的未登陆组, 设置为 False
# 默认为 true.
EnablePermissionCheck: false
BackupSystem:
# Enable or Disable Automatic Backup
# 启用活禁用自动备份
ActivateBackup: false
# set Backup at every start of Server
# 是否在服务器启动时备份
OnServerStart: false
# set Backup at every stop of Server
# 是否在服务器关闭是备份
OnServerStop: true
# Windows only mysql installation Path
# Windows mysql 安装路径
MysqlWindowsPath: 'C:\\Program Files\\MySQL\\MySQL Server 5.1\\'
Security:
SQLProblem:
@@ -290,65 +273,37 @@ Security:
# /reload support
useReloadCommandSupport: true
console:
# Remove spam console
# 移除控制台消息
noConsoleSpam: false
# Replace passwords in the console when player type a command like /login
# 当玩家输入类似 /login 指令时,在后台替换显示的密码
removePassword: true
captcha:
# Player need to put a captcha when he fails too lot the password
# 当玩家输入错误密码很多次后需要填写验证码
useCaptcha: false
# Max allowed tries before request a captcha
# 超过这个数开始要求验证码
maxLoginTry: 5
# Captcha length
captchaLength: 5
# 验证码长度
captchaLength: 4
Converter:
Rakamak:
# Rakamak file name
# Rakamak 的文件名
fileName: users.rak
# Rakamak use ip ?
# Rakamak 使用ip
useIP: false
# IP file name for rakamak
# rakamak 的ip文件名
ipFileName: UsersIp.rak
CrazyLogin:
# CrazyLogin database file
# CrazyLogin 数据库文件
fileName: accounts.db
Email:
# Email SMTP server host
mailSMTP: smtp.gmail.com
# Email SMTP server port
mailPort: 465
# Email account that send the mail
mailAccount: ''
# Email account password
mailPassword: ''
# Custom SenderName, that replace the mailAccount name in the email
mailSenderName: ''
# Random password length
RecoveryPasswordLength: 8
# Email subject of password get
mailSubject: 'Your new AuthMe Password'
# Email text here
mailText: 'Dear <playername>, <br /><br /> This is your new AuthMe password for the server <br /><br /> <servername> : <br /><br /> <generatedpass><br /><br />Do not forget to change password after login! <br /> /changepassword <generatedpass> newPassword'
# Like maxRegPerIp but with email
maxRegPerEmail: 1
# Recall players to add an email ?
recallPlayers: false
# Delay in minute for the recall scheduler
delayRecall: 5
# Blacklist these domains for emails
emailBlacklisted:
- 10minutemail.com
# WhiteList only these domains for emails
emailWhitelisted: []
Hooks:
# Do we need to hook with BungeeCord for get the real Player ip ?
# 是否启用配合 BungeeCord 来获取玩家真实ip?(如果你跨服最好启用)
bungeecord: false
# Do we need to disable Essentials SocialSpy on join ?
# 是否启用配合 Notifications 来发送信息 ?
notifications: true
# 是否在登陆时禁用 Essentials SocialSpy ?
disableSocialSpy: true
# Do we need to force /motd Essentials command on join ?
# 是否允许在登陆时使用 /motd Essentials 指令 ?
useEssentialsMotd: false
# Do we need to cache custom Attributes ?
customAttributes: false
Purge:
# On Enable , does AuthMe need to purge automatically old accounts unused ?
useAutoPurge: false