Advertisement
Guest User

Untitled

a guest
Aug 11th, 2017
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.31 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. # UPDATE SETTINGS
  13. # LOGGING SYSTEM SETTINGS
  14. #
  15. ###################################################################################################
  16.  
  17. ###################################################################################################
  18. # EXAMPLE CONFIG
  19. #
  20. # Variable
  21. # Description: Brief description what the variable is doing.
  22. # Important: Annotation for important things about this variable.
  23. # Example: "Example, i.e. if the value is a string"
  24. # Default: 10 - (Enabled|Comment|Variable name in case of grouped config options)
  25. # 0 - (Disabled|Comment|Variable name in case of grouped config options)
  26. #
  27. # Note to developers:
  28. # - Copy this example to keep the formatting.
  29. # - Line breaks should be at column 100.
  30. ###################################################################################################
  31.  
  32. ###################################################################################################
  33. # AUTH SERVER SETTINGS
  34. #
  35. # LogsDir
  36. # Description: Logs directory setting.
  37. # Important: LogsDir needs to be quoted, as the string might contain space characters.
  38. # Logs directory must exists, or log file creation will be disabled.
  39. # Default: "" - (Log files will be stored in the current path)
  40.  
  41. LogsDir = ""
  42.  
  43. #
  44. # MaxPingTime
  45. # Description: Time (in minutes) between database pings.
  46. # Default: 30
  47.  
  48. MaxPingTime = 30
  49.  
  50. #
  51. # RealmServerPort
  52. # Description: TCP port to reach the auth server.
  53. # Default: 3724
  54.  
  55. RealmServerPort = 3724
  56.  
  57. #
  58. #
  59. # BindIP
  60. # Description: Bind auth server to IP/hostname
  61. # Default: "0.0.0.0" - (Bind to all IPs on the system)
  62.  
  63. BindIP = "0.0.0.0"
  64.  
  65. #
  66. # PidFile
  67. # Description: Auth server PID file.
  68. # Example: "./authserver.pid" - (Enabled)
  69. # Default: "" - (Disabled)
  70.  
  71. PidFile = ""
  72.  
  73. #
  74. # UseProcessors
  75. # Description: Processors mask for Windows and Linux based multi-processor systems.
  76. # Example: A computer with 2 CPUs:
  77. # 1 - 1st CPU only, 2 - 2nd CPU only, 3 - 1st and 2nd CPU, because 1 | 2 is 3
  78. # Default: 0 - (Selected by OS)
  79. # 1+ - (Bit mask value of selected processors)
  80.  
  81. UseProcessors = 0
  82.  
  83. #
  84. # ProcessPriority
  85. # Description: Process priority setting for Windows and Linux based systems.
  86. # Details: On Linux, a nice value of -15 is used. (requires superuser). On Windows, process is set to HIGH class.
  87. # Default: 0 - (Normal)
  88. # 1 - (High)
  89.  
  90. ProcessPriority = 0
  91.  
  92. #
  93. # RealmsStateUpdateDelay
  94. # Description: Time (in seconds) between realm list updates.
  95. # Default: 20 - (Enabled)
  96. # 0 - (Disabled)
  97.  
  98. RealmsStateUpdateDelay = 20
  99.  
  100. #
  101. # WrongPass.MaxCount
  102. # Description: Number of login attemps with wrong password before the account or IP will be
  103. # banned.
  104. # Default: 0 - (Disabled)
  105. # 1+ - (Enabled)
  106.  
  107. WrongPass.MaxCount = 0
  108.  
  109. #
  110. # WrongPass.BanTime
  111. # Description: Time (in seconds) for banning account or IP for invalid login attempts.
  112. # Default: 600 - (10 minutes)
  113. # 0 - (Permanent ban)
  114.  
  115. WrongPass.BanTime = 600
  116.  
  117. #
  118. # WrongPass.BanType
  119. # Description: Ban type for invalid login attempts.
  120. # Default: 0 - (Ban IP)
  121. # 1 - (Ban Account)
  122.  
  123. WrongPass.BanType = 0
  124.  
  125. #
  126. # WrongPass.Logging
  127. # Description: Additionally log attempted wrong password logging
  128. # Default: 0 - (Disabled)
  129. # 1 - (Enabled)
  130.  
  131. WrongPass.Logging = 0
  132.  
  133. #
  134. # BanExpiryCheckInterval
  135. # Description: Time (in seconds) between checks for expired bans
  136. # Default: 60
  137.  
  138. BanExpiryCheckInterval = 60
  139.  
  140. #
  141. # SourceDirectory
  142. # Description: The path to your TrinityCore source directory.
  143. # If the path is left empty, the built-in CMAKE_SOURCE_DIR is used.
  144. # Example: "../TrinityCore"
  145. # Default: ""
  146.  
  147. SourceDirectory = ""
  148.  
  149. #
  150. # MySQLExecutable
  151. # Description: The path to your mysql cli binary.
  152. # If the path is left empty, built-in path from cmake is used.
  153. # Example: "C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe"
  154. # "mysql.exe"
  155. # "/usr/bin/mysql"
  156. # Default: ""
  157.  
  158. MySQLExecutable = ""
  159.  
  160. #
  161. ###################################################################################################
  162.  
  163. ###################################################################################################
  164. # MYSQL SETTINGS
  165. #
  166. # LoginDatabaseInfo
  167. # Description: Database connection settings for the realm server.
  168. # Example: "hostname;port;username;password;database"
  169. # ".;somenumber;username;password;database" - (Use named pipes on Windows
  170. # "enable-named-pipe" to [mysqld]
  171. # section my.ini)
  172. # ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
  173. # Unix/Linux)
  174. # Default: "127.0.0.1;3306;trinity;trinity;auth"
  175.  
  176. LoginDatabaseInfo = "127.0.0.1;3306;root;mysqlpw;auth"
  177.  
  178. #
  179. # LoginDatabase.WorkerThreads
  180. # Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL
  181. # statements. Each worker thread is mirrored with its own connection to the
  182. # MySQL server and their own thread on the MySQL server.
  183. # Default: 1
  184.  
  185. LoginDatabase.WorkerThreads = 1
  186.  
  187. #
  188. # LoginDatabase.SynchThreads
  189. # Description: The amount of MySQL connections spawned to handle.
  190. # Default: 1 - (LoginDatabase.WorkerThreads)
  191.  
  192. LoginDatabase.SynchThreads = 1
  193.  
  194. #
  195. ###################################################################################################
  196.  
  197. ###################################################################################################
  198. # UPDATE SETTINGS
  199. #
  200. # Updates.EnableDatabases
  201. # Description: A mask that describes which databases shall be updated.
  202. #
  203. # Following flags are available
  204. # DATABASE_LOGIN = 1, // Auth database
  205. #
  206. # Default: 0 - (All Disabled)
  207. # 1 - (All Enabled)
  208.  
  209. Updates.EnableDatabases = 0
  210.  
  211. #
  212. # Updates.AutoSetup
  213. # Description: Auto populate empty databases.
  214. # Default: 1 - (Enabled)
  215. # 0 - (Disabled)
  216.  
  217. Updates.AutoSetup = 1
  218.  
  219. #
  220. # Updates.Redundancy
  221. # Description: Perform data redundancy checks through hashing
  222. # to detect changes on sql updates and reapply it.
  223. # Default: 1 - (Enabled)
  224. # 0 - (Disabled)
  225.  
  226. Updates.Redundancy = 1
  227.  
  228. #
  229. # Updates.ArchivedRedundancy
  230. # Description: Check hashes of archived updates (slows down startup).
  231. # Default: 0 - (Disabled)
  232. # 1 - (Enabled)
  233.  
  234. Updates.ArchivedRedundancy = 0
  235.  
  236. #
  237. # Updates.AllowRehash
  238. # Description: Inserts the current file hash in the database if it is left empty.
  239. # Useful if you want to mark a file as applied but you don't know its hash.
  240. # Default: 1 - (Enabled)
  241. # 0 - (Disabled)
  242.  
  243. Updates.AllowRehash = 1
  244.  
  245. #
  246. # Updates.CleanDeadRefMaxCount
  247. # Description: Cleans dead/ orphaned references that occur if an update was removed or renamed and edited in one step.
  248. # It only starts the clean up if the count of the missing updates is below or equal the Updates.CleanDeadRefMaxCount value.
  249. # This way prevents erasing of the update history due to wrong source directory state (maybe wrong branch or bad revision).
  250. # Disable this if you want to know if the database is in a possible "dirty state".
  251. # Default: 3 - (Enabled)
  252. # 0 - (Disabled)
  253. # -1 - (Enabled - unlimited)
  254.  
  255. Updates.CleanDeadRefMaxCount = 3
  256.  
  257. #
  258. ###################################################################################################
  259.  
  260. ###################################################################################################
  261. #
  262. # LOGGING SYSTEM SETTINGS
  263. #
  264. # Appender config values: Given a appender "name"
  265. # Appender.name
  266. # Description: Defines 'where to log'
  267. # Format: Type,LogLevel,Flags,optional1,optional2,optional3
  268. #
  269. # Type
  270. # 0 - (None)
  271. # 1 - (Console)
  272. # 2 - (File)
  273. # 3 - (DB)
  274. #
  275. # LogLevel
  276. # 0 - (Disabled)
  277. # 1 - (Trace)
  278. # 2 - (Debug)
  279. # 3 - (Info)
  280. # 4 - (Warn)
  281. # 5 - (Error)
  282. # 6 - (Fatal)
  283. #
  284. # Flags:
  285. # 0 - None
  286. # 1 - Prefix Timestamp to the text
  287. # 2 - Prefix Log Level to the text
  288. # 4 - Prefix Log Filter type to the text
  289. # 8 - Append timestamp to the log file name. Format: YYYY-MM-DD_HH-MM-SS (Only used with Type = 2)
  290. # 16 - Make a backup of existing file before overwrite (Only used with Mode = w)
  291. #
  292. # Colors (read as optional1 if Type = Console)
  293. # Format: "fatal error warn info debug trace"
  294. # 0 - BLACK
  295. # 1 - RED
  296. # 2 - GREEN
  297. # 3 - BROWN
  298. # 4 - BLUE
  299. # 5 - MAGENTA
  300. # 6 - CYAN
  301. # 7 - GREY
  302. # 8 - YELLOW
  303. # 9 - LRED
  304. # 10 - LGREEN
  305. # 11 - LBLUE
  306. # 12 - LMAGENTA
  307. # 13 - LCYAN
  308. # 14 - WHITE
  309. # Example: "13 11 9 5 3 1"
  310. #
  311. # File: Name of the file (read as optional1 if Type = File)
  312. # Allows to use one "%s" to create dynamic files
  313. #
  314. # Mode: Mode to open the file (read as optional2 if Type = File)
  315. # a - (Append)
  316. # w - (Overwrite)
  317. #
  318. # MaxFileSize: Maximum file size of the log file before creating a new log file
  319. # (read as optional3 if Type = File)
  320. # Size is measured in bytes expressed in a 64-bit unsigned integer.
  321. # Maximum value is 4294967295 (4 gb). Leave blank for no limit.
  322. # NOTE: Does not work with dynamic filenames.
  323. # Example: 536870912 (512 mb)
  324. #
  325.  
  326. Appender.Console=1,2,0
  327. Appender.Auth=2,2,0,Auth.log,w
  328.  
  329. # Logger config values: Given a logger "name"
  330. # Logger.name
  331. # Description: Defines 'What to log'
  332. # Format: LogLevel,AppenderList
  333. #
  334. # LogLevel
  335. # 0 - (Disabled)
  336. # 1 - (Trace)
  337. # 2 - (Debug)
  338. # 3 - (Info)
  339. # 4 - (Warn)
  340. # 5 - (Error)
  341. # 6 - (Fatal)
  342. #
  343. # AppenderList: List of appenders linked to logger
  344. # (Using spaces as separator).
  345. #
  346.  
  347. Logger.root=3,Console Auth
  348.  
  349. #
  350. ###################################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement