Advertisement
Guest User

Untitled

a guest
Sep 17th, 2017
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. // Athena Login Server configuration file.
  2. // Translated by Peter Kieser <pfak@telus.net>
  3.  
  4. // Note: "Comments" are all text on the right side of a double slash "//"
  5. // Whatever text is commented will not be parsed by the servers, and serves
  6. // only as information/reference.
  7.  
  8. // The login server listens on the interface with this IP address.
  9. // NOTE: This allows you to run multiple servers on multiple interfaces
  10. // while using the same ports for each server.
  11. bind_ip: 127.0.0.1
  12.  
  13. // Login Server Port
  14. login_port: 6900
  15.  
  16. //Time-stamp format which will be printed before all messages.
  17. //Can at most be 20 characters long.
  18. //Common formats:
  19. // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
  20. // %H:%M:%S (hour:minute:second, 24 hour format)
  21. // %d/%b/%Y (day/Month/year)
  22. //For full format information, consult the strftime() manual.
  23. //timestamp_format: [%d/%b %H:%M]
  24.  
  25. //If redirected output contains escape sequences (color codes)
  26. stdout_with_ansisequence: no
  27.  
  28. //Makes server output more silent by ommitting certain types of messages:
  29. //1: Hide Information messages
  30. //2: Hide Status messages
  31. //4: Hide Notice Messages
  32. //8: Hide Warning Messages
  33. //16: Hide Error and SQL Error messages.
  34. //32: Hide Debug Messages
  35. //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4)
  36. console_silent: 0
  37.  
  38. // Console Commands
  39. // Allow for console commands to be used on/off
  40. // This prevents usage of >& log.file
  41. console: off
  42.  
  43. // Can you use _M/_F to make new accounts on the server?
  44. new_account: yes
  45.  
  46. // Account registration flood protection system
  47. // allowed_regs is the number of registrations allowed in time_allowed (in seconds)
  48. allowed_regs: 1
  49. time_allowed: 10
  50.  
  51. // Log Filename. All operations received by the server are logged in this file.
  52. login_log_filename: log/login.log
  53.  
  54. // To log the login server?
  55. // NOTE: The login-sql server needs the login logs to enable dynamic pass failure bans.
  56. log_login: yes
  57.  
  58. // Indicate how to display date in logs, to players, etc.
  59. date_format: %Y-%m-%d %H:%M:%S
  60.  
  61. // Indicate the minimum GM level of player that the server accepts to connection.
  62. // 0: all players (normal player are 0. it's default), 1-99: GM level at least with level x
  63. min_level_to_connect: 0
  64.  
  65. // Starting additional sec from now for the limited time at creation of account
  66. // -1: new account are created with UNlimited time (default value)
  67. // 0 or more: new accounts was created by addition of the value (in sec) to the actual time (to set first limited time)
  68. start_limited_time: -1
  69.  
  70. // Check The clientversion set in the clientinfo ?
  71. check_client_version: no
  72.  
  73. // What version we would allow to connect? (if the options above is enabled..)
  74. client_version_to_connect: 20
  75.  
  76. // Store passwords as MD5 hashes instead of plaintext ?
  77. // NOTE: Will not work with clients that use <passwordencrypt>
  78. use_MD5_passwords: no
  79.  
  80. // Ipban features (SQL only)
  81. ipban.enable: yes
  82. //ipban.sql.db_hostname: 127.0.0.1
  83. //ipban.sql.db_port: 3306
  84. //ipban.sql.db_username: ragnarok
  85. //ipban.sql.db_password: ragnarok
  86. //ipban.sql.db_database: ragnarok
  87. //ipban.sql.codepage:
  88. //ipban.sql.ipban_table: ipbanlist
  89. // Dynamic password failure ipban system
  90. ipban.dynamic_pass_failure_ban: yes
  91. ipban.dynamic_pass_failure_ban_interval: 5
  92. ipban.dynamic_pass_failure_ban_limit: 7
  93. ipban.dynamic_pass_failure_ban_duration: 5
  94.  
  95. // Interval (in seconds) to clean up expired IP bans. 0 = disabled. default = 60.
  96. // NOTE: Even if this is disabled, expired IP bans will be cleaned up on login server start/stop.
  97. // Players will still be able to login if an ipban entry exists but the expiration time has already passed.
  98. ipban_cleanup_interval: 60
  99.  
  100. // Interval (in minutes) to execute a DNS/IP update. Disabled by default.
  101. // Enable it if your server uses a dynamic IP which changes with time.
  102. //ip_sync_interval: 10
  103.  
  104. // DNS Blacklist Blocking
  105. // If enabled, each incoming connection will be tested against the blacklists
  106. // on the specified dnsbl_servers (comma-separated list)
  107. use_dnsbl: no
  108. dnsbl_servers: dnsbl.deltaanime.net
  109.  
  110. // Which account engine to use.
  111. // 'auto' selects the first engine available (txt, sql, then others)
  112. // (defaults to auto)
  113. account.engine: auto
  114.  
  115. // Account data storage configuration
  116. // TXT
  117. account.txt.account_db: save/account.txt
  118. account.txt.case_sensitive: no
  119. // SQL
  120. //account.sql.db_hostname: 127.0.0.1
  121. //account.sql.db_port: 3306
  122. //account.sql.db_username: ragnarok
  123. //account.sql.db_password: ragnarok
  124. //account.sql.db_database: ragnarok
  125. //account.sql.codepage:
  126. //account.sql.case_sensitive: no
  127. //account.sql.account_db: login
  128. //account.sql.accreg_db: global_reg_value
  129.  
  130. import: conf/inter_athena.conf
  131. import: conf/import/login_conf.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement