Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##########################################################################################
- ######################################~~~DEFAULT.CONFIG~~~################################
- ##########################################################################################
- # ===================================
- # NETWORK
- # ===================================
- # GameServer ID
- gameserver.network.login.gsid = 1
- # GameServer bind IP address (* for all available IP)
- gameserver.network.client.host = *
- # GameServer bind TCP port
- gameserver.network.client.port = 9012
- # RDC (Remote Data Call) bind IP address
- gameserver.network.rdc.client.host = *
- # RDC bind TCP port
- gameserver.network.rdc.client.port = 732
- # GeoServer address
- gameserver.network.geoserver.address = localhost:5550
- # GeoServer password
- gameserver.network.geoserver.password = **anypassherefornow**
- # Online players limit
- gameserver.network.client.maxplayers = 100
- # Required access level to enter gameserver
- # If set to bigger than 0 only GM's are able to connect
- # and normal players can't see server on serverlist
- # Default = 0
- gameserver.network.client.requiredlevel = 0
- # LoginServer location
- gameserver.network.login.address = localhost:7777
- # LoginServer password for this GameServer
- gameserver.network.login.password = **GAMESERVERPASSHERE**
- # ChatServer location
- gameserver.network.chat.address = localhost:9021
- # ChatServer password for this ChatServer
- gameserver.network.chat.password = **CHATSERVERPASSHERE**(just make same as above password)
- # Enable debug information from network layer
- gameserver.network.nio.debug = false
- # Additional threads that are used to read network data
- gameserver.network.nio.threads.read = 1
- # Number of retries to do when reading a packet
- gameserver.network.nio.threads.read.retries = 8
- # Additional threads that are used to write network data
- gameserver.network.nio.threads.write = 1
- # Number of retries to do when writing a packet
- gameserver.network.nio.threads.write.retries = 8
- # Enable additional threads (workers) to handle data processing
- gameserver.network.nio.threads.workers.enable = false
- # Number of workers
- gameserver.network.nio.threads.workers = 1
- # Number of buffers by worker
- gameserver.network.nio.threads.workers.buffers = 16
- # Display/hide unknown packets received by server
- gameserver.network.display.unknownpackets = false
- ##########################################################################################
- ######################################~~~IPCONFIG.XML~~~##################################
- ##########################################################################################
- -->
- <ipconfig default="YOUR EXTERNAL IP HERE">
- <!--
- IANA-reserved private IPv4 network ranges
- Access only from local networks, external client can't have any of
- the following ip addresses
- <iprange min="10.0.0.0" max="10.255.255.255" address="10.0.0.0"/>
- <iprange min="172.16.0.0" max="172.31.255.255" address="172.16.0.0"/>
- <iprange min="192.168.0.0" max="192.168.255.255" address="192.168.0.0"/>
- -->
- <iprange min="192.168.0.0" max="192.168.255.255" address="**YOUR INTERNAL IP HERE**"/>
- </ipconfig>
- ##########################################################################################
- ######################################~~~DATABASE.PROPERTIES~~~###########################
- ##########################################################################################
- # This class represents database driver class that will be used while connecting to database
- database.driver=com.mysql.jdbc.Driver
- # This is database url.
- database.url=jdbc:mysql://localhost:3306/au_server_ls
- # Database user
- database.user=**MYSQL DATABASE USER**
- # Database password
- database.password=**MYSQL DATABASE USER PASSWORD**
- # Minimum amount of database connections that will allways in the pool
- database.connections.min=5
- # Maximum amount of DB connections that server can use
- database.connections.max=100
- # Script context that will be loaded by database factory, it should implement DAO instances
- database.scriptcontext.descriptor=./data/scripts/system/database.xml
- ##########################################################################################
- ######################################~~~NETWORK.PROPERTIES~~~############################
- ##########################################################################################
- # LoginServer will listen for connections on specified port
- loginserver.network.client.port=53 **<-- THIS IS THE PORT PLAYERS PUT IN THEIR .BATS**
- # LoginServer will bind specified network interface
- # * - bind all interfaces
- loginserver.network.client.host=*
- # How many times player can try to login before he get's banned for brute forcing
- loginserver.network.client.logintrybeforeban=5
- # For what time in minutes player should be banned in case of brute forcing
- loginserver.network.client.bantimeforbruteforcing=15
- # Host that will be used by LS to listen for GS connections
- loginserver.network.gameserver.host=*
- # Port that will be used by LS to listen for GS connections
- # Server listening on all available IPs on Port XXXX for Gs Connections
- loginserver.network.gameserver.port=7777
- # Number of additional threads for NIO that will handle only reading
- loginserver.network.nio.threads.read=0
- # Number of additional threads for NIO that will handle only writing
- loginserver.network.nio.threads.write=0
- # Create accounts automatically or not?
- loginserver.accounts.autocreate=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement