loginserver.properties 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
  14. # Common settings...
  15. # 127.0.0.1 - If you are playing alone on a test server
  16. # 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
  17. # x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
  18. # ---------------------------------------------------------------------------
  19. # Default: 127.0.0.1
  20. ExternalHostname = 127.0.0.1
  21. # ---------------------------------------------------------------------------
  22. # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
  23. # This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
  24. # ---------------------------------------------------------------------------
  25. # Default: 127.0.0.1
  26. InternalHostname = 127.0.0.1
  27. # ---------------------------------------------------------------------------
  28. # If you are behind a router which using its own local IP for Port Forwarding then set this to the routers
  29. # local IP if you want people outside your internal network to be able to connect to your server.
  30. # ---------------------------------------------------------------------------
  31. # RouterHostname =
  32. # Bind ip of the LoginServer, use * to bind on all available IPs
  33. # Default: *
  34. LoginserverHostname = *
  35. # Default: 2106
  36. LoginserverPort = 2106
  37. # The address on which login will listen for GameServers, use * to bind on all available IPs
  38. # Default: *
  39. LoginHostname = *
  40. # The port on which login will listen for GameServers
  41. # Default: 9014
  42. LoginPort = 9014
  43. # The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
  44. # Default: 15
  45. IpUpdateTime = 15
  46. # ---------------------------------------------------------------------------
  47. # Security
  48. # ---------------------------------------------------------------------------
  49. # Default: True
  50. LogLoginController = True
  51. # How many times you can provide an invalid account/pass before the IP gets banned.
  52. # Default: 10
  53. LoginTryBeforeBan = 10
  54. # Time you won't be able to login back again after LoginTryBeforeBan tries to login.
  55. # Default: 600 (10 minutes)
  56. LoginBlockAfterBan = 600
  57. # If set to True any GameServer can register on your login's free slots
  58. # Default: False
  59. AcceptNewGameServer = False
  60. # Enforce GameGuard authorization from client?
  61. # If True, login server will kick client if the client bypassed GameGuard authentication.
  62. # Default: False
  63. ForceGGAuth = False
  64. # Flood Protection. All values are in MILISECONDS.
  65. # Default: True
  66. EnableFloodProtection = True
  67. # Default: 15
  68. FastConnectionLimit = 15
  69. # Default: 700
  70. NormalConnectionTime = 700
  71. # Default: 350
  72. FastConnectionTime = 350
  73. # Default: 50
  74. MaxConnectionPerIP = 50
  75. # ---------------------------------------------------------------------------
  76. # Database
  77. # ---------------------------------------------------------------------------
  78. # Specify the appropriate driver and url for the database you're using.
  79. # Examples:
  80. # Driver = com.mysql.jdbc.Driver (default)
  81. # Driver = org.hsqldb.jdbcDriver
  82. # Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  83. Driver = com.mysql.jdbc.Driver
  84. # Database URL
  85. # URL = jdbc:mysql://localhost/l2jdb (default)
  86. # URL = jdbc:hsqldb:hsql://localhost/l2jdb
  87. # URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
  88. URL = jdbc:mysql://localhost/l2jdbe
  89. # Database user info (default is "root" but it's not recommended)
  90. Login = root
  91. # Database connection password
  92. Password = puka
  93. # Default: 10
  94. MaximumDbConnections = 10
  95. # Default: 0
  96. MaximumDbIdleTime = 0
  97. # ---------------------------------------------------------------------------
  98. # Misc.
  99. # ---------------------------------------------------------------------------
  100. # If False, the license (after the login) will not be shown.
  101. # Default: True
  102. ShowLicence = True
  103. # Create a new game account on player login if the account name does not exist yet.
  104. # Default: True
  105. AutoCreateAccounts = True
  106. # ---------------------------------------------------------------------------
  107. # Developer Settings
  108. # ---------------------------------------------------------------------------
  109. # Default: False
  110. Debug = False
  111. # Default: False
  112. Assert = False
  113. # Default: False
  114. Developer = False
  115. # An option that provides basic [OOG] client emulator protection (no client modding needed)
  116. # After logging in, a user must input any text inside a dialog to continue.
  117. UseSecurityCardToLogin = True
  118. # Input verification is not done.
  119. # SecurityCardID = l2jserver