Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  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.  
  17. # Where's the Login server this gameserver should connect to
  18. # Default: 127.0.0.1
  19. LoginHost = 127.0.0.1
  20.  
  21. # TCP port the login server listen to for gameserver connection requests
  22. # Default: 9014
  23. LoginPort = 9998
  24.  
  25. # Bind address for gameserver. You should not need to change it in most cases.
  26. # Default: * (0.0.0.0)
  27. GameserverHostname = *
  28.  
  29. # Default: 7777
  30. GameserverPort = 7781
  31.  
  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/l2jdb (default)
  43. # URL = jdbc:hsqldb:hsql://localhost/l2jdb
  44. # URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =
  45. URL = jdbc:mysql://localhost/xdr
  46. # Database user info (default is "root" but it's not recommended)
  47. Login = xdr
  48. # Database connection password
  49. Password = ha2fa/n8ek
  50.  
  51. # Default: 100
  52. MaximumDbConnections = 100
  53.  
  54. # Default: 0
  55. MaximumDbIdleTime = 0
  56.  
  57. # ---------------------------------------------------------------------------
  58. # Misc Server Settings
  59. # ---------------------------------------------------------------------------
  60. # This is the server ID that the Game Server will request.
  61. # Example: 1 = Bartz
  62. # Default: 1
  63. RequestServerID = 2
  64.  
  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.  
  69. # Datapack root directory.
  70. # Defaults to current directory from which the server is started unless the below line is uncommented.
  71. #DatapackRoot = C:/Work/tmp/DataPack
  72.  
  73. # Define how many players are allowed to play simultaneously on your server.
  74. # Default: 100
  75. MaximumOnlineUsers = 100
  76.  
  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: 216
  81. AllowedProtocolRevisions = 204;216
  82.  
  83.  
  84. # ---------------------------------------------------------------------------
  85. # Misc Player Settings
  86. # ---------------------------------------------------------------------------
  87.  
  88. # Character name template.
  89. # Examples:
  90. # CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
  91. # The above setting will allow names with first capital letter, next three small letters,
  92. # and any letter (case insensitive) or number, like OmfgWTF1
  93. # CnameTemplate = [A-Z][a-z]*
  94. # The above setting will allow names only of letters with first one capital, like Omfgwtf
  95. # Default .* (allows any symbol)
  96. CnameTemplate = .*
  97.  
  98. # This setting restricts names players can give to their pets.
  99. # See CnameTemplate for details
  100. PetNameTemplate = .*
  101.  
  102. # Maximum number of characters per account.
  103. # Default: 7 (client limit)
  104. CharMaxNumber = 7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement