Advertisement
Guest User

LoginServer

a guest
May 6th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. # ---------------------------------------------------------------------------
  2. # Login Server Settings
  3. # ---------------------------------------------------------------------------
  4. # This is the server configuration file. Here you can set up the connection information for your server.
  5. # This was written with the assumption that you are behind a router.
  6. # Dumbed Down Definitions...
  7. # LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
  8. # WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
  9. # x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
  10. # ---------------------------------------------------------------------------
  11. # Networking
  12. # ---------------------------------------------------------------------------
  13.  
  14. # Bind ip of the LoginServer, use * to bind on all available IPs
  15. # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
  16. # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
  17. # Default: * (0.0.0.0)
  18. LoginserverHostname = *
  19.  
  20. # Default: 2106
  21. LoginserverPort = 2106
  22.  
  23. # The address on which login will listen for GameServers, use * to bind on all available IPs
  24. # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
  25. # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
  26. # Default: 127.0.0.1
  27. LoginHostname = 127.0.0.1
  28.  
  29. # The port on which login will listen for GameServers
  30. # Default: 9014
  31. LoginPort = 9014
  32.  
  33. # ---------------------------------------------------------------------------
  34. # Security
  35. # ---------------------------------------------------------------------------
  36.  
  37. # Logs in file the login server events.
  38. # Default: True
  39. LogLoginController = True
  40.  
  41. # How many times you can provide an invalid account/pass before the IP gets banned.
  42. # Default: 5
  43. LoginTryBeforeBan = 5
  44.  
  45. # Time you won't be able to login back again after LoginTryBeforeBan tries to login.
  46. # Default: 900 (15 minutes)
  47. LoginBlockAfterBan = 900
  48.  
  49. # If set to True any GameServer can register on your login's free slots
  50. # Default: True
  51. AcceptNewGameServer = True
  52.  
  53. # Flood Protection. All values are in MILISECONDS.
  54. # Default: True
  55. EnableFloodProtection = True
  56.  
  57. # Default: 15
  58. FastConnectionLimit = 15
  59.  
  60. # Default: 700
  61. NormalConnectionTime = 700
  62.  
  63. # Default: 350
  64. FastConnectionTime = 350
  65.  
  66. # Default: 50
  67. MaxConnectionPerIP = 50
  68.  
  69. # ---------------------------------------------------------------------------
  70. # Database
  71. # ---------------------------------------------------------------------------
  72.  
  73. # Specify the appropriate driver and url for the database you're using.
  74. # Examples:
  75. # Driver = com.mysql.jdbc.Driver (default)
  76. # Driver = org.hsqldb.jdbcDriver
  77. # Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  78. Driver = com.mysql.jdbc.Driver
  79. # Database URL
  80. # URL = jdbc:mysql://localhost/l2jwz (default)
  81. # URL = jdbc:hsqldb:hsql://localhost/l2jwz
  82. # URL = jdbc:sqlserver://localhost/database = l2jwz/user = sa/password =
  83. URL = jdbc:mysql://localhost/l2cathedral
  84. # Database user info (default is "root" but it's not recommended)
  85. Login = root
  86. # Database connection password
  87. Password = 123456
  88.  
  89. # Default: 10
  90. MaximumDbConnections = 10
  91.  
  92. # Default: 0
  93. MaximumDbIdleTime = 0
  94.  
  95. # ---------------------------------------------------------------------------
  96. # Misc.
  97. # ---------------------------------------------------------------------------
  98.  
  99. # If False, the license (after the login) will not be shown.
  100. # Default: True
  101. ShowLicence = True
  102.  
  103. # Default: True
  104. AutoCreateAccounts = True
  105.  
  106. # Datapack root directory.
  107. # Defaults to current directory from which the server is started.
  108. DatapackRoot = .
  109.  
  110. # ---------------------------------------------------------------------------
  111. # Developer Settings
  112. # ---------------------------------------------------------------------------
  113.  
  114. # Default: False
  115. Debug = False
  116.  
  117. # ---------------------------------------------------------------------------
  118. # Restart LS every 24 hours?
  119. # ---------------------------------------------------------------------------
  120.  
  121. # Enable disable scheduled login restart.
  122. # Default: False
  123. LoginRestartSchedule = False
  124. # Time in hours.
  125. # Default: 24
  126. LoginRestartTime = 24
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement