Merge pull request #122 from sgdc3/master

Little config clean up + Translation fixes
This commit is contained in:
Alexandre Vanhecke 2015-07-14 20:27:37 +02:00
commit def272428b
5 changed files with 62 additions and 57 deletions

View File

@ -1,28 +1,34 @@
DataSource:
# Column for storing or checking players nickname
mySQLColumnName: username
# Table of the database
mySQLTablename: authme
# Username about Database Connection Infos
mySQLUsername: authme
# Can be set to : file, sqlite, mysql
backend: sqlite
# Column for storing players lastlogins
mySQLColumnLastLogin: lastlogin
# Database Name, use with converters or as SQLITE database name
mySQLDatabase: authme
# Database Port
mySQLPort: '3306'
# Column for storing players IPs
mySQLColumnIp: ip
# Database location
mySQLHost: 127.0.0.1
# Column for storing players passwords
mySQLColumnPassword: password
# Password about Database Connection Infos
mySQLPassword: '12345'
# Do we need to cache all query?
caching: true
# Database location
mySQLHost: 127.0.0.1
# Database Port
mySQLPort: '3306'
# Username about Database Connection Infos
mySQLUsername: authme
# Password about Database Connection Infos
mySQLPassword: '12345'
# Database Name, use with converters or as SQLITE database name
mySQLDatabase: authme
# Table of the database
mySQLTablename: authme
# Column of IDs to sort data
mySQLColumnId: id
# Column for storing or checking players nickname
mySQLColumnName: username
# Column for storing players passwords
mySQLColumnPassword: password
# Column for storing players emails
mySQLColumnEmail: email
# Column for Saving if a player is logged in or not
mySQLColumnLogged: isLogged
# Column for storing players IPs
mySQLColumnIp: ip
# Column for storing players lastlogins
mySQLColumnLastLogin: lastlogin
# Column for SaveQuitLocation - X
mySQLlastlocX: x
# Column for SaveQuitLocation - Y
@ -31,12 +37,6 @@ DataSource:
mySQLlastlocZ: z
# Column for SaveQuitLocation - World name
mySQLlastlocWorld: world
# Column for storing players emails
mySQLColumnEmail: email
# Column of IDs to sort data
mySQLColumnId: id
# Column for Saving if a player is logged in or not
mySQLColumnLogged: isLogged
GroupOptions:
# if you want to set up a particulary Permission Group for
# users that arent registered yet. Pay attention this option
@ -87,11 +87,8 @@ settings:
- /captcha
# Maximum Registration per IP default: 1
maxRegPerIp: 1
# max allowed nick length (Warning when you use
# mysql and choose a value >20 you have to
# increase the size of the nickname column in your
# mysql table)
maxNicknameLength: 20
# Max allowed nick length
maxNicknameLength: 16
# Player that is online arent
# kick out for "logged in from another
# Location", this options will prevent players that would exploit
@ -129,7 +126,7 @@ settings:
# position
teleportUnAuthedToSpawn: false
# min allowed nick length
minNicknameLength: 3
minNicknameLength: 4
# Can unregistered players walk around?
allowMovement: false
# After what time players who fail to login or register
@ -176,7 +173,7 @@ settings:
ForceOnlyAfterLogin: false
security:
# minimum Length of password
minPasswordLength: 4
minPasswordLength: 5
# this is very important options,
# every time player join the server,
# if they are registered, AuthMe will switch him
@ -214,7 +211,12 @@ settings:
#unsafePasswords:
#- '123456'
#- 'password'
unsafePasswords: []
unsafePasswords:
- '123456'
- 'password'
- 'qwerty'
- '12345'
- '54321'
registration:
# enable registration on the server?
enabled: true

View File

@ -1,8 +1,8 @@
unknown_user: '&fThe requested user is not in the database'
unsafe_spawn: '&fYour quit location was unsafe, teleporting you to world spawn'
not_logged_in: '&cYou''re not logged in!'
reg_voluntarily: '&fYou can register your nickname with the command "/register password ConfirmPassword"'
usage_log: '&cUsage: /login password'
reg_voluntarily: '&fYou can register your nickname with the command "/register <password> <ConfirmPassword>"'
usage_log: '&cUsage: /login <password>'
wrong_pwd: '&cWrong password'
unregistered: '&cSuccessfully unregistered!'
reg_disabled: '&cRegistration is disabled'
@ -10,14 +10,14 @@ valid_session: '&cSession login'
login: '&cSuccessful login!'
vb_nonActiv: '&fYour account isn''t activated yet, check your emails!'
user_regged: '&cYou have already registered this username'
usage_reg: '&cUsage: /register password ConfirmPassword'
usage_reg: '&cUsage: /register <password> <ConfirmPassword>'
max_reg: '&fYou have exceeded the max number of registrations for your account'
no_perm: '&cYou don''t have the permission to execute this command'
error: '&fAn error occurred; Please contact the admin'
login_msg: '&cPlease login with "/login password"'
reg_msg: '&cPlease register with "/register password ConfirmPassword"'
login_msg: '&cPlease login with "/login <password>"'
reg_msg: '&cPlease register with "/register <password> <ConfirmPassword>"'
reg_email_msg: '&cPlease register with "/register <email> <confirmEmail>"'
usage_unreg: '&cUsage: /unregister password'
usage_unreg: '&cUsage: /unregister <password>'
pwd_changed: '&cPassword changed!'
user_unknown: '&cUsername not registered'
password_error: '&fPassword doesn''t match'
@ -32,10 +32,10 @@ registered: '&cSuccessfully registered!'
pass_len: '&fYour password didn''t reach the minimum length or exceeded the max length'
reload: '&fConfiguration and database has been reloaded'
timeout: '&fLogin timeout, please try again'
usage_changepassword: '&fUsage: /changepassword oldPassword newPassword'
usage_changepassword: '&fUsage: /changepassword <oldPassword> <newPassword>'
name_len: '&cYour nickname is either too short or too long'
regex: '&cYour nickname contains illegal characters. Allowed chars: REG_EX'
add_email: '&cPlease add your email with: /email add yourEmail confirmEmail'
add_email: '&cPlease add your email with: /email add <yourEmail> <confirmEmail>'
bad_database_email: '[AuthMe] This /email command is only available with MySQL and SQLite, contact an admin'
recovery_email: '&cForgot your password? Please use /email recovery <yourEmail>'
usage_captcha: '&cWe need you to type a captcha, please type: /captcha <theCaptcha>'

Binary file not shown.

Binary file not shown.

View File

@ -1,19 +1,22 @@
# Translator: MineWolf50
# Last Time Edit : 2015 / 7 / 14 , A.M.10:14
# = = = = = = = = = = = = = = = = = = = = = = = #
unknown_user: "&b【AuthMe】&6沒有在資料庫內找到該玩家。"
unsafe_spawn: '&b【AuthMe】&6你登出的地點不安全已傳送你到安全的地點。'
not_logged_in: '&b【AuthMe】&6你還沒有登入!'
reg_voluntarily: '&b【AuthMe】&6使用 &c"/register <密碼> <確認密碼>" &6來註冊你的暱稱'
usage_log: '&b【AuthMe】&6用法: &c"/login <密碼>"'
wrong_pwd: '&b【AuthMe】&6密碼錯誤!'
unregistered: '&b【AuthMe】&6你還沒有註冊!'
unregistered: '&b【AuthMe】&6你已經成功取消註冊。'
reg_disabled: '&b【AuthMe】&6已關閉註冊功能'
password_error_nick: '&fYou can''t use your name as password'
password_error_unsafe: '&fYou can''t use unsafe passwords'
valid_session: '&b【AuthMe】&6憑證登入'
password_error_nick: '&b【AuthMe】&6你不可以用你的 ID ( 名稱 ) 來當作密碼 !'
password_error_unsafe: '&b【AuthMe】&6你不可以使用這個不安全的密碼'
valid_session: '&b【AuthMe】&6你已經成功登入!'
login: '&b【AuthMe】&6密碼正確你已成功登入!'
vb_nonActiv: '&b【AuthMe】&6你的帳號還沒有經過驗證! 檢查看看你的電子信箱 (Email) 吧!'
user_regged: '&b【AuthMe】&6這個帳號已經被註冊過了!'
usage_reg: '&b【AuthMe】&6用法: &c"/register <密碼> <確認密碼>"'
max_reg: '&b【AuthMe】&6你註冊的帳號數量已達到最大。'
max_reg: '&b【AuthMe】&6你的 IP 位置所註冊的帳號數量已達到最大。'
no_perm: '&b【AuthMe】&6你沒有使用該指令的權限。'
error: '&b【AuthMe】&6發生錯誤請聯繫管理員'
login_msg: '&b【AuthMe】&6請使用 &c"/login <密碼>" &6來登入。'
@ -24,36 +27,36 @@ pwd_changed: '&b【AuthMe】&6密碼變更成功!'
user_unknown: '&b【AuthMe】&6這個帳號還沒有註冊過'
password_error: '&b【AuthMe】&6兩次輸入的密碼不一致!'
invalid_session: '&b【AuthMe】&6憑證日期不相符!'
reg_only: '&b【AuthMe】&6請訪問 http://example.com 進行註冊'
reg_only: '&b【AuthMe】&6請到下列網站 :「 http://example.com 」 進行註冊'
logged_in: '&b【AuthMe】&6你已經登入了!'
logout: '&b【AuthMe】&6你已成功登出'
same_nick: '&b【AuthMe】&6有同樣帳號的玩家在線上!'
registered: '&b【AuthMe】&6你已成功註冊'
pass_len: '&b【AuthMe】&6你的密碼 超過最大字數 / 小於最小字數'
reload: '&b【AuthMe】&6已重新讀取設定檔及資料庫'
timeout: '&b【AuthMe】&6超過登入時間再試一次'
timeout: '&b【AuthMe】&6超過登入時間稍後再試一次'
usage_changepassword: '&b【AuthMe】&6用法: &c"/changepassword <舊密碼> <新密碼>"'
name_len: '&b【AuthMe】&6你的暱稱 太長 / 太短 了!'
regex: '&b【AuthMe】&6暱稱裡包含不能使用的字符'
add_email: '&b【AuthMe】&6請使用 &c"/email add <你的Email> <再次輸入你的Email>" &6來增加Email'
bad_database_email: '&b【AuthMe】&6這個 &c"/email" &6指令只適用於有使用MySQL和SQLite的時候請聯繫管理員'
add_email: '&b【AuthMe】&6請使用 &c"/email add <你的Email> <再次輸入你的Email>" &6來添加 Email'
bad_database_email: '&b【AuthMe】&6此指令只適用於有使用MySQL和SQLite的伺服器。'
recovery_email: '&b【AuthMe】&6忘記密碼了嗎? 使用 &c"/email recovery <你的Email>"'
usage_captcha: '&b【AuthMe】&6請用 &c"/captcha <theCaptcha>" &6來輸入你的驗證碼'
wrong_captcha: '&b【AuthMe】&6錯誤的驗證碼'
valid_captcha: '&b【AuthMe】&6驗證碼無效!'
kick_forvip: '&&b【AuthMe】&6VIP玩家只能在伺服器滿人時登入伺服器!'
kick_forvip: '&b【AuthMe】&6你已經被請出。&c原因 : VIP 玩家登入伺服器'
kick_fullserver: '&b【AuthMe】&6伺服器已經滿了請等等再試一次'
usage_email_add: '&b【AuthMe】&6用法: &c"/email add <你的Email> <重複輸入你的Email>"'
usage_email_change: '&b【AuthMe】&6用法: &c"/email change <現在的Email> <要替換的Email>"'
usage_email_add: '&b【AuthMe】&6用法: &c"/email add <你的Email> <重複Email>"'
usage_email_change: '&b【AuthMe】&6用法: &c"/email change <舊的Email> <新的Email>"'
usage_email_recovery: '&b【AuthMe】&6用法: &c"/email recovery <你的Email>"'
new_email_invalid: '&b【AuthMe】&6新的Email無效!'
old_email_invalid: '&b【AuthMe】&6舊的Email無效!'
email_invalid: '&b【AuthMe】&6無效的Email!'
email_added: '&b【AuthMe】&6已添加Email!'
email_confirm: '&b【AuthMe】&6驗證你的Email!'
email_confirm: '&b【AuthMe】&6驗證你的Email!'
email_changed: '&b【AuthMe】&6Email已變更!'
email_send: '&b【AuthMe】&6已經送出要求至你的Email!'
email_send: '&b【AuthMe】&6已經送出重設密碼要求至你的Email , 請查收。'
email_exists: '&b【AuthMe】&6這個帳戶已經有設定電子郵件了'
country_banned: '你所在的地區無法進入此伺服器'
country_banned: '&b【AuthMe】&6你所在的地區無法進入此伺服器'
antibot_auto_enabled: '&b【AuthMe】&6AntiBotMod已自動啟用!'
antibot_auto_disabled: '&b【AuthMe】&6AntiBotMod將會於 &c%m &6分鐘後自動關閉'