2
0

LoginServer.properties 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. # Enables automatic port mapping for login server.
  14. # If you have a router login server will request for port forwarding.
  15. # Default: True
  16. EnableUPnP = True
  17. # Bind ip of the LoginServer, use * to bind on all available IPs
  18. # 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>
  19. # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
  20. # Default: * (0.0.0.0)
  21. LoginserverHostname = *
  22. # Default: 2106
  23. LoginserverPort = 2106
  24. # The address on which login will listen for GameServers, use * to bind on all available IPs
  25. # 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>
  26. # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
  27. # Default: 127.0.0.1
  28. LoginHostname = 127.0.0.1
  29. # The port on which login will listen for GameServers
  30. # Default: 9014
  31. LoginPort = 9014
  32. # ---------------------------------------------------------------------------
  33. # Security
  34. # ---------------------------------------------------------------------------
  35. # How many times you can provide an invalid account/pass before the IP gets banned.
  36. # Default: 5
  37. LoginTryBeforeBan = 5
  38. # Time you won't be able to login back again after LoginTryBeforeBan tries to login.
  39. # Default: 900 (15 minutes)
  40. LoginBlockAfterBan = 900
  41. # If set to True any GameServer can register on your login's free slots
  42. # Default: True
  43. AcceptNewGameServer = True
  44. # Flood Protection. All values are in MILISECONDS.
  45. # Default: True
  46. EnableFloodProtection = True
  47. # Default: 15
  48. FastConnectionLimit = 15
  49. # Default: 700
  50. NormalConnectionTime = 700
  51. # Default: 350
  52. FastConnectionTime = 350
  53. # Default: 50
  54. MaxConnectionPerIP = 50
  55. # ---------------------------------------------------------------------------
  56. # Database
  57. # ---------------------------------------------------------------------------
  58. # Specify the appropriate driver and url for the database you're using.
  59. # Examples:
  60. # Driver = com.mysql.jdbc.Driver (default)
  61. # Driver = org.hsqldb.jdbcDriver
  62. # Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  63. Driver = com.mysql.jdbc.Driver
  64. # Database URL
  65. # URL = jdbc:mysql://localhost/l2jls (default)
  66. # URL = jdbc:hsqldb:hsql://localhost/l2jls
  67. # URL = jdbc:sqlserver://localhost/database = l2jls/user = sa/password =
  68. URL = jdbc:mysql://localhost/l2jls
  69. # Database user info (default is "root" but it's not recommended)
  70. Login = root
  71. # Database connection password
  72. Password =
  73. # Database Connection Pool
  74. # Default: C3P0
  75. # Available: C3P0, HikariCP
  76. ConnectionPool = HikariCP
  77. # Default: 10
  78. MaximumDbConnections = 10
  79. # Default: 0
  80. MaximumDbIdleTime = 0
  81. # Connection close time.
  82. # Default: 60000
  83. ConnectionCloseTime = 60000
  84. # ---------------------------------------------------------------------------
  85. # Misc.
  86. # ---------------------------------------------------------------------------
  87. # If False, the license (after the login) will not be shown.
  88. # Default: True
  89. ShowLicence = True
  90. # Default: True
  91. AutoCreateAccounts = True
  92. # Datapack root directory.
  93. # Defaults to current directory from which the server is started.
  94. DatapackRoot = .
  95. # ---------------------------------------------------------------------------
  96. # Developer Settings
  97. # ---------------------------------------------------------------------------
  98. # Default: False
  99. Debug = False
  100. # ---------------------------------------------------------------------------
  101. # Restart LS every 24 hours?
  102. # ---------------------------------------------------------------------------
  103. # Enable disable scheduled login restart.
  104. # Default: False
  105. LoginRestartSchedule = False
  106. # Time in hours.
  107. # Default: 24
  108. LoginRestartTime = 24