General.properties 21 KB

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