server.properties 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. # Bind ip of the gameserver, use * to bind on all available IPs
  15. GameserverHostname=*
  16. GameserverPort=7777
  17. # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
  18. # If this ip is resolvable by Login just leave *
  19. ExternalHostname=*
  20. # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
  21. # If this ip is resolvable by Login just leave *
  22. InternalHostname=*
  23. # The Loginserver host and port
  24. LoginPort=9014
  25. LoginHost=127.0.0.1
  26. # This is the server id that the gameserver will request (i.e. 1 is Bartz)
  27. RequestServerID = 1
  28. # If set to true, the login will give an other id to the server if the requested id is already reserved
  29. AcceptAlternateID = True
  30. # Database info
  31. Driver=com.mysql.jdbc.Driver
  32. #Driver=org.hsqldb.jdbcDriver
  33. #Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
  34. URL=jdbc:mysql://localhost/l2jdb
  35. #URL=jdbc:hsqldb:hsql://localhost/l2jdb
  36. #URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
  37. #Database user info (using root user is not recommended)
  38. Login=root
  39. Password=
  40. MaximumDbConnections=100
  41. # Datapack root directory, defaults to current directory from which the server is started
  42. # DatapackRoot = C:/Work/tmp/DataPack
  43. # Define character name template
  44. # Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*
  45. # will allow names with first capital letter, next three small letters,
  46. # and any (capital or not) letter or number, like ZbigN1eW
  47. # Most rational to have CnameTemplate=[A-Z][a-z]*
  48. # meaning names only of letters with first one capital, like Zbigniew
  49. # Default .* - any many of any symbols
  50. CnameTemplate=.*
  51. PetNameTemplate=.*
  52. # Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])
  53. CharMaxNumber = 7
  54. # Define how many players are allowed to play simultaneously on your server.
  55. MaximumOnlineUsers=100
  56. # Minimum and maximum protocol revision that server allow to connect.
  57. # You must keep MinProtocolRevision <= MaxProtocolRevision.
  58. MinProtocolRevision = 12
  59. MaxProtocolRevision = 12