[1] | 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 | // Whether remote administration is enabled or disabled |
---|
| 39 | admin_state: no |
---|
| 40 | |
---|
| 41 | // Administrative password, used by ladmin (perl software) to connect remotely to server. |
---|
| 42 | // NOTICE: If you enable remote administration, you should change its value for security |
---|
| 43 | // NOTE: ladmin only works on TXT login servers. |
---|
| 44 | admin_pass: admin |
---|
| 45 | |
---|
| 46 | // Indicate the IP/host that the server accepts for remote administration. |
---|
| 47 | admin_allowed_ip: 127.0.0.1 |
---|
| 48 | |
---|
| 49 | // Console Commands |
---|
| 50 | // Allow for console commands to be used on/off |
---|
| 51 | // This prevents usage of >& log.file |
---|
| 52 | console: off |
---|
| 53 | |
---|
| 54 | // Are logins case sensitive? (SQL only) |
---|
| 55 | case_sensitive: yes |
---|
| 56 | |
---|
| 57 | // Can you use _M/_F to make new accounts on the server? |
---|
| 58 | new_account: yes |
---|
| 59 | |
---|
| 60 | // Account registration flood protection system |
---|
| 61 | // allowed_regs is the number of registrations allowed in time_allowed (in seconds) |
---|
| 62 | allowed_regs: 1 |
---|
| 63 | time_allowed: 10 |
---|
| 64 | |
---|
| 65 | // Account flatfile database, stores account information. |
---|
| 66 | account_filename: save/account.txt |
---|
| 67 | |
---|
| 68 | // What account AIDs have GM privs, and what level? |
---|
| 69 | gm_account_filename: conf/GM_account.txt |
---|
| 70 | |
---|
| 71 | // Timer to check if GM_account file has been changed and reload GM account automaticaly |
---|
| 72 | // (in seconds; default: 15; value: 0 (disabled), or 2 or more) |
---|
| 73 | gm_account_filename_check_timer: 15 |
---|
| 74 | |
---|
| 75 | // To log the login server? |
---|
| 76 | // NOTE: The login-sql server needs the login logs to enable dynamic pass failure bans. |
---|
| 77 | log_login: yes |
---|
| 78 | |
---|
| 79 | //When set to yes, the login server will refuse connections from accounts that are considered online already. |
---|
| 80 | //When a login attempt is rejected, the account in question is also kicked from all connected char-servers. |
---|
| 81 | //It's safe to turn this off if there's only one char-server connected, or if the char-servers don't share |
---|
| 82 | //the same backend (ie: Multiple char servers reading from the same SQL tables) |
---|
| 83 | online_check: yes |
---|
| 84 | |
---|
| 85 | // Indicate how to display date in logs, to players, etc. |
---|
| 86 | date_format: %Y-%m-%d %H:%M:%S |
---|
| 87 | |
---|
| 88 | // Indicate the minimum GM level of player that the server accepts to connection. |
---|
| 89 | // 0: all players (normal player are 0. it's default), 1-99: GM level at least with level x |
---|
| 90 | min_level_to_connect: 0 |
---|
| 91 | |
---|
| 92 | // Give possibility to adjust (ladmin command: timeadd) the time of an unlimited account. |
---|
| 93 | // If set to on/1/yes..., the adjustment is be done from actual time to set the final time of the account. |
---|
| 94 | // If set to no/0/no..., the adjustment can not be done on an unlimited account. You must set (ladmin command: timeset) a final time before to adjust (ladmin command: timeadd) |
---|
| 95 | add_to_unlimited_account: off |
---|
| 96 | |
---|
| 97 | // Starting additional sec from now for the limited time at creation of account |
---|
| 98 | // -1: new account are created with UNlimited time (default value) |
---|
| 99 | // 0 or more: new accounts was created by addition of the value (in sec) to the actual time (to set first limited time) |
---|
| 100 | start_limited_time: -1 |
---|
| 101 | |
---|
| 102 | // Check The clientversion set in the clientinfo ? |
---|
| 103 | check_client_version: no |
---|
| 104 | |
---|
| 105 | // What version we would allow to connect? (if the options above is enabled..) |
---|
| 106 | client_version_to_connect: 20 |
---|
| 107 | |
---|
| 108 | // Store passwords as MD5 hashes instead of plaintext ? |
---|
| 109 | // NOTE: Will not work with clients that use <passwordencrypt> |
---|
| 110 | use_MD5_passwords: no |
---|
| 111 | |
---|
| 112 | // Ipban features (SQL only) |
---|
| 113 | ipban: yes |
---|
| 114 | dynamic_pass_failure_ban: yes |
---|
| 115 | dynamic_pass_failure_ban_interval: 5 |
---|
| 116 | dynamic_pass_failure_ban_limit: 7 |
---|
| 117 | dynamic_pass_failure_ban_duration: 5 |
---|
| 118 | |
---|
| 119 | // Interval (in minutes) to execute a DNS/IP update. Disabled by default. |
---|
| 120 | // Enable it if your server uses a dynamic IP which changes with time. |
---|
| 121 | //ip_sync_interval: 10 |
---|
| 122 | |
---|
| 123 | // DNS Blacklist Blocking |
---|
| 124 | // If enabled, each incoming connection will be tested against the blacklists |
---|
| 125 | // on the specified dnsbl_servers (comma-separated list) |
---|
| 126 | use_dnsbl: no |
---|
| 127 | dnsbl_servers: dnsbl.deltaanime.net |
---|
| 128 | |
---|
| 129 | import: conf/import/login_conf.txt |
---|