#############################################################################
# d2closed.conf - Configuration file for the Diablo2 Closed Realm Server #
#---------------------------------------------------------------------------#
# #
# This file is an example configuration and may require modification to #
# suit your needs or your site. Blank lines and lines starting with a "#" #
# are ignored. Use quotes around values that contain spaces. #
# #
#############################################################################
#############################################################################
# Server Major Settings #
#---------------------------------------------------------------------------#
# This is a comma delimited list of hostnames that the server should
# listen on. It might be useful to make an internal-only server on a
# gateway machine for example. If the list is not set or if it has a
# entry with no host component, the server will bind to that port on all
# interfaces.
# d2cs default listening port is 6113
d2cs_servaddrs = 192.168.1.2:6113
# dbs default listening port is 6114
d2dbs_servaddrs = 192.168.1.2:6114
# This is bnetd server address with port
# bnetd default listening port is 6112
bnetdaddr = 192.168.1.2:6112
# This is a comma delimited list of game servers
gameservlist = 68.151.9.232
# Your realm server name
realmname = "1.09"
# This sets the realm to Classic or LOD or Both
# Classic = 0
# LOD = 1
# Both = 2 (default)
lod_realm = 2
# This sets whether you can convert a clasic char to an expansion char
# You should set this to 0 if you run a MOD or the game server might crash
# Allow Convert = 1
# Don't allow Convert = 0
allow_convert = 1
# here u can enter the symbols allowed in accountnames (additional to
# alphanumerical symbals which are always accepted). please note that
# it is absolutly mandatory that u set up the same symbols here as in
# bnetd.conf or else u wont be able to play D2 with some characters
# (those whose symbols are allowed in bnetd.conf but not here)
# same warnings as in bnetd.conf apply here - be warned - and just
# change something if you know what you are doing
#default setting is "-_[]"
account_allowed_symbols = "-_[]"
# #
#############################################################################
#############################################################################
# Message logs #
#---------------------------------------------------------------------------#
# Multiple log levels can be defined by connecting them with a comma (,)
# Available loglevels are:
# none
# trace
# debug
# info
# warn
# error
# fatal
#loglevels = fatal,error,warn
loglevels = fatal,error,warn,info,debug,trace
# #
#############################################################################
#############################################################################
# File and Path section #
# Use absolute paths in these lines to avoid problems! #
#---------------------------------------------------------------------------#
logfile = var/d2closed.log
logfile-gs = var/d2dbs-gs.log
charsavedir = var/charsave
charinfodir = var/charinfo
ladderdir = var/ladders
bak_charsavedir = var/bak/charsave
bak_charinfodir = var/bak/charinfo
newbiefile = var/files/newbie.save
d2gstransfile = conf/d2gstrans.conf
# #
#############################################################################
#############################################################################
# Misc #
#---------------------------------------------------------------------------#
# #
# Message Of The Day, support hexcode
motd = "Welcome to Diablo II Realm!"
# Set to non-zero to allow creation of new realm character
allow_newchar = 1
# Do you want d2cs to check client for multilogin for security reason?
check_multilogin = 0
# Maxinum number of character per account
maxchar = 8
# Maxinum number of games will be shown in join game list
# Zero = infinite
maxgamelist = 20
# Set to non-zero to allow show all games with difficulty < character difficulty
# Otherwise, only game with difficulty = character difficulty will be shown
gamelist_showall = 0
# Maxinum time in seconds that a user can idle
# Zero = infinite
user_idletime = 0
# Ladder save interval
laddersave_interval = 3600
# Time that allow characters create after it insert into ladder
# These code should be rewritted to support string formmated time
ladderinit_time = 0
# d2gs connection max idle time in seconds
d2gs_idletime = 300
# connection keep alive interval
keepalive_interval = 60
# #
#############################################################################
#############################################################################
# Internal System Settings #
# You may just ignore them and use the default value #
#---------------------------------------------------------------------------#
#
# How often will the server purge all list to clean unused data (in seconds)
listpurgeinterval = 300
# How often will the server check game queues (in seconds)
gqcheckinterval = 60
# How often will the server retry to connect to bnetd
# when connection lost (in seconds)
s2s_retryinterval = 10
# How long time the s2s connection will timeout
s2s_timeout = 10
# How often the server will check server queues for expired data
sq_checkinterval = 300
# How long time will a server queue data expire
sq_timeout = 300
# Game serer binary files checksum, use zero to skip this checking
d2gs_checksum = 0
# Game server version, use zero to skip this checking
d2gs_version = 0
# Game server password
d2gs_password = ""
# Maxinum number of second that a game will be shown on list( zero = infinite )
game_maxlifetime = 0
# A game will be automatically destroied after how long time idle
max_game_idletime = 0
# Allow Limitation created game with password, player number or level limit?
allow_gamelimit = 1
# Ladder refresh time
ladder_refresh_interval = 3600
# server to server connection max idle time in seconds
s2s_idletime = 300
# server to server connection keepalive interval
s2s_keepalive_interval = 60
# all connection timeout check interval
timeout_checkinterval = 60
# game server restart interval
d2gs_restart_delay = 300
# create extra ladder file in XML format that can be parsed more easy
# 0 = turn extra output off (default)
# 1 = turn on the XML output
XML_ladder_output = 0
# experience threshold, minimum experience needed to register on the ladder
ladderupdate_threshold = 0
# number of days before a char expires (default 0=unlimited)
char_expire_day = 0
# #
#################################################################################
# What chars will be added to ladder?
# 0 = ladder and non-ladder chars
# 1 = only ladder chars
ladder_chars_only = 1
# #
#################################################################################