loginserver.properties 4.9 KB

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