[1] | 1 | // Athena Character configuration file. |
---|
| 2 | |
---|
| 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 | |
---|
| 7 | // Server Communication username and password. |
---|
| 8 | userid: s1 |
---|
| 9 | passwd: p1 |
---|
| 10 | |
---|
| 11 | // Server name, use alternative character such as ASCII 160 for spaces. |
---|
| 12 | // NOTE: Do not use spaces in the name, or guild emblems won't work client-side! |
---|
| 13 | server_name: eAthena |
---|
| 14 | |
---|
| 15 | // Wisp name for server: used to send wisp from server to players (between 4 to 23 characters) |
---|
| 16 | wisp_server_name: Server |
---|
| 17 | |
---|
| 18 | // Login Server IP |
---|
| 19 | // The character server connects to the login server using this IP address. |
---|
| 20 | // NOTE: This is useful when you are running behind a firewall or are on |
---|
| 21 | // a machine with multiple interfaces. |
---|
| 22 | //login_ip: 127.0.0.1 |
---|
| 23 | |
---|
| 24 | // The character server listens on the interface with this IP address. |
---|
| 25 | // NOTE: This allows you to run multiple servers on multiple interfaces |
---|
| 26 | // while using the same ports for each server. |
---|
| 27 | //bind_ip: 127.0.0.1 |
---|
| 28 | |
---|
| 29 | // Login Server Port |
---|
| 30 | login_port: 6900 |
---|
| 31 | |
---|
| 32 | // Character Server IP |
---|
| 33 | // The IP address which clients will use to connect. |
---|
| 34 | // Set this to what your server's public IP address is. |
---|
| 35 | //char_ip: 127.0.0.1 |
---|
| 36 | |
---|
| 37 | // Character Server Port |
---|
| 38 | char_port: 6121 |
---|
| 39 | |
---|
| 40 | //Time-stamp format which will be printed before all messages. |
---|
| 41 | //Can at most be 20 characters long. |
---|
| 42 | //Common formats: |
---|
| 43 | // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format) |
---|
| 44 | // %H:%M:%S (hour:minute:second, 24 hour format) |
---|
| 45 | // %d/%b/%Y (day/Month/year) |
---|
| 46 | //For full format information, consult the strftime() manual. |
---|
| 47 | //timestamp_format: [%d/%b %H:%M] |
---|
| 48 | |
---|
| 49 | //If redirected output contains escape sequences (color codes) |
---|
| 50 | stdout_with_ansisequence: no |
---|
| 51 | |
---|
| 52 | //Makes server output more silent by ommitting certain types of messages: |
---|
| 53 | //1: Hide Information messages |
---|
| 54 | //2: Hide Status messages |
---|
| 55 | //4: Hide Notice Messages |
---|
| 56 | //8: Hide Warning Messages |
---|
| 57 | //16: Hide Error and SQL Error messages. |
---|
| 58 | //32: Hide Debug Messages |
---|
| 59 | //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4) |
---|
| 60 | console_silent: 0 |
---|
| 61 | |
---|
| 62 | // Console Commands |
---|
| 63 | // Allow for console commands to be used on/off |
---|
| 64 | // This prevents usage of >& log.file |
---|
| 65 | console: off |
---|
| 66 | |
---|
| 67 | // Option to force a player to create an e-mail. |
---|
| 68 | // If a player have default e-mail, and if you activate this option, the player can only connect in the game (to arrive on a map) like follow: |
---|
| 69 | // - Create at least 1 character |
---|
| 70 | // - Select 1 character |
---|
| 71 | // - Select DEL to enter his/her e-mail. (if OK is choosen, client says to the player: 'invalid e-mail') |
---|
| 72 | // - If his/her e-mail is correct, the player enter in the game (an e-mail is saved definitively). |
---|
| 73 | // - If his/her e-mail is incorrect, he/she have 'incorrect e-mail' and must select again DEL. |
---|
| 74 | // - After entering in the game (when the player arrives on a map), DEL and SEL/OK button work normaly for all next connections. |
---|
| 75 | // Resume: If a player have "incorrect/invalid e-mail" when he/she click on 'OK' button, |
---|
| 76 | // the player must click 'DEL' button and register his/her NEW e-mail to enter in the game |
---|
| 77 | // So, default is 0, because administrator must explain to their players before to activate this option. |
---|
| 78 | email_creation: 0 |
---|
| 79 | |
---|
| 80 | // Is Character server in maintainence mode? |
---|
| 81 | char_maintenance: 0 |
---|
| 82 | |
---|
| 83 | // Enable or disable creation of new characters. |
---|
| 84 | // Now it is actually supported [Kevin] |
---|
| 85 | char_new: 1 |
---|
| 86 | |
---|
| 87 | // Display (New) in the server list. |
---|
| 88 | char_new_display: 0 |
---|
| 89 | |
---|
| 90 | // Maximum users able to connect to the server. Set to 0 for unlimited. |
---|
| 91 | max_connect_user: 0 |
---|
| 92 | |
---|
| 93 | // When set to yes, the char server will refuse connections from players already online. |
---|
| 94 | // When a login attempt is rejected, the account in question will be booted from all the connected map servers. |
---|
| 95 | // Note that this only works within the char-server and it's connected mapservers, |
---|
| 96 | // the charserver cannot know if the same account is logged on in other char servers. |
---|
| 97 | // it's safe to turn off if the char-server only has a single map-server connected to it. |
---|
| 98 | online_check: yes |
---|
| 99 | |
---|
| 100 | // Minimum GM level that is allowed to bypass the server limit of users. |
---|
| 101 | gm_allow_level: 99 |
---|
| 102 | |
---|
| 103 | // How often should the server save all files? (In seconds) |
---|
| 104 | // Note: Applies to all data files on TXT servers. |
---|
| 105 | // On SQL servers, it applies to guilds (character save interval is defined on the map config) |
---|
| 106 | autosave_time: 60 |
---|
| 107 | |
---|
| 108 | // Display information on the console whenever characters/guilds/parties/pets are loaded/saved? |
---|
| 109 | save_log: yes |
---|
| 110 | |
---|
| 111 | // Character server flatfile database |
---|
| 112 | char_txt: save/athena.txt |
---|
| 113 | |
---|
| 114 | // Friends list flatfile database |
---|
| 115 | friends_txt: save/friends.txt |
---|
| 116 | |
---|
| 117 | // Start point, Map name followed by coordinates (x,y) |
---|
| 118 | start_point: new_1-1,53,111 |
---|
| 119 | |
---|
| 120 | // Starting weapon for new characters |
---|
| 121 | start_weapon: 1201 |
---|
| 122 | |
---|
| 123 | // Starting armor for new characters |
---|
| 124 | start_armor: 2301 |
---|
| 125 | |
---|
| 126 | // Starting zeny for new characters |
---|
| 127 | start_zeny: 0 |
---|
| 128 | |
---|
| 129 | // Size for the fame-lists |
---|
| 130 | fame_list_alchemist: 10 |
---|
| 131 | fame_list_blacksmith: 10 |
---|
| 132 | fame_list_taekwon: 10 |
---|
| 133 | |
---|
| 134 | // Guild earned exp modifier. |
---|
| 135 | // Adjusts taxed exp before adding it to the guild's exp. For example, if set |
---|
| 136 | // to 200, the guild receives double the player's taxed exp. |
---|
| 137 | guild_exp_rate: 100 |
---|
| 138 | |
---|
| 139 | // Name used for unknown characters |
---|
| 140 | unknown_char_name: Unknown |
---|
| 141 | |
---|
| 142 | // To log the character server? |
---|
| 143 | log_char: 1 |
---|
| 144 | |
---|
| 145 | // Log Filename |
---|
| 146 | char_log_filename: log/char.log |
---|
| 147 | |
---|
| 148 | // Allow or not identical name for characters but with a different case (upper/lower): |
---|
| 149 | // example: Test-test-TEST-TesT; Value: 0 not allowed (default), 1 allowed |
---|
| 150 | name_ignoring_case: no |
---|
| 151 | |
---|
| 152 | // Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are: |
---|
| 153 | // NOTE: Applies to character, party and guild names. |
---|
| 154 | // 0: no restriction (default) |
---|
| 155 | // 1: only letters/symbols in 'char_name_letters' option. |
---|
| 156 | // 2: Letters/symbols in 'char_name_letters' option are forbidden. All others are possibles. |
---|
| 157 | char_name_option: 1 |
---|
| 158 | |
---|
| 159 | // Set the letters/symbols that you want use with the 'char_name_option' option. |
---|
| 160 | // Note: Don't add spaces unless you mean to add 'space' to the list. |
---|
| 161 | char_name_letters: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 |
---|
| 162 | |
---|
| 163 | // Character rename option. When set to yes, the server will send an extended |
---|
| 164 | // char-info packet, informing whether the character can be renamed or not. |
---|
| 165 | // NOTE: This functionality is not implemented. |
---|
| 166 | // NOTE: This option is for compatibility with kRO sakray 2006-10-23 and newer. |
---|
| 167 | // !Do not use it for any other type of client since it will crash them! |
---|
| 168 | char_rename: yes |
---|
| 169 | |
---|
| 170 | // How many Characters are allowed per Account ? (0 = disabled) [SQL Only!] |
---|
| 171 | chars_per_account: 0 |
---|
| 172 | |
---|
| 173 | // Restrict character deletion by BaseLevel |
---|
| 174 | // 0: no restriction (players can delete characters of any level) |
---|
| 175 | // -X: you can't delete chars with BaseLevel <= X |
---|
| 176 | // Y: you can't delete chars with BaseLevel >= Y |
---|
| 177 | // e.g. char_del_level: 80 (players can't delete characters with 80+ BaseLevel) |
---|
| 178 | char_del_level: 0 |
---|
| 179 | |
---|
| 180 | // What folder the DB files are in (item_db.txt, etc.) |
---|
| 181 | db_path: db |
---|
| 182 | |
---|
| 183 | //NOTE: The following online listing options are only for TXT servers. |
---|
| 184 | |
---|
| 185 | // Filename of the file which receives the online players list in text |
---|
| 186 | online_txt_filename: online.txt |
---|
| 187 | |
---|
| 188 | // Filename of the file which receives the online players list, but in html version |
---|
| 189 | online_html_filename: online.html |
---|
| 190 | |
---|
| 191 | // Choose how to display online players. |
---|
| 192 | // (sorting operation with a lot of online players can take time on a slow computer) |
---|
| 193 | // 0: no sorting (default) |
---|
| 194 | // 1: by alphabetical order of their name |
---|
| 195 | // 2: by number of their zenys |
---|
| 196 | // 3: by their base level |
---|
| 197 | // 4: by their job (and job level inside the same job) |
---|
| 198 | // 5: by alphabetical order of their actual map location |
---|
| 199 | online_sorting_option: 0 |
---|
| 200 | |
---|
| 201 | // Choose which columns that you want display in the online files. Do the addition of these values: |
---|
| 202 | // (if value is 0, no file is done) |
---|
| 203 | // 1: name (just the name, no function like 'GM') |
---|
| 204 | // 2: job |
---|
| 205 | // 4: levels |
---|
| 206 | // 8: map name |
---|
| 207 | // 16: mapname and coordonates |
---|
| 208 | // 32: zenys |
---|
| 209 | // 64: name (with 'GM' if the player is a GM) |
---|
| 210 | // default value: 1 (only name) |
---|
| 211 | online_display_option: 1 |
---|
| 212 | |
---|
| 213 | // minimum GM level to display 'GM' when we want to display it (default: 1) |
---|
| 214 | online_gm_display_min_level: 20 |
---|
| 215 | |
---|
| 216 | // refresh time (in sec) of the html file in the explorer (default 20) |
---|
| 217 | online_refresh_html: 20 |
---|
| 218 | |
---|
| 219 | import: conf/import/char_conf.txt |
---|