login_athena.conf 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. // Athena Login Server configuration file.
  2. // Translated by Peter Kieser <pfak@telus.net>
  3. // Note: "Comments" are all text on the right side of a double slash "//"
  4. // Whatever text is commented will not be parsed by the servers, and serves
  5. // only as information/reference.
  6. // The login server listens on the interface with this IP address.
  7. // NOTE: This allows you to run multiple servers on multiple interfaces
  8. // while using the same ports for each server.
  9. //bind_ip: 127.0.0.1
  10. // Login Server Port
  11. login_port: 6900
  12. //Time-stamp format which will be printed before all messages.
  13. //Can at most be 20 characters long.
  14. //Common formats:
  15. // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
  16. // %H:%M:%S (hour:minute:second, 24 hour format)
  17. // %d/%b/%Y (day/Month/year)
  18. //For full format information, consult the strftime() manual.
  19. //timestamp_format: [%d/%b %H:%M]
  20. //If redirected output contains escape sequences (color codes)
  21. stdout_with_ansisequence: no
  22. //Makes server log selected message types to a file in the /log/ folder
  23. //1: Log Warning Messages
  24. //2: Log Error and SQL Error messages.
  25. //4: Log Debug Messages
  26. //Example: "console_msg_log: 7" logs all 3 kinds
  27. //Messages logged by this overrides console_silent setting
  28. console_msg_log: 0
  29. // File path to store the console messages above
  30. console_log_filepath: ./log/login-msg_log.log
  31. //Makes server output more silent by omitting certain types of messages:
  32. //1: Hide Information messages
  33. //2: Hide Status messages
  34. //4: Hide Notice Messages
  35. //8: Hide Warning Messages
  36. //16: Hide Error and SQL Error messages.
  37. //32: Hide Debug Messages
  38. //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4)
  39. console_silent: 0
  40. // Console Commands
  41. // Allow for console commands to be used on/off
  42. // This prevents usage of >& log.file
  43. console: off
  44. // Can you use _M/_F to make new accounts on the server?
  45. // Note: This only works if client side password encryption is not enabled.
  46. new_account: no
  47. //If new_account is enabled, minimum length to userid and passwords should be 4?
  48. //Must be 'Yes' unless your client uses both 'Disable 4 LetterUserID/Password' Diffs
  49. new_acc_length_limit: yes
  50. // Account registration flood protection system
  51. // allowed_regs is the number of registrations allowed in time_allowed (in seconds)
  52. allowed_regs: 1
  53. time_allowed: 10
  54. // Log Filename. All operations received by the server are logged in this file.
  55. login_log_filename: log/login.log
  56. // To log the login server?
  57. // NOTE: The login server needs the login logs to enable dynamic pass failure bans.
  58. log_login: yes
  59. // Indicate how to display date in logs, to players, etc.
  60. date_format: %Y-%m-%d %H:%M:%S
  61. // Required account group id to connect to server.
  62. // -1: disabled
  63. // 0 or more: group id
  64. group_id_to_connect: -1
  65. // Minimum account group id required to connect to server.
  66. // Will not function if group_id_to_connect config is enabled.
  67. // -1: disabled
  68. // 0 or more: group id
  69. min_group_id_to_connect: -1
  70. // Which group (ID) will be denoted as the VIP group?
  71. // Default: 5
  72. vip_group: 5
  73. // How many characters are allowed per account?
  74. // You cannot exceed the limit of MAX_CHARS slots, defined in mmo.hpp, or chars_per_account
  75. // will default to MAX_CHARS.
  76. // 0 will default to the value of MIN_CHARS. (default)
  77. chars_per_account: 0
  78. // Max character limit increase for VIP accounts (0 to disable)
  79. // Increase the value of MAX_CHARS if you want to increase vip_char_increase.
  80. // Note: The amount of VIP characters = MAX_CHARS - chars_per_account.
  81. // Note 2: This setting must be set after chars_per_account.
  82. // -1 will default to MAX_CHAR_VIP (src/config/core.hpp)
  83. vip_char_increase: -1
  84. // Create accounts with limited time?
  85. // -1: new accounts are created with unlimited time (default)
  86. // 0 or more: new accounts automatically expire after the given value, in seconds
  87. start_limited_time: -1
  88. // Store passwords as MD5 hashes instead of plain text?
  89. // NOTE: Will not work with clients that use <passwordencrypt>
  90. use_MD5_passwords: no
  91. // User count colorization on login window (requires PACKETVER >= 20170726)
  92. // Disable colorization and description in general?
  93. usercount_disable: no
  94. // Amount of users that will display in green
  95. usercount_low: 200
  96. // Amount of users that will display in yellow
  97. usercount_medium: 500
  98. // Amount of users that will display in red
  99. usercount_high: 1000
  100. // Ipban features
  101. ipban_enable: yes
  102. // Dynamic password failure ipban system
  103. // Ban user after a number of failed attempts?
  104. ipban_dynamic_pass_failure_ban: yes
  105. // Interval (in minutes) to calculate how many failed attempts.
  106. ipban_dynamic_pass_failure_ban_interval: 5
  107. // Maximum amount of failed attempts before banning.
  108. ipban_dynamic_pass_failure_ban_limit: 7
  109. // Time (in minutes) for ban duration.
  110. ipban_dynamic_pass_failure_ban_duration: 5
  111. // Interval (in seconds) to clean up expired IP bans. 0 = disabled. default = 60.
  112. // NOTE: Even if this is disabled, expired IP bans will be cleaned up on login server start/stop.
  113. // Players will still be able to login if an ipban entry exists but the expiration time has already passed.
  114. ipban_cleanup_interval: 60
  115. // Interval (in minutes) to execute a DNS/IP update. Disabled by default.
  116. // Enable it if your server uses a dynamic IP which changes with time.
  117. //ip_sync_interval: 10
  118. // DNS Blacklist Blocking
  119. // If enabled, each incoming connection will be tested against the blacklists
  120. // on the specified dnsbl_servers (comma-separated list)
  121. use_dnsbl: no
  122. dnsbl_servers: bl.blocklist.de, socks.dnsbl.sorbs.net
  123. // Here are some free DNS Blacklist Services: http://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists
  124. //==============================================================================
  125. // dnsbl_servers Description
  126. // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  127. // bl.blocklist.de IP-Addresses who attack other servers/honeypots over SSH, FTP, IMAP, etc.
  128. // ircbl.ahbl.org AHBL (open proxies, compromised machines, comment spammers)
  129. // safe.dnsbl.sorbs.net All zones in dnsbl.sorbs.net except "recent" and "escalations"
  130. // sbl-xbl.spamhaus.org Spamhaus blacklist (spammers, open proxies)
  131. // socks.dnsbl.sorbs.net Open SOCKS proxy servers
  132. // tor.ahbl.org Current tor relay and exit nodes
  133. // Client MD5 hash check
  134. // If turned on, the login server will check if the client's hash matches
  135. // the value below, and will not connect tampered clients.
  136. // Note: see 'doc/md5_hashcheck.txt' for more details.
  137. client_hash_check: off
  138. // Enable web authentication token system
  139. // This is required for new clients that get data via an additional API over HTTP
  140. use_web_auth_token: yes
  141. // Client MD5 hashes
  142. // The client with the specified hash can be used to log in by players with
  143. // a group_id equal to or greater than the given value.
  144. // If you specify 'disabled' as hash, players with a group_id greater than or
  145. // equal to the given value will be able to log in regardless of hash (and even
  146. // if their client does not send a hash at all.)
  147. // Format: group_id, hash
  148. // Note: see 'doc/md5_hashcheck.txt' for more details.
  149. //client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5
  150. //client_hash: 10, cb1ea78023d337c38e8ba5124e2338ae
  151. //client_hash: 99, disabled
  152. import: conf/inter_athena.conf
  153. import: conf/import/login_conf.txt