Server.properties 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # ---------------------------------------------------------------------------
  2. # Game 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. # Where's the Login server this gameserver should connect to
  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: 127.0.0.1
  17. LoginHost = 127.0.0.1
  18. # TCP port the login server listen to for gameserver connection requests
  19. # Default: 9014
  20. LoginPort = 9014
  21. # Bind address for gameserver. You should not need to change it in most cases.
  22. # 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>
  23. # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
  24. # Default: * (0.0.0.0)
  25. GameserverHostname = *
  26. # Default: 7777
  27. GameserverPort = 7777
  28. # ---------------------------------------------------------------------------
  29. # Database
  30. # ---------------------------------------------------------------------------
  31. # Specify the appropriate driver and url for the database you're using.
  32. # Examples:
  33. # Driver = com.mysql.jdbc.Driver (default)
  34. # Driver = org.hsqldb.jdbcDriver
  35. # Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  36. Driver = com.mysql.jdbc.Driver
  37. # Database URL
  38. # URL = jdbc:mysql://localhost/l2jgs (default)
  39. # URL = jdbc:hsqldb:hsql://localhost/l2jgs
  40. # URL = jdbc:sqlserver://localhost/database = l2jgs/user = sa/password =
  41. URL = jdbc:mysql://localhost/l2jgs
  42. # Database user info (default is "root" but it's not recommended)
  43. Login = root
  44. # Database connection password
  45. Password =
  46. # Default: 100
  47. MaximumDbConnections = 100
  48. # Default: 0
  49. MaximumDbIdleTime = 0
  50. # ---------------------------------------------------------------------------
  51. # Misc Server Settings
  52. # ---------------------------------------------------------------------------
  53. # This is the server ID that the Game Server will request.
  54. # Example: 1 = Bartz
  55. # Default: 1
  56. RequestServerID = 1
  57. # True = The Login Server will give an other ID to the server if the requested ID is already reserved.
  58. # Default: True
  59. AcceptAlternateID = True
  60. # Datapack root directory.
  61. # Defaults to current directory from which the server is started unless the below line is uncommented.
  62. # WARNING: <u><b><font color="red">If the specified path is invalid, it will lead to multiple errors!</font></b></u>
  63. #Default: .
  64. DatapackRoot = .
  65. # Define how many players are allowed to play simultaneously on your server.
  66. # Default: 100
  67. MaximumOnlineUsers = 100
  68. # Numbers of protocol revisions that server allows to connect.
  69. # Delimiter is ;
  70. # WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>
  71. # Default: 267;268;271;273
  72. AllowedProtocolRevisions = 267;268;271;273
  73. # ---------------------------------------------------------------------------
  74. # Misc Player Settings
  75. # ---------------------------------------------------------------------------
  76. # Character name template.
  77. # Examples:
  78. # CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
  79. # The above setting will allow names with first capital letter, next three small letters,
  80. # and any letter (case insensitive) or number, like OmfgWTF1
  81. # CnameTemplate = [A-Z][a-z]*
  82. # The above setting will allow names only of letters with first one capital, like Omfgwtf
  83. # Default .* (allows any symbol)
  84. CnameTemplate = .*
  85. # This setting restricts names players can give to their pets.
  86. # See CnameTemplate for details
  87. PetNameTemplate = .*
  88. # This setting restricts clan/subpledge names players can set.
  89. # See CnameTemplate for details
  90. ClanNameTemplate = .*
  91. # Maximum number of characters per account.
  92. # Default: 7 (client limit)
  93. CharMaxNumber = 7