Advertisement
Guest User

auth

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