Guest User

Untitled

a guest
Apr 22nd, 2016
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.39 KB | None | 0 0
  1. #-------------------------------------------------------------#
  2. # Login Server Settings #
  3. #-------------------------------------------------------------#
  4. # This is the server configuration file. Here you can set up the connection for your server.
  5. # Usually you have to change the ExternalHostname option to
  6. # - 127.0.0.1 (if you want to play alone / testing purpose)
  7. # - LAN IP* (if you want to play from another computer in the network)
  8. # - WAN IP** (if you want to play with friends over internet)
  9. # - Questions? => http://l2jnews.com
  10. #
  11. # * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
  12. # **= If you want to get you WAN IP, visit http://www.whatismyip.com
  13. #----------------------------------------------------------------------------------------------------
  14.  
  15. #------------------------------------------------------------------
  16. # General server setting !!! REQUIRED to configure to everyone !!!
  17. #------------------------------------------------------------------
  18.  
  19. # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
  20. ExternalHostname = 158.69.109.66
  21.  
  22. # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
  23. InternalHostname = 158.69.109.66
  24.  
  25. # Bind ip of the loginServer, use * to bind on all available IPs
  26. LoginserverHostname = 158.69.109.66
  27. LoginserverPort = 2106
  28.  
  29. # How many times you can provide an invalid account/pass before the IP gets banned
  30. LoginTryBeforeBan = 20
  31.  
  32. # Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)
  33. LoginBlockAfterBan = 600
  34. GMMinLevel = 100
  35.  
  36. # The address on which login will listen for GameServers, use * to bind on all available IPs
  37. LoginHostname = 158.69.109.66
  38.  
  39. # The port on which login will listen for GameServers
  40. LoginPort = 9014
  41.  
  42. # If set to True any GameServer can register on your login's free slots
  43. AcceptNewGameServer = False
  44.  
  45. # If False, the licence (after the login) will not be shown
  46. # It is highly recomended for Account Seciurity to leave this option as defalut (True)
  47. ShowLicence = True
  48.  
  49. # Database Pool Type
  50. # Possible Values: c3p0 or BoneCP
  51. # c3p0: more stable
  52. # BoneCP: more performance
  53. DatabasePoolType = c3p0
  54.  
  55. # Database info
  56. Driver = com.mysql.jdbc.Driver
  57. #Driver=org.hsqldb.jdbcDriver
  58. #Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
  59.  
  60. # Database Settings
  61. URL = jdbc:mysql://localhost/pvpbrl2j
  62. #URL=jdbc:hsqldb:hsql://localhost/l2jdb
  63. #URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
  64.  
  65. # Parameters Databases - MYSQL
  66. # Login - Mysql's user
  67. Login = root
  68. # Password - Mysql's Password
  69. Password = @#winpbpnt*10
  70. # maximum number of simultaneous connecting to the database
  71. MaximumDbConnections = 100
  72.  
  73. # Default: 0
  74. MaximumDbIdleTime = 0
  75.  
  76. # The timeout before a new connection to the database (in ms)
  77. # default 0 disabled
  78. TimeOutConDb = 0
  79.  
  80. # Sets number of partitions to use. - BoneCP
  81. # In order to reduce lock contention and thus improve performance,
  82. # each incoming connection request picks off a connection from a pool that has thread-affinity,
  83. # i.e. pool[threadId % partition_count]. The higher this number, the better your performance will be for the case
  84. # when you have plenty of short-lived threads. Beyond a certain threshold, maintenance of these pools will start
  85. # to have a negative effect on performance (and only for the case when connections on a partition start running out).
  86. PartitionCount = 3
  87.  
  88. # Limit fast connections (input username / password)
  89. FastConnectionLimit = 15
  90. # Time of the normal connection (in ms)
  91. NormalConnectionTime = 700
  92. # Time fast connection (in ms)
  93. FastConnectionTime = 350
  94. # Maximum connections with the 1st IP
  95. MaxConnectionPerIP = 50
  96.  
  97. # The lifetime of the session with the login server.
  98. SessionTTL = 25000
  99. MaxSessions = 100
  100.  
  101. # Choose the option: "true", to create an account when logging in automatically
  102. AutoCreateAccounts = false
  103.  
  104. # Time to renew the IP address of the server in minutes (for dynamic IP)
  105. IpUpdateTime = 0
  106.  
  107. # The configuration of the local subnet
  108. # Example : 192.168
  109. # Ppimer : 10.1
  110. NetworkList = 192.168.;10.0.
  111.  
  112. #---------------------------------------------------------------
  113. # Test server configuration, not to switch on the game server! -
  114. #---------------------------------------------------------------
  115. # Use the GG client authentication
  116. # Login server access let the client without GameGuard
  117. ForceGGAuth = False
  118.  
  119. # Including protection from flood
  120. # IMPORTANT: Put True for server security.
  121. EnableFloodProtection = True
  122.  
  123. # Enable mode "debugging"
  124. # With debug you will see more log on console and more messages in game.
  125. Debug = False
  126.  
  127. # Switched on "development"
  128. Developer = False
  129.  
  130. #--------------------------------------------------------------
  131. # Anti Ddos protection.
  132. # This system works with iptables
  133. #--------------------------------------------------------------
  134. # iptables -A INPUT -p tcp --dport 7777 -j DROP
  135. # IMPORTANT: Put True for server security.
  136. # IMPORTANT: Active only with LINUX OS.
  137. EnableDdosProSystem = False
  138. # String deny_comms
  139. # IMPORTANT: If you don't know what is it, leave as default
  140. Deny_noallow_ip_ddos = /sbin/iptables -I INPUT 13 -p tcp --dport 7777 -s $IP -j ACCEPT
  141. # Active full log on Login Server console about Ddos protection
  142. Fulllog_mode_print = False
  143.  
  144. #-------------------------------------------------------------
  145. # Anti Bruteforce protection. (credits RT-Interlude)
  146. #-------------------------------------------------------------
  147. # Count of trying connection to server, after which will be made checking IP addres
  148. # for a possible BrutForce
  149. # Reducing this value will increase the likelihood of false positives
  150. # Increasing this value will reduce the effectiveness of security (more chance find passwords for large accounts)
  151. BrutLogonAttempts = 15
  152. # The average time (in seconds) between attempts to connect to the server
  153. # Reducing this value will increase the likelihood of false positives
  154. # Increasing this value will reduce the effectiveness of security (more chance find passwords for large accounts)
  155. BrutAvgTime = 30
  156. # Number of second, for ban IP address, who time BrutAvgTime less specified
  157. # 900 second = 15 minute
  158. BrutBanIpTime = 900
  159. Assert = False
  160. EnableAllExceptionsLog = False
  161. DebugPackets = False
Add Comment
Please, Sign In to add comment