Server.properties 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. # Database Engine
  36. # Available: MySQL, MariaDB
  37. # Default: MySQL
  38. Database = MySQL
  39. # Specify the appropriate driver and url for the database you're using.
  40. # Examples:
  41. # Driver = com.mysql.jdbc.Driver
  42. # Driver = org.hsqldb.jdbcDriver
  43. # Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  44. # Driver = org.mariadb.jdbc.Driver
  45. # Default: com.mysql.jdbc.Driver
  46. Driver = com.mysql.jdbc.Driver
  47. # Database URL
  48. # URL = jdbc:mysql://localhost/l2jgs?useSSL=false&serverTimezone=UTC
  49. # URL = jdbc:hsqldb:hsql://localhost/l2jgs
  50. # URL = jdbc:sqlserver://localhost/database = l2jgs/user = sa/password =
  51. # URL = jdbc:mariadb://localhost/l2jgs
  52. # Default: jdbc:mysql://localhost/l2jgs?useSSL=false&serverTimezone=UTC
  53. URL = jdbc:mysql://localhost/l2jgs?useSSL=false&serverTimezone=UTC
  54. # Database user info (default is "root" but it's not recommended)
  55. Login = root
  56. # Database connection password
  57. Password = toor
  58. # Database Connection Pool
  59. # Default: HikariCP
  60. # Available: BoneCP, C3P0, HikariCP
  61. ConnectionPool = HikariCP
  62. # Default: 100
  63. MaximumDbConnections = 100
  64. # Default: 0
  65. MaximumDbIdleTime = 0
  66. # ---------------------------------------------------------------------------
  67. # Misc Server Settings
  68. # ---------------------------------------------------------------------------
  69. # This is the server ID that the Game Server will request.
  70. # Example: 1 = Bartz
  71. # Default: 1
  72. RequestServerID = 1
  73. # True = The Login Server will give an other ID to the server if the requested ID is already reserved.
  74. # Default: True
  75. AcceptAlternateID = True
  76. # Datapack root directory.
  77. # Defaults to current directory from which the server is started unless the below line is uncommented.
  78. # WARNING: <u><b><font color="red">If the specified path is invalid, it will lead to multiple errors!</font></b></u>
  79. # For debug: ../../../L2J_DataPack/dist/game
  80. #Default: .
  81. DatapackRoot = .
  82. # Define how many players are allowed to play simultaneously on your server.
  83. # Default: 500
  84. MaximumOnlineUsers = 500
  85. # Numbers of protocol revisions that server allows to connect.
  86. # Delimiter is ;
  87. # WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>
  88. # Default: 267;268;271;273
  89. AllowedProtocolRevisions = 267;268;271;273
  90. # ---------------------------------------------------------------------------
  91. # Misc Player Settings
  92. # ---------------------------------------------------------------------------
  93. # Player name template.
  94. # Examples:
  95. # PlayerNameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
  96. # The above setting will allow names with first capital letter, next three small letters,
  97. # and any letter (case insensitive) or number, like OmfgWTF1
  98. # PlayerNameTemplate = [A-Z][a-z]*
  99. # The above setting will allow names only of letters with first one capital, like Omfgwtf
  100. # The default forces start with a letter and continues either with letters or numbers.
  101. # Default: [a-zA-Z0-9]*
  102. PlayerNameTemplate = [a-zA-Z0-9]*
  103. # This setting restricts names players can give to their pets.
  104. # See CnameTemplate for details
  105. # Default: [a-zA-Z0-9]*
  106. PetNameTemplate = [a-zA-Z0-9]*
  107. # This setting restricts clan/subpledge names players can set.
  108. # See CnameTemplate for details
  109. # Default: [a-zA-Z0-9]+
  110. ClanNameTemplate = [a-zA-Z0-9]*
  111. # Maximum number of characters per account.
  112. # Default: 7 (client limit)
  113. CharMaxNumber = 7