Server.properties 4.8 KB

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