2
0

server.properties 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. # ---------------------------------------------------------------------------
  12. # Networking
  13. # ---------------------------------------------------------------------------
  14. # ---------------------------------------------------------------------------
  15. # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
  16. # Common settings...
  17. # 127.0.0.1 - If you are playing alone on a test server
  18. # 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
  19. # 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.
  20. # If this IP is resolvable by the Login Server, just leave *.
  21. # ---------------------------------------------------------------------------
  22. # Default: *
  23. ExternalHostname = *
  24. # ---------------------------------------------------------------------------
  25. # This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
  26. # This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
  27. # If this IP is resolvable by the Login Server, just leave *.
  28. # ---------------------------------------------------------------------------
  29. # Default: *
  30. InternalHostname = *
  31. # Default: 127.0.0.1
  32. LoginHost = 127.0.0.1
  33. # Default: 9014
  34. LoginPort = 9014
  35. # Default: *
  36. GameserverHostname = *
  37. # Default: 7777
  38. GameserverPort = 7777
  39. # ---------------------------------------------------------------------------
  40. # Database
  41. # ---------------------------------------------------------------------------
  42. # Uncomment the appropriate driver and url for the database you're using. If you don't know what this is... www.google.com
  43. Driver = com.mysql.jdbc.Driver
  44. #Driver = org.hsqldb.jdbcDriver
  45. #Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
  46. URL = jdbc:mysql://localhost/l2jdb
  47. #URL = jdbc:hsqldb:hsql://localhost/l2jdb
  48. #URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
  49. #Database user info (using root user is not recommended)
  50. Login = root
  51. Password =
  52. # Default: 100
  53. MaximumDbConnections = 100
  54. # ---------------------------------------------------------------------------
  55. # Misc Server Settings
  56. # ---------------------------------------------------------------------------
  57. # This is the server ID that the Game Server will request.
  58. # Example: 1 = Bartz
  59. # Default: 1
  60. RequestServerID = 1
  61. # True = The Login Server will give an other ID to the server if the requested ID is already reserved.
  62. # Default: True
  63. AcceptAlternateID = True
  64. # Datapack root directory.
  65. # Defaults to current directory from which the server is started unless the below line is uncommented.
  66. #DatapackRoot = C:/Work/tmp/DataPack
  67. # Define how many players are allowed to play simultaneously on your server.
  68. # Default: 100
  69. MaximumOnlineUsers = 100
  70. # Minimum and maximum protocol revision that server allow to connect.
  71. # Warning: You must make sure that the minimum revision is always less than or equal to the maximum revision.
  72. # Default: 12
  73. MinProtocolRevision = 12
  74. # Default: 17
  75. MaxProtocolRevision = 17
  76. # ---------------------------------------------------------------------------
  77. # Misc Player Settings
  78. # ---------------------------------------------------------------------------
  79. # Character name template.
  80. # Example: CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
  81. # The above setting will allow names with first capital letter, next three small letters, and any (capital or not) letter or number, like OmfgWTF1
  82. # Most rational to have CnameTemplate = [A-Z][a-z]*
  83. # The above setting will allow names only of letters with first one capital, like Omfgwtf
  84. # Default .* (as many of any symbols)
  85. CnameTemplate = .*
  86. PetNameTemplate = .*
  87. # Maximum number of characters per account.
  88. # Default: 7 (client limit)
  89. CharMaxNumber = 7