LoginServer.properties 4.4 KB

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