Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 9th, 2011  |  syntax: None  |  size: 7.68 KB  |  views: 57  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. #
  13. ###################################################################################################
  14.  
  15. ###################################################################################################
  16. # EXAMPLE CONFIG
  17. #
  18. #    Variable
  19. #        Description: Brief description what the variable is doing.
  20. #        Important:   Annotation for important things about this variable.
  21. #        Example:     "Example, i.e. if the value is a string"
  22. #        Default:     10 - (Enabled|Comment|Variable name in case of grouped config options)
  23. #                     0  - (Disabled|Comment|Variable name in case of grouped config options)
  24. #
  25. # Note to developers:
  26. # - Copy this example to keep the formatting.
  27. # - Line breaks should be at column 100.
  28. ###################################################################################################
  29.  
  30. ###################################################################################################
  31. # AUTH SERVER SETTINGS
  32. #
  33. #    LogsDir
  34. #        Description: Logs directory setting.
  35. #        Important:   LogsDir needs to be quoted, as the string might contain space characters.
  36. #                     Logs directory must exists, or log file creation will be disabled.
  37. #        Default:     "" - (Log files will be stored in the current path)
  38.  
  39. LogsDir = ""
  40.  
  41. #
  42. #    MaxPingTime
  43. #        Description: Time (in minutes) between database pings.
  44. #        Default:     30
  45.  
  46. MaxPingTime = 30
  47.  
  48. #
  49. #    RealmServerPort
  50. #        Description: TCP port to reach the auth server.
  51. #        Default:     3724
  52.  
  53. RealmServerPort = 3724
  54.  
  55. #
  56. #
  57. #    BindIP
  58. #        Description: Bind auth server to IP/hostname
  59. #        Default:     "0.0.0.0" - (Bind to all IPs on the system)
  60.  
  61. BindIP = "0.0.0.0"
  62.  
  63. #
  64. #    PidFile
  65. #        Description: Auth server PID file.
  66. #        Example:     "./authserver.pid"  - (Enabled)
  67. #        Default:     ""                  - (Disabled)
  68.  
  69. PidFile = ""
  70.  
  71. #
  72. #    LogLevel
  73. #        Description: Server console level of logging
  74. #        Default:     0 - (Minimum)
  75. #                     1 - (Basic)
  76. #                     2 - (Detail)
  77. #                     3 - (Full/Debug)
  78.  
  79. LogLevel = 0
  80.  
  81. #
  82. #    LogFile
  83. #        Description: Log file for main server log.
  84. #        Default:     "Auth.log" - (Enabled)
  85. #                     ""           - (Disabled)
  86.  
  87. LogFile = "Auth.log"
  88.  
  89. #
  90. #    Debug Log Mask
  91. #        Description: Bitmask that determines which debug log output (level 3)
  92. #                     will be logged.
  93. #        Possible flags:
  94. #
  95. #                  64 - Anything related to network input/output,
  96. #                        such as packet handlers and netcode logs
  97. #
  98. #                       Simply add the values together to create a bitmask.
  99. #                       For more info see enum DebugLogFilters in Log.h
  100. #
  101. #             Default: 0 (nothing)
  102.  
  103. DebugLogMask = 64
  104.  
  105. #
  106. #    SQLDriverLogFile
  107. #        Description: Log file for SQL driver events.
  108. #        Example:     "SQLDriver.log" - (Enabled)
  109. #        Default:      ""             - (Disabled)
  110.  
  111. SQLDriverLogFile = ""
  112.  
  113. #
  114. #    LogTimestamp
  115. #        Description: Append timestamp to the server log file name.
  116. #                     Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
  117. #        Default:     0 - (Disabled)
  118. #                     1 - (Enabled)
  119.  
  120. LogTimestamp = 0
  121.  
  122. #
  123. #    LogFileLevel
  124. #        Description: Server file level of logging
  125. #        Default:     0 - (Minimum)
  126. #                     1 - (Basic)
  127. #                     2 - (Detail)
  128. #                     3 - (Full/Debug)
  129.  
  130. LogFileLevel = 0
  131.  
  132. #
  133. #    LogColors
  134. #        Description: Colors for log messages (Format: "normal basic detail debug").
  135. #        Colors:      0  - Black
  136. #                     1  - Red
  137. #                     2  - Green
  138. #                     3  - Brown
  139. #                     4  - Blue
  140. #                     5  - Magenta
  141. #                     6  - Cyan
  142. #                     7  - Grey
  143. #                     8  - Yellow
  144. #                     9  - Lred
  145. #                     10 - Lgreen
  146. #                     11 - Lblue
  147. #                     12 - Lmagenta
  148. #                     13 - Lcyan
  149. #                     14 - White
  150. #        Example:     "13 11 9 5" - (Enabled)
  151. #        Default:     ""          - (Disabled)
  152.  
  153. LogColors = ""
  154.  
  155. #
  156. #    EnableLogDB
  157. #        Description: Write log messages to database (LogDatabaseInfo).
  158. #        Default:     0 - (Disabled)
  159. #                     1 - (Enabled)
  160.  
  161. EnableLogDB = 0
  162.  
  163. #
  164. #    DBLogLevel
  165. #        Description: Log level of databases logging.
  166. #        Default:     1 - (Basic)
  167. #                     0 - (Minimum)
  168. #                     2 - (Detail)
  169. #                     3 - (Full/Debug)
  170.  
  171. DBLogLevel = 1
  172.  
  173. #
  174. #    UseProcessors
  175. #        Description: Processors mask for Windows based multi-processor systems.
  176. #        Default:     0  - (Selected by OS)
  177. #                     1+ - (Bit mask value of selected processors)
  178.  
  179. UseProcessors = 0
  180.  
  181. #
  182. #    ProcessPriority
  183. #        Description: Process priority setting for Windows based systems.
  184. #        Default:     1 - (High)
  185. #                     0 - (Normal)
  186.  
  187. ProcessPriority = 1
  188.  
  189. #
  190. #    RealmsStateUpdateDelay
  191. #        Description: Time (in seconds) between realm list updates.
  192. #        Default:     20 - (Enabled)
  193. #                     0  - (Disabled)
  194.  
  195. RealmsStateUpdateDelay = 20
  196.  
  197. #
  198. #    WrongPass.MaxCount
  199. #        Description: Number of login attemps with wrong password before the account or IP will be
  200. #                     banned.
  201. #        Default:     0  - (Disabled)
  202. #                     1+ - (Enabled)
  203.  
  204. WrongPass.MaxCount = 0
  205.  
  206. #
  207. #    WrongPass.BanTime
  208. #        Description: Time (in seconds) for banning account or IP for invalid login attempts.
  209. #        Default:     600 - (10 minutes)
  210. #                     0   - (Permanent ban)
  211.  
  212. WrongPass.BanTime = 600
  213.  
  214. #
  215. #    WrongPass.BanType
  216. #        Description: Ban type for invalid login attempts.
  217. #        Default:     0 - (Ban IP)
  218. #                     1 - (Ban Account)
  219.  
  220. WrongPass.BanType = 0
  221.  
  222. #
  223. ###################################################################################################
  224.  
  225. ###################################################################################################
  226. # MYSQL SETTINGS
  227. #
  228. #    LoginDatabaseInfo
  229. #        Description: Database connection settings for the realm server.
  230. #        Example:     "hostname;port;username;password;database"
  231. #                     ".;somenumber;username;password;database" - (Use named pipes on Windows
  232. #                                                                 "enable-named-pipe" to [mysqld]
  233. #                                                                 section my.ini)
  234. #                     ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
  235. #                                                                           Unix/Linux)
  236. #        Default:     "127.0.0.1;3306;trinity;trinity;auth"
  237.  
  238. LoginDatabaseInfo = "/var/run/mysqld/mysqld.sock;root;aksr;auth"
  239.  
  240. #
  241. #    LoginDatabase.WorkerThreads
  242. #        Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL
  243. #                     statements. Each worker thread is mirrored with its own connection to the
  244. #        Default:     1
  245.  
  246. LoginDatabase.WorkerThreads = 1
  247.  
  248. #
  249. ###################################################################################################
clone this paste RAW Paste Data