loginserver.properties 4.3 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: * (0.0.0.0)
  24. LoginHostname = *
  25. # The port on which login will listen for GameServers
  26. # Default: 9014
  27. LoginPort = 9014
  28. # ---------------------------------------------------------------------------
  29. # Security
  30. # ---------------------------------------------------------------------------
  31. # Default: True
  32. LogLoginController = True
  33. # How many times you can provide an invalid account/pass before the IP gets banned.
  34. # Default: 10
  35. LoginTryBeforeBan = 10
  36. # Time you won't be able to login back again after LoginTryBeforeBan tries to login.
  37. # Default: 600 (10 minutes)
  38. LoginBlockAfterBan = 600
  39. # If set to True any GameServer can register on your login's free slots
  40. # Default: False
  41. AcceptNewGameServer = False
  42. # Flood Protection. All values are in MILISECONDS.
  43. # Default: True
  44. EnableFloodProtection = True
  45. # Default: 15
  46. FastConnectionLimit = 15
  47. # Default: 700
  48. NormalConnectionTime = 700
  49. # Default: 350
  50. FastConnectionTime = 350
  51. # Default: 50
  52. MaxConnectionPerIP = 50
  53. # ---------------------------------------------------------------------------
  54. # Database
  55. # ---------------------------------------------------------------------------
  56. # Specify the appropriate driver and url for the database you're using.
  57. # Examples:
  58. # Driver = com.mysql.jdbc.Driver (default)
  59. # Driver = org.hsqldb.jdbcDriver
  60. # Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  61. Driver = com.mysql.jdbc.Driver
  62. # Database URL
  63. # URL = jdbc:mysql://localhost/l2jls (default)
  64. # URL = jdbc:hsqldb:hsql://localhost/l2jls
  65. # URL = jdbc:sqlserver://localhost/database = l2jls/user = sa/password =
  66. URL = jdbc:mysql://localhost/l2jls
  67. # Database user info (default is "root" but it's not recommended)
  68. Login = root
  69. # Database connection password
  70. Password =
  71. # Default: 10
  72. MaximumDbConnections = 10
  73. # Default: 0
  74. MaximumDbIdleTime = 0
  75. # ---------------------------------------------------------------------------
  76. # Misc.
  77. # ---------------------------------------------------------------------------
  78. # If False, the license (after the login) will not be shown.
  79. # Default: True
  80. ShowLicence = True
  81. # Default: True
  82. AutoCreateAccounts = True
  83. # Datapack root directory.
  84. # Defaults to current directory from which the server is started unless the below line is uncommented.
  85. #DatapackRoot = C:/Work/tmp/DataPack
  86. # ---------------------------------------------------------------------------
  87. # Developer Settings
  88. # ---------------------------------------------------------------------------
  89. # Default: False
  90. Debug = False
  91. # ---------------------------------------------------------------------------
  92. # Restart LS every 24 hours?
  93. # ---------------------------------------------------------------------------
  94. # Default: False, 24
  95. LoginRestartSchedule = False
  96. LoginRestartTime = 24