Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################################################
- # SkyFire World Server configuration file #
- ################################################
- [worldserver]
- # Note to devs, line breaks should be at column 80
- ###############################################################################
- # CONNECTIONS AND DIRECTORIES
- #
- # RealmID
- # RealmID must match the realmlist inside the realmd database
- #
- # DataDir
- # Data directory setting.
- # Important: DataDir needs to be quoted, as it is a string which may
- # contain space characters.
- # Example: "@prefix@/share/skyfire_emu"
- #
- # LogsDir
- # Logs directory setting.
- # Important: Logs dir must exists, or all logs need to be disabled
- # Default: "" - no log directory prefix, if used log names isn't
- # absolute path then logs will be stored in current directory.
- #
- # LoginDatabaseInfo
- # WorldDatabaseInfo
- # CharacterDatabaseInfo
- # Database connection settings for the world server.
- # Default:
- # hostname;port;username;password;database
- # .;somenumber;username;password;database
- # - use named pipes in Windows
- # Named pipes: mySQL required adding
- # "enable-named-pipe" to [mysqld] section my.ini
- # .;/path/to/unix_socket;username;password;database
- # - use Unix sockets in Unix/Linux
- #
- # LoginDatabase.WorkerThreads
- # WorldDatabase.WorkerThreads
- # CharacterDatabase.WorkerThreads
- # The amount of worker threads spawned to handle
- # asynchronous (delayed) MySQL statements.
- # Each worker thread is mirrored with its own
- # connection to the MySQL server and their own
- # thread on the MySQL server.
- # Default: 1
- #
- # LoginDatabase.SynchThreads
- # WorldDatabase.SynchThreads
- # CharacterDatabase.SynchThreads
- # Description: The amount of MySQL connections spawned to handle.
- # Default: 1 - (LoginDatabase.WorkerThreads)
- # 1 - (WorldDatabase.WorkerThreads)
- #
- # MaxPingTime
- # Settings for maximum database-ping interval (seconds between pings)
- # Default: 30 - (minutes)
- #
- # WorldServerPort
- # Default WorldServerPort
- #
- # BindIP
- # Bind World Server to IP/hostname
- #
- ###############################################################################
- RealmID = 1
- DataDir = "Data"
- LogsDir = ""
- LoginDatabaseInfo = "127.0.0.1;3306;root;root;auth"
- WorldDatabaseInfo = "127.0.0.1;3306;root;root;world"
- CharacterDatabaseInfo = "127.0.0.1;3306;root;root;characters"
- LoginDatabase.WorkerThreads = 1
- WorldDatabase.WorkerThreads = 1
- CharacterDatabase.WorkerThreads = 1
- LoginDatabase.SynchThreads = 1
- WorldDatabase.SynchThreads = 1
- CharacterDatabase.SynchThreads = 2
- MaxPingTime = 30
- WorldServerPort = 8085
- BindIP = "0.0.0.0"
- ###############################################################################
- # SCRIPTING SETTINGS
- #
- # Locale
- # Setting for current (DBC) locale to use
- #
- # EventAI Error reporting
- # Default: 0 - Only startup
- # 1 - Startup errors and Runtime event errors
- # 2 - Startup errors, Runtime event errors, and Creation errors
- #
- ###############################################################################
- Locale = 0
- EAIErrorLevel = 2
- ###############################################################################
- # PERFORMANCE SETINGS
- #
- # UseProcessors
- # Processors mask for multi-processor system (Used only in Windows)
- # Default: 0 (selected by OS)
- # number (bitmask value of selected processors)
- #
- # ProcessPriority
- # Process priority setting (Used only at Windows)
- # Default: 1 (HIGH)
- # 0 (Normal)
- #
- # Compression
- # Compression level for update packages sent to client (1..9)
- # Default: 1 (speed)
- # 9 (best compression)
- #
- # PlayerLimit
- # Maximum number of players in the world. Excluding Mods, GMs and Admins
- # Default: 100
- # 0 (for infinite players)
- # If you want to block players and enable Mods, GMs or Admins use
- # DB field realmd.realmlist.allowedSecurityLevel
- #
- # SaveRespawnTimeImmediately
- # Save respawn time for creatures at death and gameobjects at use/open
- # Default: 1 (save creature/gameobject respawn time immediately)
- # 0 (save creature/gameobject respawn time at grid unload)
- #
- # MaxOverspeedPings
- # Maximum overspeed ping count before player kick
- # (minimum is 2, 0 used for disable check)
- # Default: 2
- #
- # GridUnload
- # Unload grids
- # (if you have lot memory you can disable it to speed up
- # player move to new grids second time)
- # Default: 1 (unload grids)
- # 0 (do not unload grids)
- #
- # SocketSelectTime
- # Socket select time (in milliseconds)
- # Default: 10000 (10 secs)
- #
- # SocketTimeOutTime
- # Time in milliseconds afer which a connection sitting idle on the character
- # selection screen is disconnected.
- # Default: 900000 (15 minutes)
- #
- # SessionAddDelay
- # Time in microseconds that a network thread will sleep after authentication
- # protocol and adding a connection to the world session map.
- # Default: 10000 (10 milliseconds, 0,01 second)
- #
- # GridCleanUpDelay
- # Grid clean up delay (in milliseconds)
- # Default: 300000 (5 min)
- #
- # MapUpdateInterval
- # Map update interval (in milliseconds)
- # Default: 100
- #
- # ChangeWeatherInterval
- # Weather update interval (in milliseconds)
- # Default: 600000 (10 min)
- #
- # PlayerSaveInterval
- # Player save interval (in milliseconds)
- # Default: 600000 (10 min)
- #
- # PlayerSave.Stats.MinLevel
- # Minimum level for saving character stats for external usage in database
- # Default: 0 (do not save character stats)
- # 1+ (save stats for characters with level 1+)
- #
- # PlayerSave.Stats.SaveOnlyOnLogout
- # Enable/Disable saving of character stats only on logout
- # Default: 1 (only save on logout)
- # 0 (save on every player save)
- #
- # vmap.enableLOS
- # vmap.enableHeight
- # Enable/Disable VMmap support for line of sight and height calculation
- # 0 (disable)
- # Default: 1 (enable)
- #
- # vmap.ignoreMapIds
- # Map id that will be ignored by VMaps
- # List of ids with delimiter ','
- # If more then one id is defined and spaces are included, the string
- # has to be enclosed by "
- # Example: "369,0,1,530"
- #
- # vmap.ignoreSpellIds
- # These spells are ignored for LoS calculation
- # List of ids with delimiter ','
- #
- # vmap.petLOS
- # Check LOS for pets, to avoid them going through walls etc.
- # 0 (disable, somewhat less CPU usage)
- # Default: 1 (enable, each pet attack command will check for LOS)
- #
- # vmap.enableIndoorCheck
- # Enable/Disable VMap based indoor check to remove outdoor-only auras (mounts etc.)
- # 0 (disabled, somewhat less CPU usage)
- # Default: 1 (enabled)
- #
- # DetectPosCollision
- # Check final move position, summon position, etc for visible collision
- # with other objects or wall (wall only if vmaps are enabled)
- # Default: 1 (enable, required more CPU usage)
- # 0 (disable, less position precision but will use less CPU)
- #
- # TargetPosRecalculateRange
- # Max distance from movement target point (+moving unit size) and
- # targeted object (+size) after that new target movement point
- # calculated. Max: melee attack range (5), min: contact range (0.5)
- # More distance let have better performence, less distance let have
- # more sensitive reaction at target move.
- # Default: 1.5
- #
- # UpdateUptimeInterval
- # Update realm uptime period in minutes. Must be > 0
- # Default: 10 (minutes)
- #
- # LogDB.Opt.ClearInterval
- # Time for the WUPDATE_CLEANDB timer that clears the `logs` table
- # of old entries. Must be > 0.
- # Default: 10 (minutes)
- #
- # LogDB.Opt.ClearTime
- # The maximum time in seconds of old `logs` table entries to keep.
- # Default: 1209600 (14 days)
- # 0 - don't clear
- #
- # MaxCoreStuckTime
- # Periodically check if the process is frozen, if this is the case
- # force crash after the specified amount of seconds. Must be > 0.
- # Recommended > 10 secs if you use this.
- # Default: 0 (Disabled)
- #
- # AddonChannel
- # Permit/disable the use of the addon channel through the server
- # (some client side addons will not work correctly with disabled
- # addon channel)
- # Default: 1 (permit addon channel)
- # 0 (do not permit addon channel)
- #
- # MapUpdate.Threads
- # Number of threads to update maps.
- # Default: 1
- #
- # CleanCharacterDB
- # Perform character db clean ups on start up
- # Default: 0 (Disabled)
- # 1 (Enable)
- #
- ###############################################################################
- UseProcessors = 0
- ProcessPriority = 1
- Compression = 1
- PlayerLimit = 100
- SaveRespawnTimeImmediately = 1
- MaxOverspeedPings = 2
- GridUnload = 1
- SocketSelectTime = 10000
- SocketTimeOutTime = 900000
- SessionAddDelay = 10000
- GridCleanUpDelay = 300000
- MapUpdateInterval = 100
- ChangeWeatherInterval = 600000
- PlayerSaveInterval = 600000
- PlayerSave.Stats.MinLevel = 0
- PlayerSave.Stats.SaveOnlyOnLogout = 1
- vmap.enableLOS = 1
- vmap.enableHeight = 1
- vmap.ignoreMapIds = ""
- vmap.ignoreSpellIds = "7720"
- vmap.petLOS = 1
- vmap.enableIndoorCheck = 1
- DetectPosCollision = 1
- TargetPosRecalculateRange = 1.5
- UpdateUptimeInterval = 10
- LogDB.Opt.ClearInterval = 10
- LogDB.Opt.ClearTime = 1209600
- MaxCoreStuckTime = 0
- AddonChannel = 1
- MapUpdate.Threads = 1
- CleanCharacterDB = 0
- ###############################################################################
- # SERVER LOGGING
- #
- # LogSQL
- # Enable logging of SQL commands from in game
- # All commands are written to a file: YYYY-MM-DD_logSQL.sql
- # If a new day starts (00:00:00) then a new file is created
- # the old file will not be deleted.
- # Default: 1 - Write SQL code to logfile
- # 0 - Do not log
- #
- # PidFile
- # World daemon PID file
- # Default: "" - do not create PID file
- # "./worldd.pid" - create PID file (recommended name)
- #
- # LogLevel
- # Server console level of logging
- # 0 = Minimum
- # Default: 1 = Basic
- # 2 = Detail
- # 3 = Full/Debug
- #
- # LogFile
- # Logfile name
- # Default: "Server.log"
- # "" - Empty name disable creating log file
- #
- # ChatLogFile
- # Log file for chat logs
- # Default: "chat.log"
- # "" - Empty name for disable
- #
- # LogTimestamp
- # Logfile with timestamp of server start in name
- # in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
- # Default: 0 - no timestamp in name
- # 1 - add timestamp in name
- #
- # LogFileLevel
- # Server file level of logging
- # Default: 0 = Minimum
- # 1 = Basic
- # 2 = Detail
- # 3 = Full/Debug
- #
- # LogFilter_AchievementUpdates
- # LogFilter_CreatureMoves
- # LogFilter_TransportMoves
- # LogFilter_VisibilityChanges
- # Log filters
- # Default: 1 - not include with any log level
- # 0 - include in log if log level permit
- #
- # WorldLogFile
- # Packet logging file for the worldserver
- # Default: "world.log"
- #
- # DBErrorLogFile
- # Log file of DB errors detected at server run
- # Default: "DBErrors.log"
- #
- # CharLogFile
- # Character operations logfile name
- # Default: "Char.log"
- # "" - Empty name disable creating log file
- #
- # CharLogTimestamp
- # Logfile with timestamp of server start in name
- # in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
- # Default: 0 - no timestamp in name
- # 1 - add timestamp in name
- #
- # CharLogDump
- # Write character dump before deleting in Char.log
- # For restoration, cut character data from log starting from
- # line == START DUMP == to line == END DUMP == (exclusive) in file
- # and load it using the loadpdump command
- # Default: 0 - don't include dumping chars to log
- # 1 - include dumping chars to log
- #
- # CharLogDump.Separate
- # Write character dump to separate file
- # Default: 0 - don't write dump to separate file
- # 1 - write each dump to separate file
- #
- # CharLogDump.SeparateDir
- # Subdirectory within logs dir for separate char dumps.
- #
- # GmLogFile
- # Log file of gm commands
- # Default: "gm_commands.log"
- # "" - Empty name for disable
- #
- # GmLogTimestamp
- # GM Logfile with timestamp of server start in name
- # in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
- # Default: 0 - no timestamp in name
- # 1 - add timestamp in name
- #
- # GmLogPerAccount
- # GM Logfiles with GM account id
- # (Note: logs not created if GmLogFile not set)
- # Default: 0 - add gm log data to single log file
- # 1 - add gm log data to account specific log files with name
- # in form Logname_#ID_YYYY-MM-DD_HH-MM-SS.Ext
- # or form Logname_#ID.Ext
- #
- # RaLogFile
- # Log file of RA commands
- # Default: "Ra.log"
- # "" - Empty name for disable
- #
- # ArenaLogFile
- # Log file of arena fights and arena team creations
- # Default: "" - do not create arena log file
- #
- # ArenaLog.ExtendedInfo
- # Include extended info for each player after rated arena (guid, name, team, IP, healing/damage done, killing blows)
- # Default: 0 - disabled
- # 1 - enabled
- #
- # SQLDriverLogFile
- # Log file of SQL driver events.
- # For effective query logging you need to build in debug configuration.
- # Default: "" - Empty name for disable
- #
- # LogColors
- # Color for messages (format "normal basic detail debug")
- # Default: "" - no colors
- # Colors: 0 - BLACK
- # 1 - RED
- # 2 - GREEN
- # 3 - BROWN
- # 4 - BLUE
- # 5 - MAGENTA
- # 6 - CYAN
- # 7 - GREY
- # 8 - YELLOW
- # 9 - LRED
- # 10 - LGREEN
- # 11 - LBLUE
- # 12 - LMAGENTA
- # 13 - LCYAN
- # 14 - WHITE
- # Example: "13 11 9 5"
- #
- # EnableLogDB
- # Enable/disable logging to database (LogDatabaseInfo).
- # Default: 0 - disabled
- # 1 - enabled
- #
- # DBLogLevel
- # Log level of DB logging.
- # 0 = Minimum
- # 1 = Basic
- # 2 = Detail
- # Default: 3 = Full/Debug
- #
- # LogDB.Char
- # Enable/disable logging character outputs to DB.
- # Default: 0 - off
- # 1 - on
- #
- # LogDB.GM
- # Enable/disable logging GM commands to DB.
- # Default: 0 - off
- # 1 - on
- #
- # LogDB.RA
- # Enable/disable logging remote access events to DB.
- # Default: 0 - off
- # 1 - on
- #
- # LogDB.World
- # Enable/disable logging world packets to DB.
- # Default: 0 - off
- # 1 - on (very heavy)
- #
- # LogDB.Chat
- # Enable/disable logging chat messages to the database.
- # Default: 0 - off
- # 1 - on
- #
- # ChatLogs.Channel
- # Enable logging chatting in custom channels.
- # Default: 0 - off
- # 1 - on
- #
- # ChatLogs.Whisper
- # Enable logging whispers between players.
- # Default: 0 - off
- # 1 - on
- #
- # ChatLogs.Party
- # Enable logging party messages.
- # Default: 0 - off
- # 1 - on
- #
- # ChatLogs.Raid
- # Enable logging raid messages.
- # Default: 0 - off
- # 1 - on
- #
- # ChatLogs.Guild
- # Enable logging guild messages.
- # Default: 0 - off
- # 1 - on
- #
- # ChatLogs.Public
- # Enable logging public chat events (say/yell/emote).
- # Default: 0 - off
- # 1 - on
- #
- # ChatLogs.Addon
- # Enable logging addon messages.
- # Default: 0 - off
- # 1 - on
- #
- # ChatLogs.BattleGround
- # Enable logging battleground chats.
- # Default: 0 - off
- # 1 - on
- #
- # ChatLogTimestamp
- # Chat Logfile with timestamp of server start in name
- # in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
- # Default: 0 - no timestamp in name
- # 1 - add timestamp in name
- #
- ###############################################################################
- LogSQL = 1
- PidFile = ""
- LogLevel = 1
- LogFile = "Server.log"
- ChatLogFile = "chat.log"
- LogTimestamp = 0
- LogFileLevel = 0
- LogFilter_AchievementUpdates = 1
- LogFilter_CreatureMoves = 1
- LogFilter_TransportMoves = 1
- LogFilter_VisibilityChanges = 1
- WorldLogFile = ""
- DBErrorLogFile = "db_errors.log"
- CharLogFile = "characters.log"
- CharLogTimestamp = 0
- CharLogDump = 0
- CharLogDump.Separate = 0
- CharLogDump.SeparateDir = ""
- GmLogFile = "gm_commands.log"
- GmLogTimestamp = 0
- GmLogPerAccount = 0
- RaLogFile = "ra_commands.log"
- ArenaLogFile = ""
- ArenaLog.ExtendedInfo = 0
- SQLDriverLogFile = ""
- SQLDriverQueryLogging = 0
- LogColors = ""
- EnableLogDB = 0
- DBLogLevel = 2
- LogDB.Char = 0
- LogDB.GM = 0
- LogDB.RA = 0
- LogDB.World = 0
- LogDB.Chat = 0
- ChatLogs.Channel = 0
- ChatLogs.SysChan = 0
- ChatLogs.Whisper = 0
- ChatLogs.Party = 0
- ChatLogs.Raid = 0
- ChatLogs.Guild = 0
- ChatLogs.Public = 0
- ChatLogs.Addon = 0
- ChatLogs.BattleGround = 0
- ChatLogTimestamp = 0
- ###############################################################################
- # SERVER SETTINGS
- #
- # GameType
- # Server realm style
- # Default: 0 = NORMAL
- # 1 = PVP
- # 4 = NORMAL
- # 6 = RP
- # 8 = RPPVP
- # 16 FFA_PVP (free for all pvp mode like arena PvP in all
- # zones except rest activated places and sanctuaries)
- #
- # RealmZone
- # Server realm zone (set allowed alphabet in character names/etc)
- # See also Strict*Names options.
- # Default: 1 Development - any language
- # 2 United States - extended-Latin
- # 3 Oceanic - extended-Latin
- # 4 Latin America - extended-Latin
- # 5 Tournament - basic-Latin at create, any at login
- # 6 Korea - East-Asian
- # 7 Tournament - basic-Latin at create, any at login
- # 8 English - extended-Latin
- # 9 German - extended-Latin
- # 10 French - extended-Latin
- # 11 Spanish - extended-Latin
- # 12 Russian - Cyrillic
- # 13 Tournament - basic-Latin at create, any at login
- # 14 Taiwan - East-Asian
- # 15 Tournament - basic-Latin at create, any at login
- # 16 China - East-Asian
- # 17 CN1 - basic-Latin at create, any at login
- # 18 CN2 - basic-Latin at create, any at login
- # 19 CN3 - basic-Latin at create, any at login
- # 20 CN4 - basic-Latin at create, any at login
- # 21 CN5 - basic-Latin at create, any at login
- # 22 CN6 - basic-Latin at create, any at login
- # 23 CN7 - basic-Latin at create, any at login
- # 24 CN8 - basic-Latin at create, any at login
- # 25 Tournament - basic-Latin at create, any at login
- # 26 Test Server - any language
- # 27 Tournament - basic-Latin at create, any at login
- # 28 QA Server - any language
- # 29 CN9 - basic-Latin at create, any at login
- #
- # Expansion
- # Allow server use content from expansion
- # Default: 2 - check expansion 2 maps existence, and if client support
- # expansion 2 and account have expansion 2 setting then
- # allow visit expansion 2 maps, allow create new class
- # character)
- # 1 - check expansion 1 maps existence, and if client support
- # expansion 1 and account have expansion 1 setting then
- # allow visit expansion 1 maps, allow create new races
- # character)
- # 0 - don't check expansion maps existence, don't allow visit
- # maps, don't allow create new race or new class
- # characters, ignore account expansion setting)
- #
- # DBC.Locale
- # DBC Language Settings
- # Default: 255 = Auto Detect
- # 0 = English
- # 1 = Korean
- # 2 = French
- # 3 = German
- # 4 = Chinese
- # 5 = Taiwanese
- # 6 = Spanish
- # 7 = Spanish Mexico
- # 8 = Russian
- #
- # DeclinedNames
- # Allow russian clients to set and use declined names
- # Default: 0 - do not use declined names, except when
- # the Russian RealmZone is set
- # 1 - use declined names
- #
- # StrictPlayerNames
- # Limit player name to language specific symbol set, don't allow
- # character creation, and set rename request and disconnect at not
- # allowed symbols name
- # Default: 0 disable (limited server timezone dependent client check)
- # 1 basic latin characters (strict)
- # 2 realm zone specific (strict). See RealmZone setting.
- # Note: In any case if you want correctly see character
- # name at client this client must have appropriate fonts
- # (included in client by default, with active official
- # localization or custom localization fonts in
- # clientdir/Fonts).
- # 3 basic latin characters + server timezone specific
- #
- # StrictCharterNames
- # Limit guild/arena team charter names to language specific symbol set,
- # don't allow charter creation with unallowed symbols in name
- # Default: 0 disable
- # 1 basic latin characters (strict)
- # 2 realm zone specific (strict). See RealmZone setting.
- # Note: In any case if you want correctly see character
- # name at client this client must have appropriate fonts
- # (included in client by default, with active official
- # localization or custom localization fonts in
- # clientdir/Fonts).
- # 3 basic latin characters + server timezone specific
- #
- # StrictPetNames
- # Limit pet names to language specific symbols set
- # Default: 0 disable
- # 1 basic latin characters (strict)
- # 2 realm zone specific (strict). See RealmZone setting.
- # Note: In any case if you want correctly see ch
Add Comment
Please, Sign In to add comment