General.properties 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  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. LogGameDamage = 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. #Dead Lock Detector (a separate thread for detecting deadlocks)
  120. #For improved crash logs and automatic restart in deadlock case if enabled
  121. #Check interval is in seconds
  122. DeadLockDetector = False
  123. DeadLockCheckInterval = 20
  124. RestartOnDeadlock = False
  125. #============================================================#
  126. # Optimize #
  127. #============================================================#
  128. # === Flood Protector ===
  129. # set the initial size of the flood protector (should equal ~player count)
  130. FloodProtectorInitialSize = 50
  131. # === Items on ground management ===
  132. # Allow players to drop items on the ground
  133. AllowDiscardItem = True
  134. # delete from world dropped reward items after n seconds. 0 - disabled
  135. AutoDestroyDroppedItemAfter = 0
  136. # Time in secs after which dropped herb will be auto-destroyed (default: 15 seconds)
  137. AutoDestroyHerbTime = 15
  138. # List of items that will not be destroyed (separated by ",")
  139. # NOTE: Make sure the lists do NOT CONTAIN trailing spaces or spaces between the numbers!
  140. # items on this list will be protected regardless below options
  141. ListOfProtectedItems = 57,5575,6673
  142. # This is the interval (in minutes), that the gameserver will update a players information such as location.
  143. # 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.
  144. # 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.
  145. # A value of 0 disables periodic saving.
  146. # Independent of this setting the character is always saved after leaving the world.
  147. CharacterDataStoreInterval = 15
  148. # This enables the server to only update items when saving the character
  149. # Enabling this greatly reduces DB usage and improves performance.
  150. # WARNING: This option causes item loss during crashes
  151. LazyItemsUpdate = false
  152. # This forces(even if using lazy item updates) the items owned by the character to be updated into DB when saving its character
  153. # Increases DB usage
  154. UpdateItemsOnCharStore = false
  155. # also delete from world misc. items dropped by players (all except equip-able items)
  156. # NOTE: work only if AutoDestroyDroppedItemAfter >0
  157. DestroyPlayerDroppedItem = false
  158. # Destroy also equip-able items (armor, weapon, jewelry)
  159. # NOTE: Work only if DestroyPlayerDroppedItem = true
  160. DestroyEquipableItem = false
  161. # save into DB dropped items for restoring after reboot
  162. SaveDroppedItem = false
  163. # Empty table after items are loaded into memory - safety setting
  164. # if server crash before saving items, on next start old items will be restored
  165. # and players may already picked up some of them - so this will prevent duplicates
  166. EmptyDroppedItemTableAfterLoad = false
  167. # Time interval in minutes to save in DB items on ground, 0 to disable
  168. # NOTE: If SaveDroppedItemInterval is disabled items will be saved into DB only at server shutdown
  169. SaveDroppedItemInterval = 60
  170. # delete all saved items form DB On next start
  171. # NOTE: Work only if SaveDroppedItem = false
  172. ClearDroppedItemTable = false
  173. --------------------------------------------
  174. # delete invalid quest from player
  175. AutoDeleteInvalidQuestData = False
  176. # setting false can improve server performance on high rate servers
  177. PreciseDropCalculation = True
  178. # allows creating multiple nonstackable items at one time
  179. MultipleItemDrop = True
  180. # Forces full item inventory packet to be sent for any item change
  181. # Note: This can increase network traffic
  182. ForceInventoryUpdate = False
  183. # Set the html cache's lazy loading True or False
  184. # (Load html's into cache only on first time requested)
  185. LazyCache = True
  186. # Minimum and maximum variable in seconds for npc animation delay.
  187. # You must keep MinNPCAnimation <= MaxNPCAnimation.
  188. # "0" is default value.
  189. MinNPCAnimation = 10
  190. MaxNPCAnimation = 20
  191. MinMonsterAnimation = 5
  192. MaxMonsterAnimation = 20
  193. # Knownlist (the list of things a character sees) update method. Default is currently
  194. # time based updating, which also makes it possible to use config options for guards
  195. # to see moving monsters. Alternatively move based update can be used
  196. # Guards cannot track mobs with that option but otherwise it should
  197. # work well.
  198. MoveBasedKnownlist = False
  199. # Interval (in ms) on which knownlist do full updates. For move based updates its used for intermediate updates
  200. # WARNING! Useful interval is between 300 - 2000ms, too small value may kill your CPU, too high value
  201. # may not update knownlists properly, the default value is chosen experimentally
  202. KnownListUpdateInterval = 1250
  203. #Grid options: Grids can now turn themselves on and off. This also affects
  204. #the loading and processing of all AI tasks and (in the future) geodata
  205. #within this grid.
  206. #Turn on for a grid with a person in it is immediate, but it then turns on
  207. #the 8 neighboring grids based on the specified number of seconds.
  208. #Turn off for self and neighbors occurs after the specified number of
  209. #seconds have passed during which a grid has had no players in or in
  210. #any of its neighbors.
  211. #The always on option allows to ignore all this and let all grids be active
  212. #at all times (not suggested)
  213. GridsAlwaysOn = False
  214. GridNeighborTurnOnTime = 1
  215. GridNeighborTurnOffTime = 90
  216. #============================================================#
  217. # Geodata #
  218. #============================================================#
  219. # GeoData options: (no recommendations, for each his own)
  220. # 0 = GeoData and PathFinding OFF (default)
  221. # 1 = GeoData is used to check Line Of Sight (LOS) targeting and
  222. # L2Playable movement. You need to download files for data/geodata folder.
  223. # Monsters can pass walls but not aggro (no line of sight) through them.
  224. # 2 = Full GeoData enabled. Includes PathFinding (requires also /data/pathnode
  225. # files if CellPathFinding not enabled) and all character moves go through
  226. # geodata checks (if a mob passes a wall, pathfinding didn't find a route
  227. # but we allow attack and returning home).
  228. # Recommended server memory minimum 2 GB, rather 3 GB.
  229. GeoData = 0
  230. # Cell-level pathfinding, produces more accurate routes but is (maybe 10x)
  231. # heavier to calculate. Recommended for small servers at least. If False,
  232. # pathnode files are used. Uses a max nr of nodes in calculation which can
  233. # be adjusted in the algorithm if it needs to be faster.
  234. CellPathFinding = False
  235. #[True]Loads GeoData buffer's content into physical memory.
  236. #[False] Does not necessarily imply that the GeoData buffer's content is not resident in physical memory.
  237. ForceGeodata = True
  238. # This is setting of Client <--> Server Player coordinates synchronization,
  239. # -1 - Will synchronize only Z from Client --> Server. Default when no geodata.
  240. # 1 - Synchronization Client --> Server only. Using this option (without geodata) it is more difficult for players to bypass obstacles
  241. # 2 - Intended for geodata (at least when cell-level pathfinding, otherwise can try -1 also)!
  242. # Server sends validation packet if client goes too far from server calculated coordinates.
  243. CoordSynchronize = -1
  244. #============================================================#
  245. # Features #
  246. #============================================================#
  247. # Zone Setting
  248. # 0 = Peace All the Time
  249. # 1 = PVP During Siege for siege participants
  250. # 2 = PVP All the Time
  251. ZoneTown = 0
  252. # Activate the position recorder
  253. # valid 3D points will be recorded and written to data/universe.txt on shutdown
  254. ActivatePositionRecorder = False
  255. # Chat configuration
  256. # Global Chat - ON (=region), OFF, GM, GLOBAL
  257. GlobalChat = ON
  258. # Trade Chat - ON (=global, might be good for small servers), OFF, GM, LIMITED (=region)
  259. TradeChat = LIMITED
  260. # If you are experiencing problems with Warehouse or Freight transactions,
  261. # feel free to disable them here. (They are both enabled by default).
  262. AllowWarehouse = True
  263. # Enable Warehouse Cache - if WH is not used will server clear memory used by this WH
  264. WarehouseCache = False
  265. # How long Warehouse should be store in Memory
  266. WarehouseCacheTime = 15
  267. AllowFreight = True
  268. # If True player can try on weapon and armor in shop
  269. # Each Item tried cost WearPrice adena
  270. AllowWear = False
  271. WearDelay = 5
  272. WearPrice = 10
  273. # =============== Test features ===============
  274. AllowLottery = False
  275. AllowRace = False
  276. AllowWater = True
  277. # Enable pet for rent(wyvern&strider) from pet managers
  278. AllowRentPet = False
  279. # Allow fishing disabled until all code uploaded
  280. AllowFishing = True
  281. #Allow boat
  282. AllowBoat = True
  283. #Allow cursed weapons
  284. AllowCursedWeapons = True
  285. #Allow Manor
  286. AllowManor = True
  287. #Allow WalkerNPC
  288. AllowNpcWalkers = True
  289. #Allow Pet managers pets walking
  290. AllowPetWalkers = False
  291. # Show "data/html/servnews.htm" when a character enters world.
  292. ShowServerNews = False
  293. # Type of the Community board
  294. # - Full = new Community Board ( /!\ Experimental)
  295. # - Old = old Community Board
  296. # - off = no community Board
  297. CommunityType = old
  298. BBSShowPlayerList = False
  299. BBSDefault = _bbshome
  300. # show level of character to others in Community Board
  301. ShowLevelOnCommunityBoard = False
  302. ShowStatusOnCommunityBoard = True
  303. NamePageSizeOnCommunityBoard = 50
  304. NamePerRowOnCommunityBoard = 5
  305. #============================================================#
  306. # Olympiad #
  307. #============================================================#
  308. # Olympiad Start Time in Military hours Default 6pm (18)
  309. AltOlyStartTime = 18
  310. # Olympiad Start Time for Min's, Default 00 so at the start of the hour.
  311. AltOlyMin = 00
  312. # Olympiad Competition Period, Default 6 hours.
  313. # (If set different, should be increment by 10mins)
  314. AltOlyCPeriod = 21600000
  315. # Olympiad Battle Period, Default 6 minutes. (If set different, should be < AltOlyBWait)
  316. AltOlyBattle = 360000
  317. # Olympiad Battle Wait, Default 10 Minutes
  318. AltOlyBWait = 600000
  319. # Olympiad Initial Wait Period, Default 5 minutes
  320. AltOlyIWait = 300000
  321. # Olympiad Weekly Period, Default 1 week
  322. AltOlyWPeriod = 604800000
  323. # Olympiad Validation Period, Default 24 Hours.
  324. AltOlyVPeriod = 86400000
  325. # Required number of participants for Classed and Non-Classed matches, Default 5 & 9
  326. AltOlyClassedParticipants = 5
  327. AltOlyNonClassedParticipants = 9
  328. # Olympiad battle winner reward for Class and Non_Class games.
  329. # Retail 6651(Gate Pass)
  330. AltOlyBattleRewItem = 6651
  331. # Retail 50 per winning
  332. AltOlyClassedRewItemCount = 50
  333. # Retail 30 per winning
  334. AltOlyNonClassedRewItemCount = 30
  335. # Olympiad Competition Rewards
  336. # Minimum Points needed to to exchange nobless gate pass, Retail 50
  337. AltOlyMinPointForExchange = 50
  338. # ItemId for this Reward, Retail 6651(Gate Pass)
  339. AltOlyCompRewItem = 6651
  340. # Rate to exchange Points to Reward item, Retail 1 Point * 1000
  341. AltOlyGPPerPoint = 1000
  342. # Noblesse points awarded to Heros. Retail 300
  343. AltOlyHeroPoints = 300
  344. # Restrict same item in olympiad. ItemID's need to be separated whit comma (ex. 1,200,350)
  345. AltOlyRestrictedItems = 0
  346. #============================================================#
  347. # Manor #
  348. #============================================================#
  349. # Manor Refresh Time in Military hours Default 8pm (20)
  350. AltManorRefreshTime = 20
  351. # Manor Refresh Time for Min's, Default 00 so at the start of the hour.
  352. AltManorRefreshMin = 00
  353. # Manor Next Period Approve Time in Military hours Default 6am
  354. AltManorApproveTime = 6
  355. # Manor Next Period Approve Time for Min's, Default 00 so at the start of the hour.
  356. AltManorApproveMin = 00
  357. # Manor Maintenance time, Default 6 minutes.
  358. AltManorMaintenancePeriod = 360000
  359. # Manor Save Type. 1-Save data into db after every action; Default false
  360. AltManorSaveAllActions = True
  361. # Manor Save Period (used only if AltManorSaveAllActions=false) Default very 2 hours
  362. AltManorSavePeriodRate = 2
  363. #============================================================#
  364. # Lottery #
  365. #============================================================#
  366. # Initial Lottery prize
  367. AltLotteryPrize = 50000
  368. # Lottery Ticket Price
  369. AltLotteryTicketPrice = 2000
  370. # What part of jackpot amount should receive characters who pick 5 wining numbers
  371. AltLottery5NumberRate = 0.6
  372. # What part of jackpot amount should receive characters who pick 4 wining numbers
  373. AltLottery4NumberRate = 0.2
  374. # What part of jackpot amount should receive characters who pick 3 wining numbers
  375. AltLottery3NumberRate = 0.2
  376. # How much adena receive characters who pick two or less of the winning number
  377. AltLottery2and1NumberPrize = 200
  378. #============================================================#
  379. # Dimension Rift #
  380. #============================================================#
  381. # Minimal party size to enter rift. Min = 2, Max = 9.
  382. # If in rift party will become smaller all members will be teleported back
  383. # Default: 2
  384. RiftMinPartySize = 2
  385. # Number of maximum jumps between rooms allowed, after this time party will be teleported back
  386. MaxRiftJumps = 4
  387. # Time in ms the party has to wait until the mobs spawn when entering a room. C4 retail: 10s
  388. RiftSpawnDelay = 10000
  389. # Time between automatic jumps in seconds
  390. AutoJumpsDelayMin = 480
  391. AutoJumpsDelayMax = 600
  392. # Time Multiplier for stay in the boss room
  393. BossRoomTimeMultiply = 1.5
  394. # Cost in dimension fragments to enter the rift, each party member must own this amount
  395. RecruitCost = 18
  396. SoldierCost = 21
  397. OfficerCost = 24
  398. CaptainCost = 27
  399. CommanderCost = 30
  400. HeroCost = 33
  401. #===========================================================#
  402. # Four Sepulchers #
  403. #===========================================================#
  404. TimeOfAttack = 50
  405. TimeOfCoolDown = 5
  406. TimeOfEntry = 3
  407. TimeOfWarmUp = 2
  408. NumberOfNecessaryPartyMembers = 4
  409. #============================================================#
  410. # Punishment #
  411. #============================================================#
  412. # Player punishment for illegal actions
  413. # 1 - broadcast warning to gms only
  414. # 2 - kick player(default)
  415. # 3 - kick & ban player
  416. # 4 - jail player (define minutes of jail with param: 0 = infinite)
  417. DefaultPunish = 2
  418. DefaultPunishParam = 0
  419. # Apply default punish if player buy items for zero adena.
  420. # Retail: true
  421. OnlyGMItemsFree = True
  422. # Jail is a PvP zone
  423. JailIsPvp = True
  424. # Disable all chat in jail (except normal one)
  425. JailDisableChat = True
  426. #============================================================#
  427. # Database Customizations #
  428. #============================================================#
  429. # Option to store additional spawnlist data on a custom table.
  430. CustomSpawnlistTable = false
  431. # Option to save GM spawn only in the custom table.
  432. SaveGmSpawnOnCustom = false
  433. # Option to delete spawn in alternate table.
  434. DeleteGmSpawnOnCustom = false
  435. # Option to store additional npc data on a custom table.
  436. CustomNpcTable = false
  437. # Option to store additional Items data on custom tables.
  438. CustomItemTables = false
  439. CustomArmorSetsTable = false
  440. # Option to store additional Teleport location on a custom table.
  441. CustomTeleportTable = false
  442. # Option to store alternative drop on a custom table.
  443. CustomDroplistTable = false
  444. # Option to store alternative merchant data on a custom table.
  445. CustomMerchantTables = false