80 lines
3.4 KiB
INI
80 lines
3.4 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 !!!
|
|
# ================================================================
|
|
|
|
# Bind ip of the gameserver, use * to bind on all available IPs
|
|
GameserverHostname=*
|
|
GameserverPort=7777
|
|
|
|
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
|
|
# If this ip is resolvable by Login just leave *
|
|
ExternalHostname=*
|
|
|
|
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
|
|
# If this ip is resolvable by Login just leave *
|
|
InternalHostname=*
|
|
|
|
# The Loginserver host and port
|
|
LoginPort=9014
|
|
LoginHost=127.0.0.1
|
|
|
|
# This is the server id that the gameserver will request (i.e. 0 is Bartz)
|
|
RequestServerID = 0
|
|
# If set to true, the login will give an other id to the server if the requested id is allready reserved
|
|
AcceptAlternateID = 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=500
|
|
|
|
# The time before a database connection closes (in milliseconds)
|
|
# If a query takes longer to execute than the time defined here, the server will throw "Unclosed Connection!" error.
|
|
# If you get often this error message, try increasing this.
|
|
# Default: 60000ms
|
|
ConnectionCloseTime = 60000
|
|
|
|
# Datapack root directory.
|
|
# Defaults to current directory from which the server is started unless the below line is uncommented.
|
|
# WARNING: <u><b><font color="red">If the specified path is invalid, it will lead to multiple errors!</font></b></u>
|
|
#Default: .
|
|
DatapackRoot = .
|
|
|
|
# Define character name template
|
|
# Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*
|
|
# will allow names with first capital letter, next three small letters,
|
|
# and any (capital or not) letter or number, like ZbigN1eW
|
|
# Most rational to have CnameTemplate=[A-Z][a-z]*
|
|
# meaning names only of letters with first one capital, like Zbigniew
|
|
# Default .* - any namy of any symbols
|
|
CnameTemplate=.*
|
|
PetNameTemplate=.*
|
|
|
|
# Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])
|
|
CharMaxNumber = 7
|
|
|
|
# Define how many players are allowed to play simultaneously on your server.
|
|
MaximumOnlineUsers=2000
|
|
|
|
|
|
# Minimum and maximum protocol revision that server allow to connect.
|
|
# You must keep MinProtocolRevision <= MaxProtocolRevision.
|
|
MinProtocolRevision = 656
|
|
MaxProtocolRevision = 665 |