Guest User

Untitled

a guest
Oct 31st, 2022
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.69 KB | None | 0 0
  1. # ===============================
  2. # Network Configuration Server #
  3. # ===============================
  4. # IP which Bind Game server, * - all possible
  5. GameserverHostname = *
  6. GameserverPort = 7777
  7. # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
  8. ExternalHostname = 138.201.62.XX
  9. # This is transmitted to the client from the same network, so it has to be a local IP or resolvable host name
  10. InternalHostname = 127.0.0.1
  11.  
  12. # AdvIpSystem Make more GameServerIDs. Every Ip should be Protected by a DDoS Guard.
  13. # Your Server will have Success with this system Online.
  14. AdvIPSystem = False
  15.  
  16. # Address \ port LS
  17. LoginPort = 9014
  18. LoginHost = 127.0.0.1
  19. LoginUseCrypt = true
  20. # How to request ID of LS
  21. RequestServerID = 4
  22. # Permission to take a different id, if requested busy
  23. AcceptAlternateID = False
  24.  
  25. # ====================
  26. # NEW VOTE SYSTEM #
  27. VoteTopzoneApiKey = b5e197c45ef378d2291a94764060389d
  28. VoteTopzoneServerId = 12754
  29. # ====================
  30.  
  31. # ====================
  32. # Database Settings #
  33. # ====================
  34. # Database connection GameServer
  35. Driver = com.mysql.jdbc.Driver
  36. GameURL = jdbc:mysql://localhost/l2mythras?UseUnicode=true&characterEncoding=UTF-8
  37. GameUser = root
  38. GamePassword = root123
  39.  
  40. # Database connection LoginServer
  41. LoginURL = jdbc:mysql://localhost/l2mythras?UseUnicode=true&characterEncoding=UTF-8
  42. LoginUser = root
  43. LoginPassword = root123
  44.  
  45. # Maximum number of connections to the database
  46. MaximumDbConnections = 7000
  47. # How many seconds after the last activity will update database connection, default is 600 (10 minutes)
  48. # This parameter is important to coordinate with the settings in the MySql server option interactive_timeout (default 28800 (8:00))
  49. MaxIdleConnectionTimeout = 600
  50. # Check interval of inactive connections, default is 60 (1 minute)
  51. # Assuming a stable connection to the database and correct SETUP MaxIdleConnectionTimeout, you can put 1 (not verified)
  52. IdleConnectionTestPeriod = 60
  53.  
  54. # Auto-save state characters
  55. Autosave = true
  56. # =========================
  57. # Settings name patterns #
  58. # =========================
  59. CnameTemplate = ([0-9A-Za-z]{2,16})|([0-9\u0410-\u044f-\u4e00-\u9fa5]{2,16})
  60. # Clan name
  61. ClanNameTemplate = ([0-9A-Za-z]{3,16})|([0-9\u0410]{3,16})
  62. # Clan title
  63. ClanTitleTemplate = ([0-9A-Za-z \\p{Punct}]{1,16})|([0-9\u0410 \\p{Punct}]{1,16})
  64. # Alliance name
  65. AllyNameTemplate = ([0-9A-Za-z]{3,16})|([0-9\u0410]{3,16})
  66.  
  67. # ========================
  68. # Vote Reward System
  69. # ========================
  70. EnableVoteReward = True
  71. # Vote Address
  72. # Example: http://website.com/StringTake.php?IP=
  73. VoteAddress = http://l2sample/stringtake.php?IP=
  74.  
  75. # ========================
  76. # Display Options Serer #
  77. # ========================
  78. # NORMAL; RELAX; TEST; NO_LABEL; RESTRICTED; EVENT; FREE
  79. ServerType = NORMAL
  80. # Limit on age
  81. ServerAgeLimit = 0
  82. # Server only for game masters
  83. ServerGMOnly = false
  84. # [] Appears before the name server
  85. ServerBrackets = false
  86. # Its pvp server?
  87. PvPServer = false
  88.  
  89. # =========================
  90. # Configuration Protocol #
  91. # =========================
  92. # Minimum and maximum client protocols to access the server
  93. # High Five: Part 4 = 267
  94. MinProtocolRevision = 1
  95. MaxProtocolRevision = 999
  96.  
  97.  
  98. # ===================================
  99. # Service to link your IP and Hwid #
  100. # ===================================
  101. # Allow players to bind to IP Account
  102. # Bind use the command .lock
  103. AllowLockIP = false
  104.  
  105. # Allow players to bind to account HWid
  106. # Works only in the case when there is a LameGuard/fGuard
  107. # Bind use the command .lock
  108. AllowLockHwid = true
  109.  
  110. # Bit mask to link your HWid
  111. # 2 - HDD
  112. # 4 - BIOS
  113. # 8 - CPU
  114. # Example: HWIDBan = 10 (reference to HWID will be deemed only HDD and CPU)
  115. # Example: HWIDBan = 14 (reference to HWID will be deemed to HDD, CPU and BIOS)
  116. HwidLockMask = 10
  117.  
  118.  
  119. # ======================
  120. # Settings pool sizes #
  121. # ======================
  122. # Size of the thread pool to execute scheduled tasks, recommended setting: CPU x 4
  123. ScheduledThreadPoolSize = 16
  124. # Size of the thread pool, for the immediate implementation of the tasks recommended value: CPU x 2
  125. ExecutorThreadPoolSize = 8
  126.  
  127. # Statistics collection launches, create and run-time problems. Reset the file to the server zavresheniyu or on command telnet.
  128. EnableRunnableStats = false
  129.  
  130. # =======================
  131. # Settings Interchange #
  132. # =======================
  133. # Downtime mainstream treatment of compounds, the read / write
  134. SelectorSleepTime = 3
  135. # Delay before installation of the Desirable
  136. InterestDelay = 30
  137. # The maximum number of packets to be sent in a single pass
  138. MaxSendPerPass = 32
  139. # Buffer size for reading
  140. ReadBufferSize = 65536
  141. # Size of the buffer to write
  142. WriteBufferSize = 131072
  143. # Pool size for the temporary buffer read / write
  144. BufferPoolSize = 64
  145. # The number of managers to work with the effects of
  146. EffectTaskManagers = 1
  147.  
  148. # ====================
  149. # Language Settings #
  150. # ====================
  151. # The following values can be changed by users of the game team. Lang, the default value
  152. # Language dialogue default options ru, en
  153. DefaultLang = en
  154.  
  155. # Timer to remove chars, 0 removed immediately
  156. DeleteCharAfterDays = 3
  157.  
  158. # Directory data pack
  159. DatapackRoot =.
  160.  
  161. # ============================
  162. # Setup the server restarts #
  163. # ============================
  164. # Daily Auto-Restart on schedule. The restart format chronology.
  165. # * * * * * command to be executed
  166. # ? ? ? ? ?
  167. # ? ? ? ? ?
  168. # ? ? ? ? ?
  169. # ? ? ? ? ?????? day of week (0 - 6) (0 or 6 are Sunday to Saturday, or use names)
  170. # ? ? ? ??????????? month (1 - 12)
  171. # ? ? ???????????????? day of month (1 - 31)
  172. # ? ????????????????????? hour (0 - 23)
  173. # ?????????????????????????? min (0 - 59)
  174. # If the field is empty, the daily Auto-Restart is disabled by default, 5:00
  175. # Every day at hour 05:00 = AutoRestartAt = 0 5 * * *
  176. # Every day at hour 23:00 = AutoRestartAt = 0 23 * * *
  177. # Every Monday at hour 05:00 = AutoRestartAt = 0 5 * * 1
  178. AutoRestartAt =
  179.  
  180. # ========================
  181. # Settings game-masters #
  182. # ========================
  183. # Hide the status of game masters in /gmlist and Community Board
  184. HideGMStatus = False
  185. # Announce entrance of game masters in the game if he is not in invis
  186. ShowGMLogin = False
  187. # Save game-effects wizards silence, gmspeed, invul etc.
  188. SaveGMEffects = True
  189.  
  190. # ===================================
  191. # Region setting of the game world #
  192. # ===================================
  193. # The whole world is divided into regions, the size of the region is the size of the client card, namely 32768x32768, Z range from -32768 to 32767, identification card in the client is given XX_YY.
  194. # To make working with objects on the server, the world is divided into regions, both horizontally and vertically. The size of the region and its closest neighbors is equal to the scope of the player.
  195. # When you set up to remember: the smaller the size of the region, the less strain on the CPU, the less scope player, the less outgoing traffic, but the more memory consumption
  196. # This parameter determines the size of the region, horizontal: 1 << n, with a value of n = 15 - complies with the customer's card size, a value of 12 size is 4096, 11 - 2048
  197. HShift = 11
  198. # This parameter defines the height of the region to the vertical, with a value of 10 - height is 1024
  199. VShift = 11
  200. # Limit the height coordinates for the world, because The world does not use the full range of -32768 to 32767, it can be reduced to -16 384 .. 16383, thus saving memory
  201. MapMinZ = -32768
  202. MapMaxZ = 32767
  203.  
  204. # Size of the sector areas. Default - 32.
  205. LinearTerritoryCellSize = 32
  206.  
  207. # ==================
  208. # Settings geodata #
  209. # ==================
  210. # Takes damage from falling
  211. DamageFromFalling = false
  212. # Host to connect to the L2J-GeoEditor
  213. GeoEditorHost = 127.0.0.1
  214.  
  215. # =========================
  216. # Settings cursed weapon #
  217. # =========================
  218. # Are they (the default true)
  219. AllowCursedWeapons = True
  220. # Drops to the ground at gun disconnects \ kicked from the server
  221. DropCursedWeaponsOnKick = True
  222.  
  223. # Maximum number of reflective
  224. MaxReflectionsCount = 300
  225.  
  226. # Check GameServer ping, response time in seconds
  227. PingServer = True
  228. WaitPingTime = 5
  229.  
  230. # Call frequency task bypass, in seconds
  231. PurgeTaskFrequency = 60
  232.  
  233. # Delay replay movement and attack
  234. MovePacketDelay = 100
  235. AttackPacketDelay = 500
  236.  
  237. # The packets below are heavy and sent way too often to the client.
  238. # Character info for example is sent from each player to the client at every X milliseconds (you set them here).
  239. # If you are on a siege with 100 players around you and you've set the BroadcastCharInfoInterval = 100
  240. # This means that you get 100 heavy packets in 100 milliseconds, which is a lot for a client, like a mini-ddos.
  241. # If players experience graphical lags during sieges or other places where many players roam around, its suggested
  242. # to rise up the intervals so players don't get so flooded with packets that slow-down the client.
  243. # Suggested values: 100ms - 1000ms. Above 1000ms should start to show noticeable rather negative effects on game play.
  244. # Interval packet is sent UserInfo
  245. UserInfoInterval = 100
  246. # Enable sending stats
  247. BroadcastStatsInterval = true
  248. # Interval sending CharInfo
  249. BroadcastCharInfoInterval = 100
  250.  
  251. # Maximum number of players on the server
  252. MaximumOnlineUsers = 3500
  253. # Auto-delete things lying on the ground, time in seconds, 0 - do not delete; 600 (10 minutes)
  254. AutoDestroyDroppedItemAfter = 6000
  255. # Separate setting for the ejected player or fallen from a PC, the default is 1200 (20 minutes)
  256. AutoDestroyPlayerDroppedItemAfter = 1200
  257. # Include warehouse
  258. AllowWarehouse = True
  259. # Include mail
  260. AllowMail = True
  261. # Time of things to try on the map
  262. WearDelay = 10
  263. # Can players throw things on the ground
  264. AllowDiscardItem = True
  265. # Don't allow players to drop items in town (pace zone)
  266. AllowDiscardItemInTown = False
  267. # Is the water (if the GEODATA necessarily include)
  268. AllowWater = True
  269. # If true, all players have administrator rights (convenient for the test server)
  270. # Template with the privileges are in a file GMAccess.xml, for PlayerID set = "0"
  271. EverybodyHasAdminRights = True
  272. # Permission for all special teams players ( example ///fly)
  273. AllowSpecialCommands = False
  274. # Should we allow entering instances?
  275. AllowEnterInstance = True
  276. # Should we allow Stores?
  277. AllowStores = True
  278. # Allow talk with NPCS
  279. AllowTalkToNpcs = True
  280. # Allow only MoveBackwardToLocation packet?
  281. AllowJustMoving = False
  282. # Allow Tutorial on EnterWorld?
  283. AllowTutorial = True
  284. # Allow HWID Engine
  285. AllowHWIDEngine = True
  286. # Allow logging Skills Statistics
  287. AllowSkillStatsLogger = False
  288. # Allow Items Logging
  289. AllowItemsLogging = False
  290. # Allow Spawn Protection
  291. AllowSpawnProtection = True
  292. # -------------------------------------------------------------
  293. # 2 - all conversations are cached at server
  294. # 1 - The dialogues are cached as treatment
  295. # 0 - cache disabled (for testing)
  296. HtmCacheMode = 0
  297.  
  298. # The path to generate a static external web server (with / at the end)
  299. # The way to generate a static external web server (with / at the end)
  300. WebServerRoot =./webserver/
  301. # Generation period, 0 - disable
  302. # The period of generation, 0 - off
  303. WebServerDelay = 0
  304.  
  305. # Setting Angel NevitSystem
  306. AltVitalityNevitUpPoint = 100
  307. AltVitalityNevitPoint = 100
  308.  
  309. AllowAddonsConfig = True
  310.  
  311. # ===========================
  312. # LOG Services #
  313. # ===========================
  314. Services = True
  315.  
  316. # ==================================================================
  317. # Settings to set a password on your character SA (Secondary Auth) #
  318. # Pre-include this option in the client (UseSecondaryAuth = true) #
  319. # ==================================================================
  320. # Include whether the system SA
  321. SAEnabled = False
  322. # Ban account after a user has exceeded the number of password attempts?
  323. SABanAccEnabled = true
  324. # Enhanced password system, combined with the odd even sure!
  325. SAStrongPass = false
  326. # Maximum number of password attempts
  327. SAMaxAttemps = 5
  328. # Ban length Character for failure password (in minutes)
  329. SABanTime = 480
  330. # Link to the password recovery page
  331. SARecoveryLink = http://website.com/charPassRec.php
  332.  
  333.  
  334. # ===========================
  335. # Email #
  336. # ===========================
  337. # https://accounts.google.com/displayunlockcaptcha
  338. MailUser = [email protected]
  339. MailPass = samplepass
  340. Subject = Donation to L2Mythras Report
  341. # DONT FORGET TO ADD %PIN% where you want your TransactionID PIN to be displayed in the message!
  342. Message = Thank you for your donation! You can receive your donation reward automatically in game. All you have to do is to login and then type .donate and your paypal email adress.Ex: .donate [email protected]. Thank you for your support! Best regards,L2Mythras Team!
Advertisement
Add Comment
Please, Sign In to add comment