2
0

General.properties 20 KB

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