General.properties 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. #=========================================================================================================================
  2. # General Server Settings
  3. #=========================================================================================================================
  4. # Purpose:
  5. # This properties file is for the general settings of the server.
  6. #
  7. # Note:
  8. # The defaults are set to retail, if you modify any of these settings your server will NOT be "retail-like".
  9. #
  10. # Warning:
  11. # Please take extreme caution when changing anything. Also please understand what you change before you do so on
  12. # a live server.
  13. #=========================================================================================================================
  14. #============================================================#
  15. # Administrator #
  16. #============================================================#
  17. # If this option is set to true every newly created character will have access level 200.
  18. # This means that every character created will have Administrator Privileges
  19. # Retail: false
  20. EverybodyHasAdminRights = False
  21. # Setting for serverList
  22. # Displays [] in front of server name on character selection
  23. # Retail: false
  24. ServerListBrackets = False
  25. # Displays a clock next to the server name on character selection.
  26. # Retail: false
  27. ServerListClock = False
  28. # If true, only accounts with GM access will enter,
  29. # regardless of Character access level.
  30. # Retail: false
  31. ServerGMOnly = False
  32. # Enable GMs to have the glowing aura of a Hero character on
  33. # character login.
  34. # GM can do "///hero" on themselves and get this aura voluntarily.
  35. # Advised to keep this off due to graphic lag.
  36. # Retail: false
  37. GMHeroAura = False
  38. # Auto set invulnerable status to a GM on login.
  39. # Retail: false
  40. GMStartupInvulnerable = False
  41. # Auto set invisible status to a GM on login.
  42. # Retail: false
  43. GMStartupInvisible = False
  44. # Auto block private messages to a GM on login.
  45. # Retail: false
  46. GMStartupSilence = False
  47. # Auto list GMs in GM list (/gmlist) on login.
  48. # Retail: false
  49. GMStartupAutoList = False
  50. # Auto set diet mode on to a GM on login
  51. # Retail: false
  52. GMStartupDietMode = False
  53. # The way //admin panel looks can be "modern" or "classic"
  54. # (default is modern while classic provides more compatibility)
  55. # Retail: modern
  56. GMAdminMenuStyle = modern
  57. #============================================================#
  58. # Server Security #
  59. #============================================================#
  60. # Bypass exploit protection, to ENABLE protection, set to true.
  61. # To disable protection set this to false.
  62. # Retail: true
  63. BypassValidation = True
  64. # Enforce gameguard for clients
  65. # GameGuardEnforce - enforces gameguard query on character login
  66. # GameGuardProhibitAction - don't allow player to perform trade, talk with npc
  67. # or move until gameguard reply is received.
  68. # Retail: true, true
  69. GameGuardEnforce = True
  70. GameGuardProhibitAction = True
  71. # To enable chat logging set option to true, otherwise set to false.
  72. # To enable item logging set option to true, otherwise set to false.
  73. # To enable GM Action logging set option to true, otherwise set to false.
  74. # Note:
  75. # This will increase writing to your hard drive and rapidly
  76. # increase hard drive space used with large player populations
  77. # if enabled.
  78. # Retail: true, false, false, false
  79. LogChat = True
  80. LogItems = False
  81. GMAudit = False
  82. LogGame = False
  83. #============================================================#
  84. # Dev Configuration #
  85. #============================================================#
  86. # Do not touch these if you do not know what you are doing.
  87. # These settings are for debugging servers ONLY, not meant for LIVE
  88. # servers.
  89. Debug = False
  90. Assert = False
  91. Developer = False
  92. AcceptGeoeditorConn = False
  93. # if true the server will be a test server (listed by testserver clients only)
  94. TestServer = False
  95. # if this is true then test servers will be listed like test servers.
  96. ListTestServers = False
  97. # Don't load quests
  98. AltDevNoQuests = False
  99. # Don't load spawntable
  100. AltDevNoSpawns = False
  101. #============================================================#
  102. # Thread Configuration #
  103. #============================================================#
  104. # Extreme caution should be here, set to defaults if you do
  105. # not know what you are doing.
  106. # These could possibly hurt your servers performance, or improve
  107. # it drastically.
  108. ThreadPoolSizeEffects = 10
  109. ThreadPoolSizeGeneral = 13
  110. #Default 2
  111. UrgentPacketThreadCoreSize = 2
  112. #Default 4
  113. GeneralPacketThreadCoreSize = 4
  114. #Default 4
  115. GeneralThreadCoreSize = 4
  116. AiMaxThread = 6
  117. #Packet LifeTime in milliseconds, 0 - disabled feature
  118. PacketLifeTime = 0
  119. #============================================================#
  120. # Optimize #
  121. #============================================================#
  122. # === Flood Protector ===
  123. # set the initial size of the flood protector (should equal ~player count)
  124. FloodProtectorInitialSize = 50
  125. # === Items on ground management ===
  126. # Allow players to drop items on the ground
  127. AllowDiscardItem = True
  128. # delete from world dropped reward items after n seconds. 0 - disabled
  129. AutoDestroyDroppedItemAfter = 0
  130. # Time in secs after which dropped herb will be auto-destroyed (default: 15 seconds)
  131. AutoDestroyHerbTime = 15
  132. # List of items that will not be destroyed (separated by ",")
  133. # NOTE: Make sure the lists do NOT CONTAIN trailing spaces or spaces between the numbers!
  134. # items on this list will be protected regardless below options
  135. ListOfProtectedItems = 57,5575,6673
  136. # This is the interval (in minutes), that the gameserver will update a players information such as location.
  137. # The higher you set this number, there will be less character information saving so you will have less access to MySQL and your Hard Drive.
  138. # The lower you set this number, there will be more frequent character information saving so you will have more access to your MySQL and your Hard Drive.
  139. # A value of 0 disables periodic saving.
  140. # Independent of this setting the character is always saved after leaving the world.
  141. CharacterDataStoreInterval = 15
  142. # This enables the server to only update items when saving the character
  143. # Enabling this greatly reduces DB usage and improves performance.
  144. # WARNING: This option causes item loss during crashes
  145. LazyItemsUpdate = false
  146. # This forces(even if using lazy item updates) the items owned by the character to be updated into DB when saving its character
  147. # Increases DB usage
  148. UpdateItemsOnCharStore = false
  149. # also delete from world misc. items dropped by players (all except equip-able items)
  150. # NOTE: work only if AutoDestroyDroppedItemAfter >0
  151. DestroyPlayerDroppedItem = false
  152. # Destroy also equip-able items (armor, weapon, jewelry)
  153. # NOTE: Work only if DestroyPlayerDroppedItem = true
  154. DestroyEquipableItem = false
  155. # save into DB dropped items for restoring after reboot
  156. SaveDroppedItem = false
  157. # Empty table after items are loaded into memory - safety setting
  158. # if server crash before saving items, on next start old items will be restored
  159. # and players may already picked up some of them - so this will prevent duplicates
  160. EmptyDroppedItemTableAfterLoad = false
  161. # Time interval in minutes to save in DB items on ground, 0 to disable
  162. # NOTE: If SaveDroppedItemInterval is disabled items will be saved into DB only at server shutdown
  163. SaveDroppedItemInterval = 60
  164. # delete all saved items form DB On next start
  165. # NOTE: Work only if SaveDroppedItem = false
  166. ClearDroppedItemTable = false
  167. --------------------------------------------
  168. # delete invalid quest from player
  169. AutoDeleteInvalidQuestData = False
  170. # setting false can improve server performance on high rate servers
  171. PreciseDropCalculation = True
  172. # allows creating multiple nonstackable items at one time
  173. MultipleItemDrop = True
  174. # Forces full item inventory packet to be sent for any item change
  175. # Note: This can increase network traffic
  176. ForceInventoryUpdate = False
  177. # Set the html cache's lazy loading True or False
  178. # (Load html's into cache only on first time requested)
  179. LazyCache = True
  180. # Minimum and maximum variable in seconds for npc animation delay.
  181. # You must keep MinNPCAnimation <= MaxNPCAnimation.
  182. # "0" is default value.
  183. MinNPCAnimation = 10
  184. MaxNPCAnimation = 20
  185. MinMonsterAnimation = 5
  186. MaxMonsterAnimation = 20
  187. # This is setting of experimental Client <--> Server Player coordinates synchronization,
  188. # 0 - no synchronization at all
  189. # 1 - partial synchronization Client --> Server only * using this option it is difficult for players to bypass obstacles
  190. # 2 - partial synchronization Server --> Client only
  191. # 3 - full synchronization Client <--> Server
  192. # -1 - Will synchronize Z only. Suggested with geodata.
  193. CoordSynchronize = -1
  194. # Knownlist (the list of things a character sees) update method. Default is currently
  195. # time based updating, which also makes it possible to use config options for guards
  196. # to see moving monsters. Alternatively move based update can be used
  197. # Guards cannot track mobs with that option but otherwise it should
  198. # work well.
  199. MoveBasedKnownlist = False
  200. # Interval (in ms) on which knownlist do full updates. For move based updates its used for intermediate updates
  201. # WARNING! Useful interval is between 300 - 2000ms, too small value may kill your CPU, too high value
  202. # may not update knownlists properly, the default value is chosen experimentally
  203. KnownListUpdateInterval = 1250
  204. #============================================================#
  205. # Geodata #
  206. #============================================================#
  207. #Grid options: Grids can now turn themselves on and off. This also affects
  208. #the loading and processing of all AI tasks and (in the future) geodata
  209. #within this grid.
  210. #Turn on for a grid with a person in it is immediate, but it then turns on
  211. #the 8 neighboring grids based on the specified number of seconds.
  212. #Turn off for self and neighbors occurs after the specified number of
  213. #seconds have passed during which a grid has had no players in or in
  214. #any of its neighbors.
  215. #The always on option allows to ignore all this and let all grids be active
  216. #at all times (not suggested)
  217. GridsAlwaysOn = False
  218. GridNeighborTurnOnTime = 1
  219. GridNeighborTurnOffTime = 90
  220. # GeoData options: (no recommendations, for each his own)
  221. # 0 = GeoData and PathFinding OFF (default)
  222. # 1 = GeoData is used to check Line Of Sight (LOS) targeting and
  223. # L2Playable movement. You need to download files for data/geodata folder.
  224. # Monsters can pass walls but not aggro (no line of sight) through them.
  225. # 2 = Full GeoData enabled. Includes PathFinding (requires also /data/pathnode
  226. # files) and all character moves go through geodata checks (if a mob
  227. # passes a wall, pathfinding didn't find a route but we allow attack).
  228. # Recommended server memory minimum 2 GB, rather 3 GB.
  229. GeoData = 0
  230. #[True]Loads GeoData buffer's content into physical memory.
  231. #[False] Does not necessarily imply that the GeoData buffer's content is not resident in physical memory.
  232. ForceGeodata = True
  233. #============================================================#
  234. # Features #
  235. #============================================================#
  236. # Zone Setting
  237. # 0 = Peace All the Time
  238. # 1 = PVP During Siege for siege participants
  239. # 2 = PVP All the Time
  240. ZoneTown = 0
  241. # Activate the position recorder
  242. # valid 3D points will be recorded and written to data/universe.txt on shutdown
  243. ActivatePositionRecorder = False
  244. # Chat configuration
  245. # Global Chat - ON (=region), OFF, GM, GLOBAL
  246. GlobalChat = ON
  247. # Trade Chat - ON (=global, might be good for small servers), OFF, GM, LIMITED (=region)
  248. TradeChat = LIMITED
  249. # If you are experiencing problems with Warehouse or Freight transactions,
  250. # feel free to disable them here. (They are both enabled by default).
  251. AllowWarehouse = True
  252. # Enable Warehouse Cache - if WH is not used will server clear memory used by this WH
  253. WarehouseCache = False
  254. # How long Warehouse should be store in Memory
  255. WarehouseCacheTime = 15
  256. AllowFreight = True
  257. # If True player can try on weapon and armor in shop
  258. # Each Item tried cost WearPrice adena
  259. AllowWear = False
  260. WearDelay = 5
  261. WearPrice = 10
  262. # =============== Test features ===============
  263. AllowLottery = False
  264. AllowRace = False
  265. AllowWater = True
  266. # Enable pet for rent(wyvern&strider) from pet managers
  267. AllowRentPet = False
  268. # Allow fishing disabled until all code uploaded
  269. AllowFishing = True
  270. #Allow boat
  271. AllowBoat = True
  272. #Allow cursed weapons
  273. AllowCursedWeapons = True
  274. #Allow Manor
  275. AllowManor = True
  276. #Allow WalkerNPC
  277. AllowNpcWalkers = True
  278. #Allow Pet managers pets walking
  279. AllowPetWalkers = False
  280. # Show "data/html/servnews.htm" when a character enters world.
  281. ShowServerNews = False
  282. # Type of the Community board
  283. # - Full = new Community Board ( /!\ Experimental)
  284. # - Old = old Community Board
  285. # - off = no community Board
  286. CommunityType = old
  287. BBSShowPlayerList = False
  288. BBSDefault = _bbshome
  289. # show level of character to others in Community Board
  290. ShowLevelOnCommunityBoard = False
  291. ShowStatusOnCommunityBoard = True
  292. NamePageSizeOnCommunityBoard = 50
  293. NamePerRowOnCommunityBoard = 5
  294. #============================================================#
  295. # Olympiad #
  296. #============================================================#
  297. # Olympiad Start Time in Military hours Default 6pm (18)
  298. AltOlyStartTime = 18
  299. # Olympiad Start Time for Min's, Default 00 so at the start of the hour.
  300. AltOlyMin = 00
  301. # Olympiad Competition Period, Default 6 hours.
  302. # (If set different, should be increment by 10mins)
  303. AltOlyCPeriod = 21600000
  304. # Olympiad Battle Period, Default 6 minutes. (If set different, should be < AltOlyBWait)
  305. AltOlyBattle = 360000
  306. # Olympiad Battle Wait, Default 10 Minutes
  307. AltOlyBWait = 600000
  308. # Olympiad Initial Wait Period, Default 5 minutes
  309. AltOlyIWait = 300000
  310. # Olympiad Weekly Period, Default 1 week
  311. AltOlyWPeriod = 604800000
  312. # Olympiad Validation Period, Default 24 Hours.
  313. AltOlyVPeriod = 86400000
  314. # Required number of participants for Classed and Non-Classed matches, Default 5 & 9
  315. AltOlyClassedParticipants = 5
  316. AltOlyNonClassedParticipants = 9
  317. # Olympiad battle winner reward for Class and Non_Class games.
  318. # Retail 6651(Gate Pass)
  319. AltOlyBattleRewItem = 6651
  320. # Retail 50 per winning
  321. AltOlyClassedRewItemCount = 50
  322. # Retail 30 per winning
  323. AltOlyNonClassedRewItemCount = 30
  324. # Olympiad Competition Rewards
  325. # Minimum Points needed to to exchange nobless gate pass, Retail 50
  326. AltOlyMinPointForExchange = 50
  327. # ItemId for this Reward, Retail 6651(Gate Pass)
  328. AltOlyCompRewItem = 6651
  329. # Rate to exchange Points to Reward item, Retail 1 Point * 1000
  330. AltOlyGPPerPoint = 1000
  331. # Noblesse points awarded to Heros. Retail 300
  332. AltOlyHeroPoints = 300
  333. # Restrict same item in olympiad. ItemID's need to be separated whit comma (ex. 1,200,350)
  334. AltOlyRestrictedItems = 0
  335. #============================================================#
  336. # Manor #
  337. #============================================================#
  338. # Manor Refresh Time in Military hours Default 8pm (20)
  339. AltManorRefreshTime = 20
  340. # Manor Refresh Time for Min's, Default 00 so at the start of the hour.
  341. AltManorRefreshMin = 00
  342. # Manor Next Period Approve Time in Military hours Default 6am
  343. AltManorApproveTime = 6
  344. # Manor Next Period Approve Time for Min's, Default 00 so at the start of the hour.
  345. AltManorApproveMin = 00
  346. # Manor Maintenance time, Default 6 minutes.
  347. AltManorMaintenancePeriod = 360000
  348. # Manor Save Type. 1-Save data into db after every action; Default false
  349. AltManorSaveAllActions = True
  350. # Manor Save Period (used only if AltManorSaveAllActions=false) Default very 2 hours
  351. AltManorSavePeriodRate = 2
  352. #============================================================#
  353. # Lottery #
  354. #============================================================#
  355. # Initial Lottery prize
  356. AltLotteryPrize = 50000
  357. # Lottery Ticket Price
  358. AltLotteryTicketPrice = 2000
  359. # What part of jackpot amount should receive characters who pick 5 wining numbers
  360. AltLottery5NumberRate = 0.6
  361. # What part of jackpot amount should receive characters who pick 4 wining numbers
  362. AltLottery4NumberRate = 0.2
  363. # What part of jackpot amount should receive characters who pick 3 wining numbers
  364. AltLottery3NumberRate = 0.2
  365. # How much adena receive characters who pick two or less of the winning number
  366. AltLottery2and1NumberPrize = 200
  367. #============================================================#
  368. # Dimension Rift #
  369. #============================================================#
  370. # Minimal party size to enter rift. Min = 2, Max = 9.
  371. # If in rift party will become smaller all members will be teleported back
  372. # Default: 2
  373. RiftMinPartySize = 2
  374. # Number of maximum jumps between rooms allowed, after this time party will be teleported back
  375. MaxRiftJumps = 4
  376. # Time in ms the party has to wait until the mobs spawn when entering a room. C4 retail: 10s
  377. RiftSpawnDelay = 10000
  378. # Time between automatic jumps in seconds
  379. AutoJumpsDelayMin = 480
  380. AutoJumpsDelayMax = 600
  381. # Time Multiplier for stay in the boss room
  382. BossRoomTimeMultiply = 1.5
  383. # Cost in dimension fragments to enter the rift, each party member must own this amount
  384. RecruitCost = 18
  385. SoldierCost = 21
  386. OfficerCost = 24
  387. CaptainCost = 27
  388. CommanderCost = 30
  389. HeroCost = 33
  390. #===========================================================#
  391. # Four Sepulchers #
  392. #===========================================================#
  393. TimeOfAttack = 50
  394. TimeOfCoolDown = 5
  395. TimeOfEntry = 3
  396. TimeOfWarmUp = 2
  397. NumberOfNecessaryPartyMembers = 4
  398. #============================================================#
  399. # Punishment #
  400. #============================================================#
  401. # Player punishment for illegal actions
  402. # 1 - broadcast warning to gms only
  403. # 2 - kick player(default)
  404. # 3 - kick & ban player
  405. # 4 - jail player (define minutes of jail with param: 0 = infinite)
  406. DefaultPunish = 2
  407. DefaultPunishParam = 0
  408. # Apply default punish if player buy items for zero adena.
  409. # Retail: true
  410. OnlyGMItemsFree = True
  411. # Jail is a PvP zone
  412. JailIsPvp = True
  413. # Disable all chat in jail (except normal one)
  414. JailDisableChat = True
  415. #============================================================#
  416. # Database Customizations #
  417. #============================================================#
  418. # Option to store additional spawnlist data on a custom table.
  419. CustomSpawnlistTable = false
  420. # Option to save GM spawn only in the custom table.
  421. SaveGmSpawnOnCustom = false
  422. # Option to delete spawn in alternate table.
  423. DeleteGmSpawnOnCustom = false
  424. # Option to store additional npc data on a custom table.
  425. CustomNpcTable = false
  426. # Option to store additional Items data on custom tables.
  427. CustomItemTables = false
  428. CustomArmorSetsTable = false
  429. # Option to store additional Teleport location on a custom table.
  430. CustomTeleportTable = false
  431. # Option to store alternative drop on a custom table.
  432. CustomDroplistTable = false
  433. # Option to store alternative merchant data on a custom table.
  434. CustomMerchantTables = false