blob: 02438415a563ed0d77be1393c65381de0683a3fc (
plain)
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
|
###############################################
# Trinity Core Auth Server configuration file #
###############################################
[authserver]
# Note to devs, line breaks should be at column 80
###############################################################################
# AUTH SERVER SETTINGS
#
# LogsDir
# Logs directory setting.
# Important: Logs dir must exists, or all logs need to be disabled
# Default: "" - no log directory prefix, if used log names isn't
# absolute path then logs will be stored in current directory.
#
# MaxPingTime
# Settings for maximum database-ping interval (minutes between pings)
#
# RealmServerPort
# Default RealmServerPort
#
# BindIP
# Bind Realm Server to IP/hostname
#
# PidFile
# Realmd daemon PID file
# Default: "" - do not create PID file
# "./realmd.pid" - create PID file (recommended name)
#
# LogLevel
# Server console level of logging
# Default: 0 = Minimum
# 1 = Basic
# 2 = Detail
# 3 = Full/Debug
#
# LogFile
# Logfile name
# Default: "realmd.log"
# "" - Empty name disable creating log file
#
# SQLDriverLogFile
# Log file of SQL driver events.
# For effective query logging you need to build in debug configuration.
# Default: "" - Empty name for disable
#
# LogTimestamp
# Logfile with timestamp of server start in name
# in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
# Default: 0 - no timestamp in name
# 1 - add timestamp in name
#
# LogFileLevel
# Server file level of logging
# Default: 0 = Minimum
# 1 = Basic
# 2 = Detail
# 3 = Full/Debug
#
# LogColors
# Color for messages (format "normal basic detail debug")
# Default: "" - no colors
# Colors: 0 - BLACK
# 1 - RED
# 2 - GREEN
# 3 - BROWN
# 4 - BLUE
# 5 - MAGENTA
# 6 - CYAN
# 7 - GREY
# 8 - YELLOW
# 9 - LRED
# 10 - LGREEN
# 11 - LBLUE
# 12 - LMAGENTA
# 13 - LCYAN
# 14 - WHITE
# Example: "13 11 9 5"
#
# EnableLogDB
# Enable/disable logging to database (LogDatabaseInfo).
# Default: 0 - disabled
# 1 - enabled
#
# DBLogLevel
# Log level of DB logging.
# 0 = Minimum
# Default: 1 = Basic
# 2 = Detail
# 3 = Full/Debug
#
# UseProcessors
# Processors mask for multi-processor system (Used only in Windows)
# Default: 0 (selected by OS)
# number (bitmask value of selected processors)
#
# ProcessPriority
# Process proirity setting (Used only at Windows)
# Default: 1 (HIGH)
# 0 (Normal)
#
# RealmsStateUpdateDelay
# Realm list Update up delay
# (updated at realm list request if delay expired).
# Default: 20
# 0 (Disabled)
#
# WrongPass.MaxCount
# Number of login attemps with wrong password
# before the account or IP is banned
# Default: 0 (Never ban)
#
# WrongPass.BanTime
# Duration of the ban in seconds (0 means permanent ban)
# Default: 600
#
# WrongPass.BanType
# Ban the IP or account on which login is attempted
# Default: 0 (Ban IP)
# 1 (Ban Account)
#
###############################################################################
LogsDir = ""
MaxPingTime = 30
RealmServerPort = 3724
BindIP = "0.0.0.0"
PidFile = ""
LogLevel = 0
LogFile = "auth.log"
SQLDriverLogFile = ""
LogTimestamp = 0
LogFileLevel = 0
LogColors = ""
EnableLogDB = 0
DBLogLevel = 1
UseProcessors = 0
ProcessPriority = 1
RealmsStateUpdateDelay = 20
WrongPass.MaxCount = 0
WrongPass.BanTime = 600
WrongPass.BanType = 0
###############################################################################
# MYSQL SETTINGS
#
# LoginDatabaseInfo
# Database connection settings for the realm server.
# Default:
# hostname;port;username;password;database
# .;somenumber;username;password;database
# - use named pipes in Windows
# Named pipes: mySQL required adding
# "enable-named-pipe" to [mysqld] section my.ini
# .;/path/to/unix_socket;username;password;database
# - use Unix sockets in Unix/Linux
#
# LoginDatabase.WorkerThreads
# The amount of worker threads spawned to handle
# asynchroneous MySQL statements
# Each worker thread is mirrored with its own
# connection to the MySQL server and their own
# thread on the MySQL server.
# Default: 1
#
###############################################################################
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth"
LoginDatabase.WorkerThreads = 1
|