LoginServer.properties 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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 milliseconds.
  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
  61. # Driver = org.hsqldb.jdbcDriver
  62. # Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  63. # Driver = org.mariadb.jdbc.Driver
  64. # Default: com.mysql.jdbc.Driver
  65. Driver = com.mysql.jdbc.Driver
  66. # Database URL
  67. # URL = jdbc:mysql://localhost/l2jls?useSSL=false&serverTimezone=UTC
  68. # URL = jdbc:hsqldb:hsql://localhost/l2jls
  69. # URL = jdbc:sqlserver://localhost/database = l2jls/user = sa/password =
  70. # URL = jdbc:mariadb://localhost/l2jls
  71. # Default: jdbc:mysql://localhost/l2jls?useSSL=false&serverTimezone=UTC
  72. URL = jdbc:mysql://localhost/l2jls?useSSL=false&serverTimezone=UTC
  73. # Database user info (default is "root" but it's not recommended)
  74. Login = root
  75. # Database connection password
  76. Password = toor
  77. # Database Connection Pool
  78. # Default: HikariCP
  79. # Available: BoneCP, C3P0, HikariCP
  80. ConnectionPool = HikariCP
  81. # Default: 10
  82. MaximumDbConnections = 10
  83. # Default: 0
  84. MaximumDbIdleTime = 0
  85. # Connection close time.
  86. # Default: 60000
  87. ConnectionCloseTime = 60000
  88. # ---------------------------------------------------------------------------
  89. # Misc.
  90. # ---------------------------------------------------------------------------
  91. # If False, the license (after the login) will not be shown.
  92. # Default: True
  93. ShowLicence = True
  94. # Default: True
  95. AutoCreateAccounts = True
  96. # Datapack root directory.
  97. # Defaults to current directory from which the server is started.
  98. DatapackRoot = .
  99. # ---------------------------------------------------------------------------
  100. # Developer Settings
  101. # ---------------------------------------------------------------------------
  102. # Default: False
  103. Debug = False
  104. # ---------------------------------------------------------------------------
  105. # Restart LS every 24 hours?
  106. # ---------------------------------------------------------------------------
  107. # Enable disable scheduled login restart.
  108. # Default: False
  109. LoginRestartSchedule = False
  110. # Time in hours.
  111. # Default: 24
  112. LoginRestartTime = 24