char_athena.conf 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  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. // Allow or not identical name for characters but with a different case (upper/lower):
  118. // example: Test-test-TEST-TesT; Value: 0 not allowed (default), 1 allowed
  119. name_ignoring_case: no
  120. // Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are:
  121. // NOTE: Applies to character, party and guild names.
  122. // 0: no restriction (default)
  123. // 1: only letters/symbols in 'char_name_letters' option.
  124. // 2: Letters/symbols in 'char_name_letters' option are forbidden. All others are possibles.
  125. char_name_option: 1
  126. // Set the letters/symbols that you want use with the 'char_name_option' option.
  127. // Note: Don't add spaces unless you mean to add 'space' to the list.
  128. char_name_letters: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
  129. // Restrict character deletion by BaseLevel
  130. // 0: no restriction (players can delete characters of any level)
  131. // -X: you can't delete chars with BaseLevel <= X
  132. // Y: you can't delete chars with BaseLevel >= Y
  133. // e.g. char_del_level: 80 (players can't delete characters with 80+ BaseLevel)
  134. char_del_level: 0
  135. // Amount of time in seconds by which the character deletion is delayed.
  136. // Default: 86400 (24 hours)
  137. // NOTE: Requires client 2010-08-03aragexeRE or newer.
  138. char_del_delay: 86400
  139. // Restrict character deletion by email address or birthdate.
  140. // This restricts players from changing the langtype and deleting characters.
  141. // Defaults based on client date.
  142. // 1: Email address
  143. // 2: Birthdate
  144. // 3: Email address or Birthdate
  145. // IMPORTANT!
  146. // - This config only works for clients that send 0x0068 or 0x01fb for delete request.
  147. // - Use langtype 1 for newer clients (2013+), to use 0x01fb.
  148. // - Clients that are not using 0x0068 or 0x01fb, only use birthdate (YYMMDD) as default.
  149. char_del_option: 2
  150. // Restrict character deletion as long as he is still in a party or guild
  151. // 0: No restriction is applied
  152. // 1: Character cannot be deleted as long as he remains in a party
  153. // 2: Character cannot be deleted as long as he remains in a guild
  154. // 3: Character cannot be deleted as long as he remains in a party or guild(default)
  155. char_del_restriction: 3
  156. // Restrict certain class from being created. (Only functional on 20151001aRagexe or later)
  157. // 0: No character creation is allowed
  158. // 1: Only novice is allowed to be created (pre-renewal default)
  159. // 2: Only summoner is allowed to be created
  160. // 3: Both novice and summoner can be created (renewal default)
  161. // Uncomment to customize the restriction
  162. //allowed_job_flag: 3
  163. // Should parties that don't have any members be cleared from the party_db table at start up?
  164. clear_parties: no
  165. // Folder that contains the database files.
  166. db_path: db
  167. //===================================
  168. // Pincode system
  169. //===================================
  170. // NOTE: Requires client 2011-03-09aragexeRE or newer.
  171. // A window is opened before you can select your character and you will have to enter a pincode by using only your mouse.
  172. // Default: yes
  173. pincode_enabled: yes
  174. // How often does a user have to change his pincode?
  175. // 0: never (default)
  176. // X: every X days
  177. pincode_changetime: 0
  178. // How often can a user enter the wrong pincode?
  179. // Default: 3 (client maximum)
  180. pincode_maxtry: 3
  181. // Are users forced to use a pincode when the system is enabled?
  182. // Default: yes
  183. pincode_force: yes
  184. // Are repeated numbers allowed?
  185. // Default: no
  186. pincode_allow_repeated: no
  187. // Are sequential numbers allowed?
  188. // Default: no
  189. pincode_allow_sequential: no
  190. //===================================
  191. // Addon system
  192. //===================================
  193. // Character moving
  194. // NOTE: Requires client 2011-09-28aragexeRE or newer.
  195. // Allows users to move their characters between slots.
  196. // Default: yes
  197. char_move_enabled: yes
  198. // Allow users to move a character to a used slot?
  199. // If enabled the characters are exchanged.
  200. // Default: yes
  201. char_movetoused: yes
  202. // Allow users to move characters as often as they like?
  203. char_moves_unlimited: no
  204. // Character renaming
  205. // Allow users to rename a character while being in a party?
  206. // Default: no
  207. char_rename_party: no
  208. // Allow users to rename a character while being in a guild?
  209. // Default: no
  210. char_rename_guild: no
  211. // Should we check if sql-tables are correct on server startup ?
  212. char_checkdb: yes
  213. // Default map if character is in not-existing map when loaded.
  214. default_map: prontera
  215. default_map_x: 156
  216. default_map_y: 191
  217. // After how many days should inactive clan members be removed from their clan?
  218. // 0: never remove them
  219. // X: remove clan members if they did not log in for X days
  220. // Default: 14
  221. clan_remove_inactive_days: 14
  222. //===================================
  223. // RODEX
  224. //===================================
  225. // After how many days should mails be returned to their sender?
  226. // 0: never return them
  227. // X: return them after X days
  228. // Default: 15
  229. mail_return_days: 15
  230. // How many days after a mail was returned to it's sender should it be deleted completely?
  231. // 0: never delete them
  232. // X: delete them X days after they were returned
  233. // Default: 15
  234. mail_delete_days: 15
  235. // Does the Retrieve All button ignore unread mail status?
  236. // no: Only return attachments from read mail
  237. // yes: Return attachments from all mail
  238. // Default: yes
  239. mail_retrieve: yes
  240. // Should mails without any attachments be returned to their sender?
  241. // Default: yes
  242. mail_return_empty: yes
  243. import: conf/import/char_conf.txt