char_athena.conf 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. // Athena Character configuration file.
  2. // Note: "Comments" are all text on the right side of a double slash "//"
  3. // Whatever text is commented will not be parsed by the servers, and serves
  4. // only as information/reference.
  5. // Server Communication username and password.
  6. userid: s1
  7. passwd: p1
  8. // Server name, use alternative character such as ASCII 160 for spaces.
  9. // NOTE: Do not use spaces or any of these characters which are not allowed in
  10. // Windows filenames \/:*?"<>|
  11. // ... or else guild emblems won't work client-side!
  12. server_name: rAthena
  13. // Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
  14. wisp_server_name: Server
  15. // Login Server IP
  16. // The character server connects to the login server using this IP address.
  17. // NOTE: This is useful when you are running behind a firewall or are on
  18. // a machine with multiple interfaces.
  19. //login_ip: 127.0.0.1
  20. // The character server listens on the interface with this IP address.
  21. // NOTE: This allows you to run multiple servers on multiple interfaces
  22. // while using the same ports for each server.
  23. //bind_ip: 127.0.0.1
  24. // Login Server Port
  25. login_port: 6900
  26. // Character Server IP
  27. // The IP address which clients will use to connect.
  28. // Set this to what your server's public IP address is.
  29. //char_ip: 127.0.0.1
  30. // Character Server Port
  31. char_port: 6121
  32. //Time-stamp format which will be printed before all messages.
  33. //Can at most be 20 characters long.
  34. //Common formats:
  35. // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
  36. // %H:%M:%S (hour:minute:second, 24 hour format)
  37. // %d/%b/%Y (day/Month/year)
  38. //For full format information, consult the strftime() manual.
  39. //timestamp_format: [%d/%b %H:%M]
  40. //If redirected output contains escape sequences (color codes)
  41. stdout_with_ansisequence: no
  42. //Makes server log selected message types to a file in the /log/ folder
  43. //1: Log Warning Messages
  44. //2: Log Error and SQL Error messages.
  45. //4: Log Debug Messages
  46. //Example: "console_msg_log: 7" logs all 3 kinds
  47. //Messages logged by this overrides console_silent setting
  48. console_msg_log: 0
  49. // File path to store the console messages above
  50. console_log_filepath: ./log/char-msg_log.log
  51. //Makes server output more silent by ommitting certain types of messages:
  52. //1: Hide Information messages
  53. //2: Hide Status messages
  54. //4: Hide Notice Messages
  55. //8: Hide Warning Messages
  56. //16: Hide Error and SQL Error messages.
  57. //32: Hide Debug Messages
  58. //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4)
  59. console_silent: 0
  60. // Console Commands
  61. // Allow for console commands to be used on/off
  62. // This prevents usage of >& log.file
  63. console: off
  64. // Type of server.
  65. // No functional side effects at the moment.
  66. // Displayed next to the server name in the client.
  67. // 0=normal, 1=maintenance, 2=over 18, 3=paying, 4=P2P
  68. char_maintenance: 0
  69. // Enable or disable creation of new characters.
  70. // Now it is actually supported [Kevin]
  71. char_new: yes
  72. // Display (New) in the server list.
  73. char_new_display: 0
  74. // Maximum users able to connect to the server.
  75. // Set to 0 to disable users to log-in. (-1 means unlimited)
  76. max_connect_user: -1
  77. // Group ID that is allowed to bypass the server limit of users.
  78. // Or to connect when the char is in maintenance mode (groupid >= allow)
  79. // Default: -1 = nobody (there are no groups with ID < 0)
  80. // See: conf/groups.conf
  81. gm_allow_group: 99
  82. // How often should the server save guild infos? (In seconds)
  83. // (character save interval is defined on the map config (autosave_time))
  84. autosave_time: 60
  85. // Display information on the console whenever characters/guilds/parties/pets are loaded/saved?
  86. save_log: yes
  87. // Starting point for new characters
  88. // Format: <map_name>,<x>,<y>{:<map_name>,<x>,<y>...}
  89. // Max number of start points is MAX_STARTPOINT in char.hpp (default 5)
  90. // Location is randomly picked on character creation.
  91. // NOTE: For Doram, this requires client 20151001 or newer.
  92. start_point: iz_int,18,26:iz_int01,18,26:iz_int02,18,26:iz_int03,18,26:iz_int04,18,26
  93. start_point_pre: new_1-1,53,111:new_2-1,53,111:new_3-1,53,111:new_4-1,53,111:new_5-1,53,111
  94. start_point_doram: lasa_fild01,48,297
  95. // Starting items for new characters
  96. // Max number of items is MAX_STARTITEM in char.cpp (default 32)
  97. // Format: <id>,<amount>,<position>{:<id>,<amount>,<position>...}
  98. // To auto-equip an item, include the position where it will be equipped; otherwise, use zero.
  99. // NOTE: For Doram, this requires client 20151001 or newer.
  100. start_items: 1201,1,2:2301,1,16:23484,1,0
  101. start_items_pre: 1201,1,2:2301,1,16
  102. start_items_doram: 1681,1,2:2301,1,16
  103. // Starting zeny for new characters
  104. start_zeny: 0
  105. // Size for the fame-lists
  106. fame_list_alchemist: 10
  107. fame_list_blacksmith: 10
  108. fame_list_taekwon: 10
  109. // Guild earned exp modifier.
  110. // Adjusts taxed exp before adding it to the guild's exp. For example, if set
  111. // to 200, the guild receives double the player's taxed exp.
  112. guild_exp_rate: 100
  113. // Name used for unknown characters
  114. unknown_char_name: Unknown
  115. // To log the character server?
  116. log_char: yes
  117. // Minimum length for a character name.
  118. // Must be set to '4' unless your client uses the 'Remove 4/6 letter Character Name limit' diff patch.
  119. char_name_min_length: 4
  120. // Allow or not identical name for characters but with a different case (upper/lower):
  121. // example: Test-test-TEST-TesT; Value: 0 not allowed (default), 1 allowed
  122. name_ignoring_case: no
  123. // Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are:
  124. // NOTE: Applies to character, party and guild names.
  125. // 0: no restriction (default)
  126. // 1: only letters/symbols in 'char_name_letters' option.
  127. // 2: Letters/symbols in 'char_name_letters' option are forbidden. All others are possibles.
  128. char_name_option: 1
  129. // Set the letters/symbols that you want use with the 'char_name_option' option.
  130. // Note: Don't add spaces unless you mean to add 'space' to the list.
  131. char_name_letters: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
  132. // Restrict character deletion by BaseLevel
  133. // 0: no restriction (players can delete characters of any level)
  134. // -X: you can't delete chars with BaseLevel <= X
  135. // Y: you can't delete chars with BaseLevel >= Y
  136. // e.g. char_del_level: 80 (players can't delete characters with 80+ BaseLevel)
  137. char_del_level: 0
  138. // Amount of time in seconds by which the character deletion is delayed.
  139. // Default: 86400 (24 hours)
  140. // NOTE: Requires client 2010-08-03aragexeRE or newer.
  141. char_del_delay: 86400
  142. // Restrict character deletion by email address or birthdate.
  143. // This restricts players from changing the langtype and deleting characters.
  144. // Defaults based on client date.
  145. // 1: Email address
  146. // 2: Birthdate
  147. // 3: Email address or Birthdate
  148. // IMPORTANT!
  149. // - This config only works for clients that send 0x0068 or 0x01fb for delete request.
  150. // - Use langtype 1 for newer clients (2013+), to use 0x01fb.
  151. // - Clients that are not using 0x0068 or 0x01fb, only use birthdate (YYMMDD) as default.
  152. char_del_option: 2
  153. // Restrict character deletion as long as he is still in a party or guild
  154. // 0: No restriction is applied
  155. // 1: Character cannot be deleted as long as he remains in a party
  156. // 2: Character cannot be deleted as long as he remains in a guild
  157. // 3: Character cannot be deleted as long as he remains in a party or guild(default)
  158. char_del_restriction: 3
  159. // Restrict certain class from being created. (Only functional on 20151001aRagexe or later)
  160. // 0: No character creation is allowed
  161. // 1: Only novice is allowed to be created (pre-renewal default)
  162. // 2: Only summoner is allowed to be created
  163. // 3: Both novice and summoner can be created (renewal default)
  164. // Uncomment to customize the restriction
  165. //allowed_job_flag: 3
  166. // Should parties that don't have any members be cleared from the party_db table at start up?
  167. clear_parties: no
  168. // Folder that contains the database files.
  169. db_path: db
  170. //===================================
  171. // Pincode system
  172. //===================================
  173. // NOTE: Requires client 2011-03-09aragexeRE or newer.
  174. // A window is opened before you can select your character and you will have to enter a pincode by using only your mouse.
  175. // Default: yes
  176. pincode_enabled: yes
  177. // How often does a user have to change his pincode?
  178. // 0: never (default)
  179. // X: every X days
  180. pincode_changetime: 0
  181. // How often can a user enter the wrong pincode?
  182. // Default: 3 (client maximum)
  183. pincode_maxtry: 3
  184. // Are users forced to use a pincode when the system is enabled?
  185. // Default: yes
  186. pincode_force: yes
  187. // Are repeated numbers allowed?
  188. // Default: no
  189. pincode_allow_repeated: no
  190. // Are sequential numbers allowed?
  191. // Default: no
  192. pincode_allow_sequential: no
  193. //===================================
  194. // Addon system
  195. //===================================
  196. // Character moving
  197. // NOTE: Requires client 2011-09-28aragexeRE or newer.
  198. // Allows users to move their characters between slots.
  199. // Default: yes
  200. char_move_enabled: yes
  201. // Allow users to move a character to a used slot?
  202. // If enabled the characters are exchanged.
  203. // Default: yes
  204. char_movetoused: yes
  205. // Allow users to move characters as often as they like?
  206. char_moves_unlimited: no
  207. // Character renaming
  208. // Allow users to rename a character while being in a party?
  209. // Default: no
  210. char_rename_party: no
  211. // Allow users to rename a character while being in a guild?
  212. // Default: no
  213. char_rename_guild: no
  214. // Should we check if sql-tables are correct on server startup ?
  215. char_checkdb: yes
  216. // Default map if character is in not-existing map when loaded.
  217. default_map: prontera
  218. default_map_x: 156
  219. default_map_y: 191
  220. // After how many days should inactive clan members be removed from their clan?
  221. // 0: never remove them
  222. // X: remove clan members if they did not log in for X days
  223. // Default: 14
  224. clan_remove_inactive_days: 14
  225. //===================================
  226. // RODEX
  227. //===================================
  228. // After how many days should mails be returned to their sender?
  229. // 0: never return them
  230. // X: return them after X days
  231. // Default: 15
  232. mail_return_days: 15
  233. // How many days after a mail was returned to it's sender should it be deleted completely?
  234. // 0: never delete them
  235. // X: delete them X days after they were returned
  236. // Default: 15
  237. mail_delete_days: 15
  238. // Does the Retrieve All button ignore unread mail status?
  239. // no: Only return attachments from read mail
  240. // yes: Return attachments from all mail
  241. // Default: yes
  242. mail_retrieve: yes
  243. // Should mails without any attachments be returned to their sender?
  244. // Default: yes
  245. mail_return_empty: yes
  246. import: conf/import/char_conf.txt