Advertisement
mirrorhell

Untitled

Dec 13th, 2014
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.30 KB | None | 0 0
  1. ###############################################
  2. # Trinity Core Auth Server configuration file #
  3. ###############################################
  4. [authserver]
  5.  
  6. ###################################################################################################
  7. # SECTION INDEX
  8. #
  9. # EXAMPLE CONFIG
  10. # AUTH SERVER SETTINGS
  11. # MYSQL SETTINGS
  12. # LOGGING SYSTEM SETTINGS
  13. #
  14. ###################################################################################################
  15.  
  16. ###################################################################################################
  17. # EXAMPLE CONFIG
  18. #
  19. # Variable
  20. # Description: Brief description what the variable is doing.
  21. # Important: Annotation for important things about this variable.
  22. # Example: "Example, i.e. if the value is a string"
  23. # Default: 10 - (Enabled|Comment|Variable name in case of grouped config options)
  24. # 0 - (Disabled|Comment|Variable name in case of grouped config options)
  25. #
  26. # Note to developers:
  27. # - Copy this example to keep the formatting.
  28. # - Line breaks should be at column 100.
  29. ###################################################################################################
  30.  
  31. ###################################################################################################
  32. # AUTH SERVER SETTINGS
  33. #
  34. # LogsDir
  35. # Description: Logs directory setting.
  36. # Important: LogsDir needs to be quoted, as the string might contain space characters.
  37. # Logs directory must exists, or log file creation will be disabled.
  38. # Default: "" - (Log files will be stored in the current path)
  39.  
  40. LogsDir = "/home/trinity/server/logs"
  41.  
  42. #
  43. # MaxPingTime
  44. # Description: Time (in minutes) between database pings.
  45. # Default: 30
  46.  
  47. MaxPingTime = 30
  48.  
  49. #
  50. # WorldserverListenPort
  51. # Description: TCP port to listen on for incoming worldserver IPC.
  52. # Default: 1118
  53.  
  54. WorldserverListenPort = 1118
  55.  
  56. #
  57. # BattlenetPort
  58. # Description: TCP port to reach the auth server for battle.net connections.
  59. # Default: 1119
  60.  
  61. BattlenetPort = 1119
  62.  
  63. #
  64. #
  65. # BindIP
  66. # Description: Bind auth server to IP/hostname
  67. # Default: "0.0.0.0" - (Bind to all IPs on the system)
  68.  
  69. BindIP = "0.0.0.0"
  70.  
  71. #
  72. # PidFile
  73. # Description: Auth server PID file.
  74. # Example: "./authserver.pid" - (Enabled)
  75. # Default: "" - (Disabled)
  76.  
  77. PidFile = ""
  78.  
  79. #
  80. # UseProcessors
  81. # Description: Processors mask for Windows and Linux based multi-processor systems.
  82. # Example: A computer with 2 CPUs:
  83. # 1 - 1st CPU only, 2 - 2nd CPU only, 3 - 1st and 2nd CPU, because 1 | 2 is 3
  84. # Default: 0 - (Selected by OS)
  85. # 1+ - (Bit mask value of selected processors)
  86.  
  87. UseProcessors = 0
  88.  
  89. #
  90. # ProcessPriority
  91. # Description: Process priority setting for Windows and Linux based systems.
  92. # Details: On Linux, a nice value of -15 is used. (requires superuser). On Windows, process is set to HIGH class.
  93. # Default: 0 - (Normal)
  94. # 1 - (High)
  95.  
  96. ProcessPriority = 0
  97.  
  98. #
  99. # RealmsStateUpdateDelay
  100. # Description: Time (in seconds) between realm list updates.
  101. # Default: 10
  102. # 0 - (Disabled)
  103.  
  104. RealmsStateUpdateDelay = 10
  105.  
  106. #
  107. # WrongPass.MaxCount
  108. # Description: Number of login attemps with wrong password before the account or IP will be
  109. # banned.
  110. # Default: 0 - (Disabled)
  111. # 1+ - (Enabled)
  112.  
  113. WrongPass.MaxCount = 0
  114.  
  115. #
  116. # WrongPass.BanTime
  117. # Description: Time (in seconds) for banning account or IP for invalid login attempts.
  118. # Default: 600 - (10 minutes)
  119. # 0 - (Permanent ban)
  120.  
  121. WrongPass.BanTime = 600
  122.  
  123. #
  124. # WrongPass.BanType
  125. # Description: Ban type for invalid login attempts.
  126. # Default: 0 - (Ban IP)
  127. # 1 - (Ban Account)
  128.  
  129. WrongPass.BanType = 0
  130.  
  131. #
  132. ###################################################################################################
  133.  
  134. ###################################################################################################
  135. # MYSQL SETTINGS
  136. #
  137. # LoginDatabaseInfo
  138. # Description: Database connection settings for the realm server.
  139. # Example: "hostname;port;username;password;database"
  140. # ".;somenumber;username;password;database" - (Use named pipes on Windows
  141. # "enable-named-pipe" to [mysqld]
  142. # section my.ini)
  143. # ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
  144. # Unix/Linux)
  145. # Default: "127.0.0.1;3306;trinity;trinity;auth"
  146.  
  147. LoginDatabaseInfo = "127.0.0.1;3306;wow;12345;auth"
  148.  
  149. #
  150. # LoginDatabase.WorkerThreads
  151. # Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL
  152. # statements. Each worker thread is mirrored with its own connection to the
  153. # Default: 1
  154.  
  155. LoginDatabase.WorkerThreads = 1
  156.  
  157. #
  158. # Wrong.Password.Login.Logging
  159. # Description: Additionally log attempted wrong password logging
  160. # Default: 0 - (Disabled)
  161. # 1 - (Enabled)
  162.  
  163. Wrong.Password.Login.Logging = 0
  164. #
  165. ###################################################################################################
  166.  
  167. ###################################################################################################
  168. #
  169. # LOGGING SYSTEM SETTINGS
  170. #
  171. # Appender config values: Given a appender "name"
  172. # Appender.name
  173. # Description: Defines 'where to log'
  174. # Format: Type,LogLevel,Flags,optional1,optional2,optional3
  175. #
  176. # Type
  177. # 0 - (None)
  178. # 1 - (Console)
  179. # 2 - (File)
  180. # 3 - (DB)
  181. #
  182. # LogLevel
  183. # 0 - (Disabled)
  184. # 1 - (Trace)
  185. # 2 - (Debug)
  186. # 3 - (Info)
  187. # 4 - (Warn)
  188. # 5 - (Error)
  189. # 6 - (Fatal)
  190. #
  191. # Flags:
  192. # 0 - None
  193. # 1 - Prefix Timestamp to the text
  194. # 2 - Prefix Log Level to the text
  195. # 4 - Prefix Log Filter type to the text
  196. # 8 - Append timestamp to the log file name. Format: YYYY-MM-DD_HH-MM-SS (Only used with Type = 2)
  197. # 16 - Make a backup of existing file before overwrite (Only used with Mode = w)
  198. #
  199. # Colors (read as optional1 if Type = Console)
  200. # Format: "fatal error warn info debug trace"
  201. # 0 - BLACK
  202. # 1 - RED
  203. # 2 - GREEN
  204. # 3 - BROWN
  205. # 4 - BLUE
  206. # 5 - MAGENTA
  207. # 6 - CYAN
  208. # 7 - GREY
  209. # 8 - YELLOW
  210. # 9 - LRED
  211. # 10 - LGREEN
  212. # 11 - LBLUE
  213. # 12 - LMAGENTA
  214. # 13 - LCYAN
  215. # 14 - WHITE
  216. # Example: "13 11 9 5 3 1"
  217. #
  218. # File: Name of the file (read as optional1 if Type = File)
  219. # Allows to use one "%s" to create dynamic files
  220. #
  221. # Mode: Mode to open the file (read as optional2 if Type = File)
  222. # a - (Append)
  223. # w - (Overwrite)
  224. #
  225. # MaxFileSize: Maximum file size of the log file before creating a new log file
  226. # (read as optional3 if Type = File)
  227. # Size is measured in bytes expressed in a 64-bit unsigned integer.
  228. # Maximum value is 4294967295 (4 gb). Leave blank for no limit.
  229. # NOTE: Does not work with dynamic filenames.
  230. # Example: 536870912 (512 mb)
  231. #
  232.  
  233. Appender.Console=1,2,0
  234. Appender.Bnet=2,2,0,Bnet.log,w
  235.  
  236. # Logger config values: Given a logger "name"
  237. # Logger.name
  238. # Description: Defines 'What to log'
  239. # Format: LogLevel,AppenderList
  240. #
  241. # LogLevel
  242. # 0 - (Disabled)
  243. # 1 - (Trace)
  244. # 2 - (Debug)
  245. # 3 - (Info)
  246. # 4 - (Warn)
  247. # 5 - (Error)
  248. # 6 - (Fatal)
  249. #
  250. # AppenderList: List of appenders linked to logger
  251. # (Using spaces as separator).
  252. #
  253.  
  254. Logger.root=3,Console Bnet
  255. Logger.realmlist=3,Console Bnet
  256. Logger.session=3,Console Bnet
  257. Logger.session.packets=3,Console Bnet
  258.  
  259. #
  260. ###################################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement