General.properties 20 KB

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