server.properties 3.9 KB

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