Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 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. # 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.  
  21. # Enter here (ip) address of your game server, or use the symbol *
  22. GameserverHostname = 158.69.109.66
  23. GameserverPort = 7777
  24.  
  25. # Configure your external ip
  26. ExternalHostname = 158.69.109.66
  27.  
  28. # Configure your internal ip
  29. InternalHostname = 158.69.109.66
  30.  
  31. # Bunch ID and game server. It is better not to change.
  32. LoginPort = 9014
  33. LoginHost = 158.69.109.66
  34.  
  35. # Database Pool Type
  36. # Possible Values: c3p0 or BoneCP
  37. # c3p0: more stable
  38. # BoneCP: more performance
  39. DatabasePoolType = c3p0
  40.  
  41. # Parameters Databases - MYSQL
  42. Driver = com.mysql.jdbc.Driver
  43. URL = jdbc:mysql://localhost/
  44.  
  45. # Database name
  46. GameserverDB = pvpbrl2j
  47. LoginserverDB = pvpbrl2j
  48.  
  49. # Login - Mysql's user
  50. Login = root
  51. # Password - Mysql's Password
  52. Password = @#winpbpnt*10
  53. # Attention: lazy init connections disabled!
  54. # Please, set only real values for your database
  55. # Default: 100
  56. MaximumDbConnections = 10
  57.  
  58. # Default: 0
  59. MaximumDbIdleTime = 0
  60.  
  61. # The timeout before a new connection to the database (in ms)
  62. # 0 - to remove restrictions
  63. TimeOutConDb = 0
  64.  
  65. # The timeout before the single connection must be closed (in ms)
  66. # if a connection life is more then this timeout, a Runtime Exception
  67. # is rised up. Post the exception on forum (www.l2jnews.com) to solve
  68. # it.
  69. SingleConnectionTimeOutDb = 200000
  70.  
  71. # Sets number of partitions to use.- BoneCP
  72. # In order to reduce lock contention and thus improve performance,
  73. # each incoming connection request picks off a connection from a pool that has thread-affinity,
  74. # i.e. pool[threadId % partition_count]. The higher this number, the better your performance will be for the case
  75. # when you have plenty of short-lived threads. Beyond a certain threshold, maintenance of these pools will start
  76. # to have a negative effect on performance (and only for the case when connections on a partition start running out).
  77. PartitionCount = 3
  78.  
  79. # Setting emulation off the kernel (package SendStatus)
  80. RemoteWhoLog = True
  81. RemoteWhoSendTrash = True
  82. RemoteWhoMaxOnline = 329
  83. RemoteOnlineIncrement = 50
  84. RemoteWhoForceInc = 50
  85. RemotePrivStoreFactor = 12
  86.  
  87. # Flood fix
  88. EnableFloodProtection = false
  89. # Limit fast connections (input username / password)
  90. FastConnectionLimit = 15
  91. # Time of the normal connection (in ms)
  92. NormalConnectionTime = 700
  93. # Time fast connection (in ms)
  94. FastConnectionTime = 350
  95. # Maximum connections with the 1st IP
  96. MaxConnectionPerIP = 100
  97.  
  98. # Datapack folder
  99. # To exacute the server under debugger with eclipse use:
  100. # DatapackRoot = ../L2JNews_DataPack
  101. # or point the folder directly to your server.
  102. DatapackRoot = .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement