Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. ##########################################################################################
  2. ######################################~~~DEFAULT.CONFIG~~~################################
  3. ##########################################################################################
  4.  
  5. # ===================================
  6. # NETWORK
  7. # ===================================
  8.  
  9. # GameServer ID
  10. gameserver.network.login.gsid = 1
  11.  
  12. # GameServer bind IP address (* for all available IP)
  13. gameserver.network.client.host = *
  14.  
  15. # GameServer bind TCP port
  16. gameserver.network.client.port = 9012
  17.  
  18. # RDC (Remote Data Call) bind IP address
  19. gameserver.network.rdc.client.host = *
  20.  
  21. # RDC bind TCP port
  22. gameserver.network.rdc.client.port = 732
  23.  
  24. # GeoServer address
  25. gameserver.network.geoserver.address = localhost:5550
  26.  
  27. # GeoServer password
  28. gameserver.network.geoserver.password = **anypassherefornow**
  29.  
  30. # Online players limit
  31. gameserver.network.client.maxplayers = 100
  32.  
  33. # Required access level to enter gameserver
  34. # If set to bigger than 0 only GM's are able to connect
  35. # and normal players can't see server on serverlist
  36. # Default = 0
  37. gameserver.network.client.requiredlevel = 0
  38.  
  39. # LoginServer location
  40. gameserver.network.login.address = localhost:7777
  41.  
  42. # LoginServer password for this GameServer
  43. gameserver.network.login.password = **GAMESERVERPASSHERE**
  44.  
  45. # ChatServer location
  46. gameserver.network.chat.address = localhost:9021
  47.  
  48. # ChatServer password for this ChatServer
  49. gameserver.network.chat.password = **CHATSERVERPASSHERE**(just make same as above password)
  50.  
  51. # Enable debug information from network layer
  52. gameserver.network.nio.debug = false
  53.  
  54. # Additional threads that are used to read network data
  55. gameserver.network.nio.threads.read = 1
  56.  
  57. # Number of retries to do when reading a packet
  58. gameserver.network.nio.threads.read.retries = 8
  59.  
  60. # Additional threads that are used to write network data
  61. gameserver.network.nio.threads.write = 1
  62.  
  63. # Number of retries to do when writing a packet
  64. gameserver.network.nio.threads.write.retries = 8
  65.  
  66. # Enable additional threads (workers) to handle data processing
  67. gameserver.network.nio.threads.workers.enable = false
  68.  
  69. # Number of workers
  70. gameserver.network.nio.threads.workers = 1
  71.  
  72. # Number of buffers by worker
  73. gameserver.network.nio.threads.workers.buffers = 16
  74.  
  75. # Display/hide unknown packets received by server
  76. gameserver.network.display.unknownpackets = false
  77.  
  78.  
  79. ##########################################################################################
  80. ######################################~~~IPCONFIG.XML~~~##################################
  81. ##########################################################################################
  82.  
  83. -->
  84.  
  85. <ipconfig default="YOUR EXTERNAL IP HERE">
  86.  
  87. <!--
  88. IANA-reserved private IPv4 network ranges
  89. Access only from local networks, external client can't have any of
  90. the following ip addresses
  91.  
  92. <iprange min="10.0.0.0" max="10.255.255.255" address="10.0.0.0"/>
  93. <iprange min="172.16.0.0" max="172.31.255.255" address="172.16.0.0"/>
  94. <iprange min="192.168.0.0" max="192.168.255.255" address="192.168.0.0"/>
  95. -->
  96. <iprange min="192.168.0.0" max="192.168.255.255" address="**YOUR INTERNAL IP HERE**"/>
  97. </ipconfig>
  98.  
  99. ##########################################################################################
  100. ######################################~~~DATABASE.PROPERTIES~~~###########################
  101. ##########################################################################################
  102.  
  103. # This class represents database driver class that will be used while connecting to database
  104. database.driver=com.mysql.jdbc.Driver
  105.  
  106. # This is database url.
  107. database.url=jdbc:mysql://localhost:3306/au_server_ls
  108.  
  109. # Database user
  110. database.user=**MYSQL DATABASE USER**
  111.  
  112. # Database password
  113. database.password=**MYSQL DATABASE USER PASSWORD**
  114.  
  115. # Minimum amount of database connections that will allways in the pool
  116. database.connections.min=5
  117.  
  118. # Maximum amount of DB connections that server can use
  119. database.connections.max=100
  120.  
  121. # Script context that will be loaded by database factory, it should implement DAO instances
  122. database.scriptcontext.descriptor=./data/scripts/system/database.xml
  123.  
  124.  
  125. ##########################################################################################
  126. ######################################~~~NETWORK.PROPERTIES~~~############################
  127. ##########################################################################################
  128.  
  129. # LoginServer will listen for connections on specified port
  130. loginserver.network.client.port=53 **<-- THIS IS THE PORT PLAYERS PUT IN THEIR .BATS**
  131.  
  132. # LoginServer will bind specified network interface
  133. # * - bind all interfaces
  134. loginserver.network.client.host=*
  135.  
  136. # How many times player can try to login before he get's banned for brute forcing
  137. loginserver.network.client.logintrybeforeban=5
  138.  
  139. # For what time in minutes player should be banned in case of brute forcing
  140. loginserver.network.client.bantimeforbruteforcing=15
  141.  
  142. # Host that will be used by LS to listen for GS connections
  143. loginserver.network.gameserver.host=*
  144.  
  145. # Port that will be used by LS to listen for GS connections
  146. # Server listening on all available IPs on Port XXXX for Gs Connections
  147. loginserver.network.gameserver.port=7777
  148.  
  149. # Number of additional threads for NIO that will handle only reading
  150. loginserver.network.nio.threads.read=0
  151.  
  152. # Number of additional threads for NIO that will handle only writing
  153. loginserver.network.nio.threads.write=0
  154.  
  155. # Create accounts automatically or not?
  156. loginserver.accounts.autocreate=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement