server.properties 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
  14. # Common settings...
  15. # 127.0.0.1 - If you are playing alone on a test server
  16. # 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
  17. # x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
  18. # If this IP is resolvable by the Login Server, just leave *.
  19. # ---------------------------------------------------------------------------
  20. # Default: *
  21. ExternalHostname = 127.0.0.1
  22. # ---------------------------------------------------------------------------
  23. # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
  24. # This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
  25. # If this IP is resolvable by the Login Server, just leave *.
  26. # ---------------------------------------------------------------------------
  27. # Default: *
  28. InternalHostname = *
  29. # Where's the Login server this gameserver should connect to
  30. # Default: 127.0.0.1
  31. LoginHost = 127.0.0.1
  32. # TCP port the login server listen to for gameserver connection requests
  33. # Default: 9014
  34. LoginPort = 9014
  35. # Default: *
  36. GameserverHostname = *
  37. # Default: 7777
  38. GameserverPort = 7777
  39. # ---------------------------------------------------------------------------
  40. # Database
  41. # ---------------------------------------------------------------------------
  42. # Specify the appropriate driver and url for the database you're using.
  43. # Examples:
  44. # Driver = com.mysql.jdbc.Driver (default)
  45. # Driver = org.hsqldb.jdbcDriver
  46. # Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  47. Driver = com.mysql.jdbc.Driver
  48. # Database URL
  49. # URL = jdbc:mysql://localhost/l2jdb (default)
  50. # URL = jdbc:hsqldb:hsql://localhost/l2jdb
  51. # URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
  52. URL = jdbc:mysql://localhost/l2jdbe
  53. # Database user info (default is "root" but it's not recommended)
  54. Login = root
  55. # Database connection password
  56. Password = puka
  57. # Default: 100
  58. MaximumDbConnections = 100
  59. # Default: 0
  60. MaximumDbIdleTime = 0
  61. # ---------------------------------------------------------------------------
  62. # Misc Server Settings
  63. # ---------------------------------------------------------------------------
  64. # This is the server ID that the Game Server will request.
  65. # Example: 1 = Bartz
  66. # Default: 1
  67. RequestServerID = 1
  68. # True = The Login Server will give an other ID to the server if the requested ID is already reserved.
  69. # Default: True
  70. AcceptAlternateID = True
  71. # Datapack root directory.
  72. # Defaults to current directory from which the server is started unless the below line is uncommented.
  73. #DatapackRoot = C:/Work/tmp/DataPack
  74. # Define how many players are allowed to play simultaneously on your server.
  75. # Default: 100
  76. MaximumOnlineUsers = 100
  77. # Numbers of protocol revisions that server allows to connect.
  78. # Delimiter is ;
  79. # WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>
  80. # Default: 146;152
  81. AllowedProtocolRevisions = 146;152
  82. # ---------------------------------------------------------------------------
  83. # Misc Player Settings
  84. # ---------------------------------------------------------------------------
  85. # Character name template.
  86. # Examples:
  87. # CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
  88. # The above setting will allow names with first capital letter, next three small letters,
  89. # and any letter (case insensitive) or number, like OmfgWTF1
  90. # CnameTemplate = [A-Z][a-z]*
  91. # The above setting will allow names only of letters with first one capital, like Omfgwtf
  92. # Default .* (allows any symbol)
  93. CnameTemplate = .*
  94. # This setting restricts names players can give to their pets.
  95. # See CnameTemplate for details
  96. PetNameTemplate = .*
  97. # Maximum number of characters per account.
  98. # Default: 7 (client limit)
  99. CharMaxNumber = 7