# ================================================================
# Login Server Config
# ================================================================
# Host and port for gameserver
LoginHost = 127.0.0.1
LoginPort = 9014
# Host and port for client connections
LoginserverHostname = *
LoginserverPort = 2106
# Accept free slot for gameserver
AcceptNewGameServer = True
# Database settings
Driver = com.mysql.jdbc.Driver
URL = jdbc:mysql://localhost/lineage2?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true
Login = root
Password =
MaximumDbConnections = 50
# After how many seconds after the last activity will be closing connecting to the database, the default is 600 (10 minutes).
MaxIdleConnectionTimeout = 600
# Check interval inactive connections, the default of 60 (1 minute).
IdleConnectionTestPeriod = 60
# Automatical create accounts.
AutoCreateAccounts = True
# Template for logins and passwords.
AccountTemplate = [A-Za-z0-9]{4,14}
PasswordTemplate = [A-Za-z0-9]{4,16}
# Encryption method for passwords.
# The actual encryption, it is recommended to use md5.
PasswordHash = md5
# Secondary check with an alternative encryption.
# Use it if you already have accounts created with another encryption,
# like sha1 or sha-256 (can also be set to md5).
LegacyPasswordHash = sha-256
# Caching keys
BlowFishKeys = 20
RSAKeyPairs = 10
# Autoban IP
# The number of unsuccessful inputs, to ban the IP
LoginTryBeforeBan = 10
# Minimum time between autorization with the same IP address (in seconds)
LoginTryTimeout = 5
# Time of ban IP, if exceeded the number of unsuccessful inputs (in seconds)
IpBanTime = 300
# Logging successful entries in the database
LoginLog = False
# Ping game server
# Time between pinging, in seconds, 0 - disable
GameServerPingDelay = 0
# The maximum number of unsuccessful attempts to ping, above which the connection to the game server is interrupted
GameServerPingRetry = 4