General.properties 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  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 - Old system: will synchronize Z only
  218. CoordSynchronize = -1
  219. #============================================================#
  220. # Geodata #
  221. #============================================================#
  222. #Grid options: Grids can now turn themselves on and off. This also affects
  223. #the loading and processing of all AI tasks and (in the future) geodata
  224. #within this grid.
  225. #Turn on for a grid with a person in it is immediate, but it then turns on
  226. #the 8 neighboring grids based on the specified number of seconds.
  227. #Turn off for self and neighbors occurs after the specified number of
  228. #seconds have passed during which a grid has had no players in or in
  229. #any of its neighbors.
  230. #The always on option allows to ignore all this and let all grids be active
  231. #at all times (not suggested)
  232. GridsAlwaysOn = False
  233. GridNeighborTurnOnTime = 1
  234. GridNeighborTurnOffTime = 90
  235. # GeoData options: (no recommendations, for each his own)
  236. # 0 = GeoData and PathFinding OFF (default)
  237. # 1 = GeoData is used to check Line Of Sight (LOS) targeting and
  238. # L2Playable movement. You need to download files for data/geodata folder.
  239. # Monsters can pass walls but not aggro (no line of sight) through them.
  240. # 2 = Full GeoData enabled. Includes PathFinding (requires also /data/pathnode
  241. # files) and all character moves go through geodata checks (if a mob
  242. # passes a wall, pathfinding didn't find a route but we allow attack).
  243. # Recommended server memory minimum 2 GB, rather 3 GB.
  244. GeoData = 0
  245. #[True]Loads GeoData buffer's content into physical memory.
  246. #[False] Does not necessarily imply that the GeoData buffer's content is not resident in physical memory.
  247. ForceGeodata = True
  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. # Show "data/html/servnews.htm" when a character enters world.
  294. ShowServerNews = False
  295. # Type of the Community board
  296. # - Full = new Community Board ( /!\ Experimental)
  297. # - Old = old Community Board
  298. # - off = no community Board
  299. CommunityType = old
  300. BBSShowPlayerList = False
  301. BBSDefault = _bbshome
  302. # show level of character to others in Community Board
  303. ShowLevelOnCommunityBoard = False
  304. ShowStatusOnCommunityBoard = True
  305. NamePageSizeOnCommunityBoard = 50
  306. NamePerRowOnCommunityBoard = 5
  307. #============================================================#
  308. # Olympiad #
  309. #============================================================#
  310. # Olympiad Start Time in Military hours Default 6pm (18)
  311. AltOlyStartTime = 18
  312. # Olympiad Start Time for Min's, Default 00 so at the start of the hour.
  313. AltOlyMin = 00
  314. # Olympiad Competition Period, Default 6 hours.
  315. # (If set different, should be increment by 10mins)
  316. AltOlyCPeriod = 21600000
  317. # Olympiad Battle Period, Default 6 minutes. (If set different, should be < AltOlyBWait)
  318. AltOlyBattle = 360000
  319. # Olympiad Battle Wait, Default 10 Minutes
  320. AltOlyBWait = 600000
  321. # Olympiad Initial Wait Period, Default 5 minutes
  322. AltOlyIWait = 300000
  323. # Olympiad Weekly Period, Default 1 week
  324. AltOlyWPeriod = 604800000
  325. # Olympiad Validation Period, Default 24 Hours.
  326. AltOlyVPeriod = 86400000
  327. # Required number of participants for Classed and Non-Classed matches, Default 5 & 9
  328. AltOlyClassedParticipants = 5
  329. AltOlyNonClassedParticipants = 9
  330. # Olympiad battle winner reward for Class and Non_Class games.
  331. # Retail 6651(Gate Pass)
  332. AltOlyBattleRewItem = 6651
  333. # Retail 50 per winning
  334. AltOlyClassedRewItemCount = 50
  335. # Retail 30 per winning
  336. AltOlyNonClassedRewItemCount = 30
  337. # Olympiad Competition Rewards
  338. # Minimum Points needed to to exchange nobless gate pass, Retail 50
  339. AltOlyMinPointForExchange = 50
  340. # ItemId for this Reward, Retail 6651(Gate Pass)
  341. AltOlyCompRewItem = 6651
  342. # Rate to exchange Points to Reward item, Retail 1 Point * 1000
  343. AltOlyGPPerPoint = 1000
  344. # Noblesse points awarded to Heros. Retail 300
  345. AltOlyHeroPoints = 300
  346. # Restrict same item in olympiad. ItemID's need to be separated whit coma (ex. 1,200,350)
  347. AltOlyRestrictedItems = 0
  348. #============================================================#
  349. # Manor #
  350. #============================================================#
  351. # Manor Refresh Time in Military hours Default 8pm (20)
  352. AltManorRefreshTime = 20
  353. # Manor Refresh Time for Min's, Default 00 so at the start of the hour.
  354. AltManorRefreshMin = 00
  355. # Manor Next Period Approve Time in Military hours Default 6am
  356. AltManorApproveTime = 6
  357. # Manor Next Period Approve Time for Min's, Default 00 so at the start of the hour.
  358. AltManorApproveMin = 00
  359. # Manor Maintenance time, Default 6 minutes.
  360. AltManorMaintenancePeriod = 360000
  361. # Manor Save Type. 1-Save data into db after every action; Default false
  362. AltManorSaveAllActions = True
  363. # Manor Save Period (used only if AltManorSaveAllActions=false) Default very 2 hours
  364. AltManorSavePeriodRate = 2
  365. #============================================================#
  366. # Lottery #
  367. #============================================================#
  368. # Initial Lottery prize
  369. AltLotteryPrize = 50000
  370. # Lottery Ticket Price
  371. AltLotteryTicketPrice = 2000
  372. # What part of jackpot amount should receive characters who pick 5 wining numbers
  373. AltLottery5NumberRate = 0.6
  374. # What part of jackpot amount should receive characters who pick 4 wining numbers
  375. AltLottery4NumberRate = 0.2
  376. # What part of jackpot amount should receive characters who pick 3 wining numbers
  377. AltLottery3NumberRate = 0.2
  378. # How much adena receive characters who pick two or less of the winning number
  379. AltLottery2and1NumberPrize = 200
  380. #============================================================#
  381. # Dimension Rift #
  382. #============================================================#
  383. # Minimal party size to enter rift. Min = 2, Max = 9.
  384. # If in rift party will become smaller all members will be teleported back
  385. # Default: 2
  386. RiftMinPartySize = 2
  387. # Number of maximum jumps between rooms allowed, after this time party will be teleported back
  388. MaxRiftJumps = 4
  389. # Time in ms the party has to wait until the mobs spawn when entering a room. C4 retail: 10s
  390. RiftSpawnDelay = 10000
  391. # Time between automatic jumps in seconds
  392. AutoJumpsDelayMin = 480
  393. AutoJumpsDelayMax = 600
  394. # Time Multiplier for stay in the boss room
  395. BossRoomTimeMultiply = 1.5
  396. # Cost in dimension fragments to enter the rift, each party member must own this amount
  397. RecruitCost = 18
  398. SoldierCost = 21
  399. OfficerCost = 24
  400. CaptainCost = 27
  401. CommanderCost = 30
  402. HeroCost = 33
  403. #============================================================#
  404. # Punishment #
  405. #============================================================#
  406. # Player punishment for illegal acions
  407. # 1 - broadcast warning to gms only
  408. # 2 - kick player(default)
  409. # 3 - kick & ban player
  410. # 4 - jail player (define minutes of jail with param: 0 = infinite)
  411. DefaultPunish = 2
  412. DefaultPunishParam = 0
  413. # Apply default punish if player buy items for zero adena.
  414. # Retail: true
  415. OnlyGMItemsFree = True
  416. # Jail is a PvP zone
  417. JailIsPvp = True
  418. # Disable all chat in jail (except normal one)
  419. JailDisableChat = True
  420. #============================================================#
  421. # Database Customizations #
  422. #============================================================#
  423. # Option to store additional spawnlist data on a custom table.
  424. CustomSpawnlistTable = false
  425. # Option to save GM spawn only in the custom table.
  426. SaveGmSpawnOnCustom = false
  427. # Option to delete spawn in alternate table.
  428. DeleteGmSpawnOnCustom = false
  429. # Option to store additional npc data on a custom table.
  430. CustomNpcTable = false
  431. # Option to store additional Items data on custom tables.
  432. CustomEtcitemTable = false
  433. CustomArmorTable = false
  434. CustomArmorSetsTable = false
  435. CustomWeaponTable = false
  436. # Option to store additional Teleport location on a custom table.
  437. CustomTeleportTable = false
  438. # Option to store alternative drop on a custom table.
  439. CustomDroplistTable = false
  440. # Option to store alternative merchant data on a custom table.
  441. CustomMerchantTables = false