loginserver.properties 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # This is the server configuration file. Here you can set up the connection for your server.
  2. # Usually you have to change the ExternalHostname option to
  3. # - 127.0.0.1 (if you want to play alone / testing purpose)
  4. # - LAN IP* (if you want to play from another computer in the network)
  5. # - WAN IP** (if you want to play with friends over internet)
  6. # - Questions? => http://l2jserver.com
  7. #
  8. # * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
  9. # **= If you want to get you WAN IP, visit http://www.whatismyip.com
  10. # ===================================================================================================
  11. # ================================================================
  12. # General server setting !!! REQUIRED to configure to everyone !!!
  13. # ================================================================
  14. # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
  15. ExternalHostname=127.0.0.1
  16. # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
  17. InternalHostname=127.0.0.1
  18. # Bind ip of the LoginServer, use * to bind on all available IPs
  19. LoginserverHostname=*
  20. LoginserverPort=2106
  21. # How many times you can provide an invalid account/pass before the IP gets banned
  22. LoginTryBeforeBan=10
  23. # Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)
  24. LoginBlockAfterBan=600
  25. GMMinLevel=100
  26. # The address on which login will listen for GameServers, use * to bind on all available IPs
  27. LoginHostname=*
  28. # The port on which login will listen for GameServers
  29. LoginPort=9014
  30. # If set to true any GameServer can register on your login's free slots
  31. AcceptNewGameServer = False
  32. # If false, the licence (after the login) will not be shown
  33. # It is highly recomended for Account Seciurity to leave this option as defalut (True)
  34. ShowLicence = True
  35. # Database info
  36. Driver=com.mysql.jdbc.Driver
  37. #Driver=org.hsqldb.jdbcDriver
  38. #Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
  39. URL=jdbc:mysql://localhost/l2jdb
  40. #URL=jdbc:hsqldb:hsql://localhost/l2jdb
  41. #URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
  42. Login=root
  43. Password=
  44. MaximumDbConnections=10
  45. # Useable values: "true" - "false", use this option to choose whether accounts will be created
  46. # automatically or not.
  47. AutoCreateAccounts=true
  48. # The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
  49. IpUpdateTime=15
  50. # ==============================================================
  51. # Test server setting, shoudnt be touched in online game server
  52. # ==============================================================
  53. Debug = False
  54. Assert = False
  55. Developer = False
  56. # Enforce GG Authorization from client
  57. # Login server will kick client if client bypassed GameGuard authentication
  58. ForceGGAuth=True
  59. #FloodProtection. time in ms
  60. EnableFloodProtection=True
  61. FastConnectionLimit=15
  62. NormalConnectionTime=700
  63. FastConnectionTime=350
  64. MaxConnectionPerIP=50