2
0

General.properties 20 KB

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