81 lines
3.1 KiB
INI
81 lines
3.1 KiB
INI
# This is the server configuration file. Here you can set up the connection for your server.
|
|
# Usually you have to change the ExternalHostname option to
|
|
# - 127.0.0.1 (if you want to play alone / testing purpose)
|
|
# - LAN IP* (if you want to play from another computer in the network)
|
|
# - WAN IP** (if you want to play with friends over internet)
|
|
# - Questions? => http://l2jserver.com
|
|
#
|
|
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
|
|
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
|
|
# ===================================================================================================
|
|
|
|
# ================================================================
|
|
# General server setting !!! REQUIRED to configure to everyone !!!
|
|
# ================================================================
|
|
|
|
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
|
|
ExternalHostname=127.0.0.1
|
|
|
|
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
|
|
InternalHostname=127.0.0.1
|
|
|
|
# Bind ip of the loginserver, use * to bind on all available IPs
|
|
LoginserverHostname=*
|
|
LoginserverPort=2106
|
|
# How many times you can provide an invalid account/pass before the IP gets banned
|
|
LoginTryBeforeBan=10
|
|
# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds.
|
|
# Default 10min. (600)
|
|
LoginBlockAfterBan=600
|
|
GMMinLevel=100
|
|
|
|
# The address on which login will listen for GameServers, use * to bind on all available IPs
|
|
LoginHostname=*
|
|
|
|
# The port on which login will listen for GameServers
|
|
LoginPort=9014
|
|
|
|
# If set to true any GameServer can register on your login's free slots
|
|
AcceptNewGameServer = False
|
|
|
|
# If false, the licence (after the login) will not be shown
|
|
# It is highly recommended for Account Security to leave this option as default (True)
|
|
ShowLicence = True
|
|
|
|
# Database info
|
|
Driver=com.mysql.jdbc.Driver
|
|
#Driver=org.hsqldb.jdbcDriver
|
|
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
URL=jdbc:mysql://localhost/l2jmc4?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
|
|
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
|
|
Login=root
|
|
Password=
|
|
MaximumDbConnections=10
|
|
|
|
# Connection close time.
|
|
# Default: 60000
|
|
ConnectionCloseTime = 60000
|
|
|
|
# Useable values: "true" - "false", use this option to choose whether accounts will be created
|
|
# automatically or not.
|
|
AutoCreateAccounts=True
|
|
|
|
# Datapack root directory.
|
|
# Defaults to current directory from which the server is started.
|
|
DatapackRoot = .
|
|
|
|
# ==============================================================
|
|
# Test server setting, shoudnt be touched in online game server
|
|
# ==============================================================
|
|
|
|
Debug = False
|
|
Assert = False
|
|
Developer = False
|
|
|
|
#FloodProtection. time in ms
|
|
EnableFloodProtection=True
|
|
FastConnectionLimit=15
|
|
NormalConnectionTime=700
|
|
FastConnectionTime=350
|
|
MaxConnectionPerIP=50 |