-
-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathlogin_athena.conf
More file actions
199 lines (169 loc) · 7.05 KB
/
login_athena.conf
File metadata and controls
199 lines (169 loc) · 7.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
// ______ __ __
// /\ _ \/\ \__/\ \
// __\ \ \_\ \ \ _\ \ \___ __ ___ __
// / __ \ \ __ \ \ \/\ \ _ \ / __ \/ _ \ / __ \
///\ __/\ \ \/\ \ \ \_\ \ \ \ \/\ __//\ \/\ \/\ \_\ \_
//\ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/ \_\
// \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/
// _ _ _ _ _ _ _ _ _ _ _ _ _
// / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \
//( 9 | 9 | M | a | x | E | a ) ( A | t | h | e | n | a )
// \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/
//
//-------------------------------------------------------------------------
// Athena 登录服务器配置文件
// Translated by Peter Kieser <pfak@telus.net>
// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.
// 如果你是一个网卡配置了多个IP,就需要配置这里
// 注意:当你希望在多个服务器上使用相同的端口时,此设置允许你在多个接口
// 中运行多个服务器
//bind_ip: 127.0.0.1
// 登录服务器连接端口
login_port: 6900
// 在每条资讯前面输出的时间戳格式
// 最多包含20个字符
// 通常格式包括
// %I:%M:%S %p (小时:分钟:秒 12小时制, AM/PM 格式)
// %H:%M:%S (小时:分钟:秒, 24 小时制)
// %d/%b/%Y (日/月/年)
// 可参考 strftime() 手册查询可用的其他格式
//timestamp_format: [%d/%b %H:%M]
//重定向输出转义序列(颜色代码组)
stdout_with_ansisequence: no
// 服务器选择日志/文件夹中的讯息类型
// 1: Log 警告讯息
// 2: Log 错误和 SQL 错误讯息.
// 4: Log 调试讯息
// 例: "console_msg_log: 7" 记录全部3种
// 记录的讯息由这个覆盖 console_silent 设置
console_msg_log: 0
// 存储以上设置的控制台信息途径
console_log_filepath: ./log/login-msg_log.log
// 伺服器视窗 讯息简略显示设定
// 1: 隐藏普通资讯
// 2: 隐藏状态资讯
// 4: 隐藏注意资讯
// 8: 隐藏警告资讯
// 16: 隐藏错误及SQL错误资讯
// 32: 隐藏侦错讯息
//举例: 设定为7则隐藏[普通]、[状态]和[注意]的讯息 (1+2+4累加)
console_silent: 0
// 控制台指令
// 控制台指令设定参数使用 on和off
// 是否记录日志到log资料夹
console: off
// 是否允许游戏客户端登入帐号在号面增加“_M/_F”注册新的帐号?
new_account: yes
//如果 new_account 启用, 使用者帐号密码最少为4个字符限制
//必定 'Yes' , 除非你的 client 使用 'Disable 4 LetterUserID/Password' Diffs
new_acc_length_limit: yes
// 帐号注册保护系统
// allowed_regs 中的数字是在 time_allowed 时间内允许的注册人数(秒)
allowed_regs: 1
time_allowed: 10
// 日志文件名. 服务器登入的所有操作纪录在此文件.
login_log_filename: log/login.log
// 是否纪录登陆伺服器日志?
// NOTE: The login server needs the login logs to enable dynamic pass failure bans.
log_login: yes
// 对玩家显示的时间格式, 日志记录的时间格式..等各种项目的时间格式.
date_format: %Y-%m-%d %H:%M:%S
// Required account group id to connect to server.
// -1: 关闭
// 0 or more: group id
group_id_to_connect: -1
// Minimum account group id required to connect to server.
// Will not function if group_id_to_connect config is enabled.
// -1: 关闭
// 0 or more: group id
min_group_id_to_connect: -1
// 设置 VIP 使用的群组 (ID)
// 默认: 5
vip_group: 5
// 用户能创建的人物数量
// 不能超过 MAX_CHARS 的设定上限, 定义 mmo.hpp, 或 chars_per_account
// 默认为 MAX_CHARS 设定值
// 设置 0 将使用 MIN_CHARS 原来的设定值
chars_per_account: 15
// 增加 VIP用户创建人物数量 (0 表示停用)
// 若要提高 vip_char_increase 上限,必须先修改 MAX_CHARS 上限
// 注意: VIP人物创建数量 = MAX_CHARS - chars_per_account.
// 注意 2: 先设定 chars_per_account 后,在进行此设置.
// -1 will default to MAX_CHAR_VIP (src/config/core.hpp)
vip_char_increase: -1
// 对新建账户开始以秒为单位计时
// -1: 新建账户将拥有无限的使用期限(预设值)
// 0 或更多: 新建的账户将可以使用到 现行时间加上这个参数的值的时间
start_limited_time: -1
// Login数据库的密码为MD5码 ?
// NOTE: <密码加密> 不能在客户端上使用这个
use_MD5_passwords: no
// 登录窗口在线玩家状态显示 (要求 PACKETVER >= 20170726)
// 是否禁止显示玩家空闲/拥挤状态?
usercount_disable: no
// 显示绿色状态的玩家数量
usercount_low: 200
// 显示黄色状态的玩家数量
usercount_medium: 500
// 显示红色状态的玩家数量
usercount_high: 1000
// 封闭帐号特性
ipban_enable: yes
// Dynamic password failure ipban system
// Ban user after a number of failed attempts?
ipban_dynamic_pass_failure_ban: yes
// Interval (in minutes) to calculate how many failed attempts.
ipban_dynamic_pass_failure_ban_interval: 5
// Maximum amount of failed attempts before banning.
ipban_dynamic_pass_failure_ban_limit: 7
// Time (in minutes) for ban duration.
ipban_dynamic_pass_failure_ban_duration: 5
// 间隔(以秒为单位) 清除被封锁的到期IP. 0 = 关闭. 预设值 = 60.
// 注意: 即使这已失效, 被封锁的到期IP在登陆伺服器将 开始/停止 被清除 .// Players will still be able to login if an ipban entry exists but the expiration time has already passed.ipban_cleanup_interval: 60
// Players will still be able to login if an ipban entry exists but the expiration time has already passed.
ipban_cleanup_interval: 60
//执行 DNS/IP 更新的间隔时间(分为单位). 预设为关闭
//假如你的伺服器使用会因时间改变的动态IP则启用
//ip_sync_interval: 10
// DNS黑名单封锁
// 如果启用, 每个进入的连接将被测试对黑名单上的指定
// dnsbl_servers (逗号-分隔列表)
use_dnsbl: no
dnsbl_servers: bl.blocklist.de, socks.dnsbl.sorbs.net
// Here are some free DNS Blacklist Services: http://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists
//==============================================================================
// dnsbl_servers Description
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// bl.blocklist.de IP-Addresses who attack other servers/honeypots over SSH, FTP, IMAP, etc.
// ircbl.ahbl.org AHBL (open proxies, compromised machines, comment spammers)
// safe.dnsbl.sorbs.net All zones in dnsbl.sorbs.net except "recent" and "escalations"
// sbl-xbl.spamhaus.org Spamhaus blacklist (spammers, open proxies)
// socks.dnsbl.sorbs.net Open SOCKS proxy servers
// tor.ahbl.org Current tor relay and exit nodes
// 登入器 MD5 hash 检查
// 如果开启, 登入服务器将检查登入器 hash 值
// 并且不会篡改登入器连接.
// 注意:有关详细信息,请参阅 doc\md5_hashcheck.txt
client_hash_check: off
// 登入器 MD5 hashes
// The client with the specified hash can be used to log in by players with
// a group_id equal to or greater than the given value.
// If you specify 'disabled' as hash, players with a group_id greater than or
// equal to the given value will be able to log in regardless of hash (and even
// if their client does not send a hash at all.)
// Format: group_id, hash
// Note: see 'doc/md5_hashcheck.txt' for more details.
//client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5
//client_hash: 10, cb1ea78023d337c38e8ba5124e2338ae
//client_hash: 99, disabled
//===========================================================================
// 登录时[客户端]在线人数(虚拟人数显示)设置
// 如果恢复正常, 请将下面3个数值设置为'0'
//===========================================================================
fake_user_head: 0
fake_user_first: 0
fake_user_second: 0
import: conf/inter_athena.conf
import: conf/import/login_conf.txt