Advertisement
Guest User

Untitled

a guest
Jul 21st, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.20 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 = ""
  41.  
  42. #
  43. # MaxPingTime
  44. # Description: Time (in minutes) between database pings.
  45. # Default: 30
  46.  
  47. MaxPingTime = 30
  48.  
  49. #
  50. # RealmServerPort
  51. # Description: TCP port to reach the auth server.
  52. # Default: 3724
  53.  
  54. RealmServerPort = 3724
  55.  
  56. #
  57. #
  58. # BindIP
  59. # Description: Bind auth server to IP/hostname
  60. # Default: "0.0.0.0" - (Bind to all IPs on the system)
  61.  
  62. BindIP = "0.0.0.0"
  63.  
  64. #
  65. # PidFile
  66. # Description: Auth server PID file.
  67. # Example: "./authserver.pid" - (Enabled)
  68. # Default: "" - (Disabled)
  69.  
  70. PidFile = ""
  71.  
  72. #
  73. # UseProcessors
  74. # Description: Processors mask for Windows based multi-processor systems.
  75. # Default: 0 - (Selected by OS)
  76. # 1+ - (Bit mask value of selected processors)
  77.  
  78. UseProcessors = 0
  79.  
  80. #
  81. # ProcessPriority
  82. # Description: Process priority setting for Windows based systems.
  83. # Default: 1 - (High)
  84. # 0 - (Normal)
  85.  
  86. ProcessPriority = 1
  87.  
  88. #
  89. # RealmsStateUpdateDelay
  90. # Description: Time (in seconds) between realm list updates.
  91. # Default: 20 - (Enabled)
  92. # 0 - (Disabled)
  93.  
  94. RealmsStateUpdateDelay = 20
  95.  
  96. #
  97. # WrongPass.MaxCount
  98. # Description: Number of login attemps with wrong password before the account or IP will be
  99. # banned.
  100. # Default: 0 - (Disabled)
  101. # 1+ - (Enabled)
  102.  
  103. WrongPass.MaxCount = 0
  104.  
  105. #
  106. # WrongPass.BanTime
  107. # Description: Time (in seconds) for banning account or IP for invalid login attempts.
  108. # Default: 600 - (10 minutes)
  109. # 0 - (Permanent ban)
  110.  
  111. WrongPass.BanTime = 600
  112.  
  113. #
  114. # WrongPass.BanType
  115. # Description: Ban type for invalid login attempts.
  116. # Default: 0 - (Ban IP)
  117. # 1 - (Ban Account)
  118.  
  119. WrongPass.BanType = 0
  120.  
  121. #
  122. ###################################################################################################
  123.  
  124. ###################################################################################################
  125. # MYSQL SETTINGS
  126. #
  127. # LoginDatabaseInfo
  128. # Description: Database connection settings for the realm server.
  129. # Example: "hostname;port;username;password;database"
  130. # ".;somenumber;username;password;database" - (Use named pipes on Windows
  131. # "enable-named-pipe" to [mysqld]
  132. # section my.ini)
  133. # ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
  134. # Unix/Linux)
  135. # Default: "127.0.0.1;3306;trinity;trinity;auth"
  136.  
  137. LoginDatabaseInfo = "127.0.0.1;3306;root;ascent;auth"
  138.  
  139. #
  140. # LoginDatabase.WorkerThreads
  141. # Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL
  142. # statements. Each worker thread is mirrored with its own connection to the
  143. # Default: 1
  144.  
  145. LoginDatabase.WorkerThreads = 1
  146.  
  147. #
  148. ###################################################################################################
  149.  
  150. ###################################################################################################
  151. #
  152. # LOGGING SYSTEM SETTINGS
  153. #
  154. # Appender config values: Given a appender "name"
  155. # Appender.name
  156. # Description: Defines 'where to log'
  157. # Format: Type,LogLevel,Flags,optional1,optional2,optional3
  158. #
  159. # Type
  160. # 0 - (None)
  161. # 1 - (Console)
  162. # 2 - (File)
  163. # 3 - (DB)
  164. #
  165. # LogLevel
  166. # 0 - (Disabled)
  167. # 1 - (Trace)
  168. # 2 - (Debug)
  169. # 3 - (Info)
  170. # 4 - (Warn)
  171. # 5 - (Error)
  172. # 6 - (Fatal)
  173. #
  174. # Flags:
  175. # 0 - None
  176. # 1 - Prefix Timestamp to the text
  177. # 2 - Prefix Log Level to the text
  178. # 4 - Prefix Log Filter type to the text
  179. # 8 - Append timestamp to the log file name. Format: YYYY-MM-DD_HH-MM-SS (Only used with Type = 2)
  180. # 16 - Make a backup of existing file before overwrite (Only used with Mode = w)
  181. #
  182. # Colors (read as optional1 if Type = Console)
  183. # Format: "fatal error warn info debug trace"
  184. # 0 - BLACK
  185. # 1 - RED
  186. # 2 - GREEN
  187. # 3 - BROWN
  188. # 4 - BLUE
  189. # 5 - MAGENTA
  190. # 6 - CYAN
  191. # 7 - GREY
  192. # 8 - YELLOW
  193. # 9 - LRED
  194. # 10 - LGREEN
  195. # 11 - LBLUE
  196. # 12 - LMAGENTA
  197. # 13 - LCYAN
  198. # 14 - WHITE
  199. # Example: "13 11 9 5 3 1"
  200. #
  201. # File: Name of the file (read as optional1 if Type = File)
  202. # Allows to use one "%s" to create dynamic files
  203. #
  204. # Mode: Mode to open the file (read as optional2 if Type = File)
  205. # a - (Append)
  206. # w - (Overwrite)
  207. #
  208. # MaxFileSize: Maximum file size of the log file before creating a new log file
  209. # (read as optional3 if Type = File)
  210. # Size is measured in bytes expressed in a 64-bit unsigned integer.
  211. # Maximum value is 4294967295 (4 gb). Leave blank for no limit.
  212. # NOTE: Does not work with dynamic filenames.
  213. # Example: 536870912 (512 mb)
  214. #
  215.  
  216. Appender.Console=1,2,0
  217. Appender.Auth=2,2,0,Auth.log,w
  218.  
  219. # LogLevel
  220. # 0 - (Disabled)
  221. # 1 - (Trace)
  222. # 2 - (Debug)
  223. # 3 - (Info)
  224. # 4 - (Warn)
  225. # 5 - (Error)
  226. # 6 - (Fatal)
  227. #
  228. # AppenderList: List of appenders linked to logger
  229. # (Using spaces as separator).
  230. #
  231. # Appenders
  232. # Description: List of Appenders to read from config
  233. # (Using spaces as separator).
  234. # Default: "Console Server"
  235.  
  236. Appenders=Console Auth
  237.  
  238. # Logger config values: Given a logger "name"
  239. # Logger.name
  240. # Description: Defines 'What to log'
  241. # Format: Type,LogLevel,AppenderList
  242. # Type
  243. # 0 - Default. Each type that has no config will
  244. # rely on this one. Core will create this logger
  245. # (disabled) if it's not configured
  246. # 7 - Network input/output,
  247. # 30 - Authserver
  248.  
  249. Logger.Root=0,3,Console Auth
  250.  
  251. #
  252. # Loggers
  253. # Description: List of Loggers to read from config
  254. # (Using spaces as separator).
  255. # Default: "root"
  256.  
  257. Loggers=Root
  258.  
  259. #
  260. ###################################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement