loginserver.properties 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. # The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
  29. # Default: 15
  30. IpUpdateTime = 15
  31. # ---------------------------------------------------------------------------
  32. # Security
  33. # ---------------------------------------------------------------------------
  34. # Default: True
  35. LogLoginController = True
  36. # How many times you can provide an invalid account/pass before the IP gets banned.
  37. # Default: 10
  38. LoginTryBeforeBan = 10
  39. # Time you won't be able to login back again after LoginTryBeforeBan tries to login.
  40. # Default: 600 (10 minutes)
  41. LoginBlockAfterBan = 600
  42. # If set to True any GameServer can register on your login's free slots
  43. # Default: False
  44. AcceptNewGameServer = False
  45. # Enforce GameGuard authorization from client?
  46. # If True, login server will kick client if the client bypassed GameGuard authentication.
  47. # Default: False
  48. ForceGGAuth = False
  49. # Flood Protection. All values are in MILISECONDS.
  50. # Default: True
  51. EnableFloodProtection = True
  52. # Default: 15
  53. FastConnectionLimit = 15
  54. # Default: 700
  55. NormalConnectionTime = 700
  56. # Default: 350
  57. FastConnectionTime = 350
  58. # Default: 50
  59. MaxConnectionPerIP = 50
  60. # ---------------------------------------------------------------------------
  61. # Database
  62. # ---------------------------------------------------------------------------
  63. # Specify the appropriate driver and url for the database you're using.
  64. # Examples:
  65. # Driver = com.mysql.jdbc.Driver (default)
  66. # Driver = org.hsqldb.jdbcDriver
  67. # Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  68. Driver = com.mysql.jdbc.Driver
  69. # Database URL
  70. # URL = jdbc:mysql://localhost/l2jdb (default)
  71. # URL = jdbc:hsqldb:hsql://localhost/l2jdb
  72. # URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
  73. URL = jdbc:mysql://localhost/l2jdb
  74. # Database user info (default is "root" but it's not recommended)
  75. Login = root
  76. # Database connection password
  77. Password =
  78. # Default: 10
  79. MaximumDbConnections = 10
  80. # Default: 0
  81. MaximumDbIdleTime = 0
  82. # ---------------------------------------------------------------------------
  83. # Misc.
  84. # ---------------------------------------------------------------------------
  85. # If False, the license (after the login) will not be shown.
  86. # Default: True
  87. ShowLicence = True
  88. # Default: True
  89. AutoCreateAccounts = True
  90. # ---------------------------------------------------------------------------
  91. # Developer Settings
  92. # ---------------------------------------------------------------------------
  93. # Default: False
  94. Debug = False
  95. # Default: False
  96. Assert = False
  97. # Default: False
  98. Developer = False