[1] | 1 | // ______ __ __ |
---|
| 2 | // /\ _ \/\ \__/\ \ |
---|
| 3 | // __\ \ \L\ \ \ ,_\ \ \___ __ ___ __ |
---|
| 4 | // /'__`\ \ __ \ \ \/\ \ _ `\ /'__`\/' _ `\ /'__`\ |
---|
| 5 | ///\ __/\ \ \/\ \ \ \_\ \ \ \ \/\ __//\ \/\ \/\ \L\.\_ |
---|
| 6 | //\ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ |
---|
| 7 | // \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ |
---|
| 8 | // _ _ _ _ _ _ _ _ _ _ _ _ _ |
---|
| 9 | // / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ |
---|
| 10 | //( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) |
---|
| 11 | // \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ |
---|
| 12 | // |
---|
| 13 | //-------------------------------------------------------------- |
---|
| 14 | //eAthena Map-Server Configuration File |
---|
| 15 | //-------------------------------------------------------------- |
---|
| 16 | |
---|
| 17 | // Note: "Comments" are all text on the right side of a double slash "//" |
---|
| 18 | // Whatever text is commented will not be parsed by the servers, and serves |
---|
| 19 | // only as information/reference. |
---|
| 20 | |
---|
| 21 | //-------------------------------------------------------------- |
---|
| 22 | // Configuration Info |
---|
| 23 | //-------------------------------------------------------------- |
---|
| 24 | // Interserver communication passwords, set in account.txt (or equiv.) |
---|
| 25 | userid: s1 |
---|
| 26 | passwd: p1 |
---|
| 27 | |
---|
| 28 | // Character Server IP |
---|
| 29 | // The map server connects to the character server using this IP address. |
---|
| 30 | // NOTE: This is useful when you are running behind a firewall or are on |
---|
| 31 | // a machine with multiple interfaces. |
---|
| 32 | //char_ip: 127.0.0.1 |
---|
| 33 | |
---|
| 34 | // The map server listens on the interface with this IP address. |
---|
| 35 | // NOTE: This allows you to run multiple servers on multiple interfaces |
---|
| 36 | // while using the same ports for each server. |
---|
| 37 | //bind_ip: 127.0.0.1 |
---|
| 38 | |
---|
| 39 | // Character Server Port |
---|
| 40 | char_port: 6121 |
---|
| 41 | |
---|
| 42 | // Map Server IP |
---|
| 43 | // The IP address which clients will use to connect. |
---|
| 44 | // Set this to what your server's public IP address is. |
---|
| 45 | //map_ip: 127.0.0.1 |
---|
| 46 | |
---|
| 47 | // Map Server Port |
---|
| 48 | map_port: 5121 |
---|
| 49 | |
---|
| 50 | //Time-stamp format which will be printed before all messages. |
---|
| 51 | //Can at most be 20 characters long. |
---|
| 52 | //Common formats: |
---|
| 53 | // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format) |
---|
| 54 | // %H:%M:%S (hour:minute:second, 24 hour format) |
---|
| 55 | // %d/%b/%Y (day/Month/year) |
---|
| 56 | //For full format information, consult the strftime() manual. |
---|
| 57 | //timestamp_format: [%d/%b %H:%M] |
---|
| 58 | |
---|
| 59 | //If redirected output contains escape sequences (color codes) |
---|
| 60 | stdout_with_ansisequence: no |
---|
| 61 | |
---|
| 62 | //Makes server output more silent by ommitting certain types of messages: |
---|
| 63 | //1: Hide Information messages |
---|
| 64 | //2: Hide Status messages |
---|
| 65 | //4: Hide Notice Messages |
---|
| 66 | //8: Hide Warning Messages |
---|
| 67 | //16: Hide Error and SQL Error messages. |
---|
| 68 | //32: Hide Debug Messages |
---|
| 69 | //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4) |
---|
| 70 | console_silent: 0 |
---|
| 71 | |
---|
| 72 | //Where should the map data be read from? |
---|
| 73 | map_cache_file: db/map_cache.dat |
---|
| 74 | |
---|
| 75 | //Where should all database data be read from? |
---|
| 76 | db_path: db |
---|
| 77 | |
---|
| 78 | // Enable the @guildspy and @partyspy at commands? |
---|
| 79 | // Note that enabling them decreases packet sending performance. |
---|
| 80 | enable_spy: no |
---|
| 81 | |
---|
| 82 | // Read map data from GATs and RSWs in GRF files or a data directory |
---|
| 83 | // as referenced by grf-files.txt rather than from the mapcache? |
---|
| 84 | use_grf: no |
---|
| 85 | |
---|
| 86 | // Console Commands |
---|
| 87 | // Allow for console commands to be used on/off |
---|
| 88 | // This prevents usage of >& log.file |
---|
| 89 | console: off |
---|
| 90 | |
---|
| 91 | // Database autosave time |
---|
| 92 | // All characters are saved on this time in seconds (example: |
---|
| 93 | // autosave of 60 secs with 60 characters online -> one char is saved every |
---|
| 94 | // second) |
---|
| 95 | autosave_time: 300 |
---|
| 96 | |
---|
| 97 | // Min database save intervals (in ms) |
---|
| 98 | // Prevent saving characters faster than at this rate (prevents char-server |
---|
| 99 | // save-load getting too high as character-count increases) |
---|
| 100 | minsave_time: 100 |
---|
| 101 | |
---|
| 102 | // Apart from the autosave_time, players will also get saved when involved |
---|
| 103 | // in the following (add as needed): |
---|
| 104 | // 1: after every successful trade |
---|
| 105 | // 2: after every vending transaction |
---|
| 106 | // 4: after closing storage/guild storage. |
---|
| 107 | // 8: After hatching/returning to egg a pet. |
---|
| 108 | // 16: After successfully sending a mail with attachment |
---|
| 109 | // 32: After successfully submitting an item for auction |
---|
| 110 | // NOTE: These settings decrease the chance of dupes/lost items when there's a |
---|
| 111 | // server crash at the expense of increasing the map/char server lag. If your |
---|
| 112 | // server rarely crashes, but experiences interserver lag, you may want to set |
---|
| 113 | // these off. |
---|
| 114 | save_settings: 63 |
---|
| 115 | |
---|
| 116 | // Message of the day file, when a character logs on, this message is displayed. |
---|
| 117 | motd_txt: conf/motd.txt |
---|
| 118 | |
---|
| 119 | // When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands. |
---|
| 120 | help_txt: conf/help.txt |
---|
| 121 | help2_txt: conf/help2.txt |
---|
| 122 | charhelp_txt: conf/charhelp.txt |
---|
| 123 | |
---|
| 124 | mapreg_txt: save/mapreg.txt |
---|
| 125 | |
---|
| 126 | // Scripts |
---|
| 127 | import: npc/scripts_main.conf |
---|
| 128 | |
---|
| 129 | // Maps: |
---|
| 130 | import: conf/maps_athena.conf |
---|
| 131 | |
---|
| 132 | import: conf/import/map_conf.txt |
---|