· 8 years ago · Apr 10, 2018, 08:20 PM
1################################################
2# SkyFire World Server configuration file #
3################################################
4[worldserver]
5
6# Note to devs, line breaks should be at column 80
7###############################################################################
8# CONNECTIONS AND DIRECTORIES
9#
10# RealmID
11# RealmID must match the realmlist inside the realmd database
12#
13# DataDir
14# Data directory setting.
15# Important: DataDir needs to be quoted, as it is a string which may
16# contain space characters.
17# Example: "@prefix@/share/skyfire_emu"
18#
19# LogsDir
20# Logs directory setting.
21# Important: Logs dir must exists, or all logs need to be disabled
22# Default: "" - no log directory prefix, if used log names isn't
23# absolute path then logs will be stored in current directory.
24#
25# LoginDatabaseInfo
26# WorldDatabaseInfo
27# CharacterDatabaseInfo
28# Database connection settings for the world server.
29# Default:
30# hostname;port;username;password;database
31# .;somenumber;username;password;database
32# - use named pipes in Windows
33# Named pipes: mySQL required adding
34# "enable-named-pipe" to [mysqld] section my.ini
35# .;/path/to/unix_socket;username;password;database
36# - use Unix sockets in Unix/Linux
37#
38# LoginDatabase.WorkerThreads
39# WorldDatabase.WorkerThreads
40# CharacterDatabase.WorkerThreads
41# The amount of worker threads spawned to handle
42# asynchronous (delayed) MySQL statements.
43# Each worker thread is mirrored with its own
44# connection to the MySQL server and their own
45# thread on the MySQL server.
46# Default: 1
47#
48# LoginDatabase.SynchThreads
49# WorldDatabase.SynchThreads
50# CharacterDatabase.SynchThreads
51# Description: The amount of MySQL connections spawned to handle.
52# Default: 1 - (LoginDatabase.WorkerThreads)
53# 1 - (WorldDatabase.WorkerThreads)
54#
55# MaxPingTime
56# Settings for maximum database-ping interval (seconds between pings)
57# Default: 30 - (minutes)
58#
59# WorldServerPort
60# Default WorldServerPort
61#
62# BindIP
63# Bind World Server to IP/hostname
64#
65###############################################################################
66
67RealmID = 1
68DataDir = "."
69LogsDir = ""
70LoginDatabaseInfo = "uw-server.servegame.com;3306;root;iraque;auth"
71WorldDatabaseInfo = "uw-server.servegame.com;3306;root;iraque;world"
72CharacterDatabaseInfo = "uw-server.servegame.com;3306;root;iraque;characters"
73LoginDatabase.WorkerThreads = 1
74WorldDatabase.WorkerThreads = 1
75CharacterDatabase.WorkerThreads = 1
76LoginDatabase.SynchThreads = 1
77WorldDatabase.SynchThreads = 1
78CharacterDatabase.SynchThreads = 2
79MaxPingTime = 30
80WorldServerPort = 8085
81BindIP = "0.0.0.0"
82
83###############################################################################
84# SCRIPTING SETTINGS
85#
86# Locale
87# Setting for current (DBC) locale to use
88#
89# EventAI Error reporting
90# Default: 0 - Only startup
91# 1 - Startup errors and Runtime event errors
92# 2 - Startup errors, Runtime event errors, and Creation errors
93#
94###############################################################################
95
96Locale = 0
97EAIErrorLevel = 2
98
99###############################################################################
100# PERFORMANCE SETINGS
101#
102# UseProcessors
103# Processors mask for multi-processor system (Used only in Windows)
104# Default: 0 (selected by OS)
105# number (bitmask value of selected processors)
106#
107# ProcessPriority
108# Process priority setting (Used only at Windows)
109# Default: 1 (HIGH)
110# 0 (Normal)
111#
112# Compression
113# Compression level for update packages sent to client (1..9)
114# Default: 1 (speed)
115# 9 (best compression)
116#
117# PlayerLimit
118# Maximum number of players in the world. Excluding Mods, GMs and Admins
119# Default: 100
120# 0 (for infinite players)
121# If you want to block players and enable Mods, GMs or Admins use
122# DB field realmd.realmlist.allowedSecurityLevel
123#
124# SaveRespawnTimeImmediately
125# Save respawn time for creatures at death and gameobjects at use/open
126# Default: 1 (save creature/gameobject respawn time immediately)
127# 0 (save creature/gameobject respawn time at grid unload)
128#
129# MaxOverspeedPings
130# Maximum overspeed ping count before player kick
131# (minimum is 2, 0 used for disable check)
132# Default: 2
133#
134# GridUnload
135# Unload grids
136# (if you have lot memory you can disable it to speed up
137# player move to new grids second time)
138# Default: 1 (unload grids)
139# 0 (do not unload grids)
140#
141# SocketTimeOutTime
142# Time in milliseconds afer which a connection sitting idle on the character
143# selection screen is disconnected.
144# Default: 900000 (15 minutes)
145#
146# SessionAddDelay
147# Time in microseconds that a network thread will sleep after authentication
148# protocol and adding a connection to the world session map.
149# Default: 10000 (10 milliseconds, 0,01 second)
150#
151# GridCleanUpDelay
152# Grid clean up delay (in milliseconds)
153# Default: 300000 (5 min)
154#
155# MapUpdateInterval
156# Map update interval (in milliseconds)
157# Default: 100
158#
159# ChangeWeatherInterval
160# Weather update interval (in milliseconds)
161# Default: 600000 (10 min)
162#
163# PlayerSaveInterval
164# Player save interval (in milliseconds)
165# Default: 600000 (10 min)
166#
167# PlayerSave.Stats.MinLevel
168# Minimum level for saving character stats for external usage in database
169# Default: 0 (do not save character stats)
170# 1+ (save stats for characters with level 1+)
171#
172# PlayerSave.Stats.SaveOnlyOnLogout
173# Enable/Disable saving of character stats only on logout
174# Default: 1 (only save on logout)
175# 0 (save on every player save)
176#
177# vmap.enableLOS
178# vmap.enableHeight
179# Enable/Disable VMmap support for line of sight and height calculation
180# 0 (disable)
181# Default: 1 (enable)
182#
183# vmap.ignoreMapIds
184# Map id that will be ignored by VMaps
185# List of ids with delimiter ','
186# If more then one id is defined and spaces are included, the string
187# has to be enclosed by "
188# Example: "369,0,1,530"
189#
190# vmap.ignoreSpellIds
191# These spells are ignored for LoS calculation
192# List of ids with delimiter ','
193#
194# vmap.petLOS
195# Check LOS for pets, to avoid them going through walls etc.
196# 0 (disable, somewhat less CPU usage)
197# Default: 1 (enable, each pet attack command will check for LOS)
198#
199# vmap.enableIndoorCheck
200# Enable/Disable VMap based indoor check to remove outdoor-only auras (mounts etc.)
201# 0 (disabled, somewhat less CPU usage)
202# Default: 1 (enabled)
203#
204# DetectPosCollision
205# Check final move position, summon position, etc for visible collision
206# with other objects or wall (wall only if vmaps are enabled)
207# Default: 1 (enable, required more CPU usage)
208# 0 (disable, less position precision but will use less CPU)
209#
210# TargetPosRecalculateRange
211# Max distance from movement target point (+moving unit size) and
212# targeted object (+size) after that new target movement point
213# calculated. Max: melee attack range (5), min: contact range (0.5)
214# More distance let have better performence, less distance let have
215# more sensitive reaction at target move.
216# Default: 1.5
217#
218# UpdateUptimeInterval
219# Update realm uptime period in minutes. Must be > 0
220# Default: 10 (minutes)
221#
222# LogDB.Opt.ClearInterval
223# Time for the WUPDATE_CLEANDB timer that clears the `logs` table
224# of old entries. Must be > 0.
225# Default: 10 (minutes)
226#
227# LogDB.Opt.ClearTime
228# The maximum time in seconds of old `logs` table entries to keep.
229# Default: 1209600 (14 days)
230# 0 - don't clear
231#
232# MaxCoreStuckTime
233# Periodically check if the process is frozen, if this is the case
234# force crash after the specified amount of seconds. Must be > 0.
235# Recommended > 10 secs if you use this.
236# Default: 0 (Disabled)
237#
238# AddonChannel
239# Permit/disable the use of the addon channel through the server
240# (some client side addons will not work correctly with disabled
241# addon channel)
242# Default: 1 (permit addon channel)
243# 0 (do not permit addon channel)
244#
245# MapUpdate.Threads
246# Number of threads to update maps.
247# Default: 1
248#
249# CleanCharacterDB
250# Perform character db clean ups on start up
251# Default: 0 (Disabled)
252# 1 (Enable)
253#
254###############################################################################
255
256UseProcessors = 0
257ProcessPriority = 1
258Compression = 1
259PlayerLimit = 0
260SaveRespawnTimeImmediately = 1
261MaxOverspeedPings = 2
262GridUnload = 1
263SocketTimeOutTime = 900000
264SessionAddDelay = 10000
265GridCleanUpDelay = 300000
266MapUpdateInterval = 100
267ChangeWeatherInterval = 600000
268PlayerSaveInterval = 600000
269PlayerSave.Stats.MinLevel = 0
270PlayerSave.Stats.SaveOnlyOnLogout = 1
271vmap.enableLOS = 0
272vmap.enableHeight = 0
273vmap.ignoreMapIds = ""
274vmap.ignoreSpellIds = "7720"
275vmap.petLOS = 0
276vmap.enableIndoorCheck = 1
277DetectPosCollision = 1
278TargetPosRecalculateRange = 1.5
279UpdateUptimeInterval = 10
280LogDB.Opt.ClearInterval = 10
281LogDB.Opt.ClearTime = 1209600
282MaxCoreStuckTime = 0
283AddonChannel = 1
284MapUpdate.Threads = 1
285CleanCharacterDB = 0
286
287###############################################################################
288# SERVER LOGGING
289#
290# LogSQL
291# Enable logging of SQL commands from in game
292# All commands are written to a file: YYYY-MM-DD_logSQL.sql
293# If a new day starts (00:00:00) then a new file is created
294# the old file will not be deleted.
295# Default: 1 - Write SQL code to logfile
296# 0 - Do not log
297#
298# PidFile
299# World daemon PID file
300# Default: "" - do not create PID file
301# "./worldd.pid" - create PID file (recommended name)
302#
303# LogLevel
304# Server console level of logging
305# 0 = Minimum
306# Default: 1 = Basic
307# 2 = Detail
308# 3 = Full/Debug
309#
310# LogFile
311# Logfile name
312# Default: "Server.log"
313# "" - Empty name disable creating log file
314#
315# ChatLogFile
316# Log file for chat logs
317# Default: "chat.log"
318# "" - Empty name for disable
319#
320# LogTimestamp
321# Logfile with timestamp of server start in name
322# in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
323# Default: 0 - no timestamp in name
324# 1 - add timestamp in name
325#
326# LogFileLevel
327# Server file level of logging
328# Default: 0 = Minimum
329# 1 = Basic
330# 2 = Detail
331# 3 = Full/Debug
332#
333# LogFilter_AchievementUpdates
334# LogFilter_CreatureMoves
335# LogFilter_TransportMoves
336# LogFilter_VisibilityChanges
337# Log filters
338# Default: 1 - not include with any log level
339# 0 - include in log if log level permit
340#
341# WorldLogFile
342# Packet logging file for the worldserver
343# Default: "world.log"
344#
345# DBErrorLogFile
346# Log file of DB errors detected at server run
347# Default: "DBErrors.log"
348#
349# CharLogFile
350# Character operations logfile name
351# Default: "Char.log"
352# "" - Empty name disable creating log file
353#
354# CharLogTimestamp
355# Logfile with timestamp of server start in name
356# in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
357# Default: 0 - no timestamp in name
358# 1 - add timestamp in name
359#
360# CharLogDump
361# Write character dump before deleting in Char.log
362# For restoration, cut character data from log starting from
363# line == START DUMP == to line == END DUMP == (exclusive) in file
364# and load it using the loadpdump command
365# Default: 0 - don't include dumping chars to log
366# 1 - include dumping chars to log
367#
368# CharLogDump.Separate
369# Write character dump to separate file
370# Default: 0 - don't write dump to separate file
371# 1 - write each dump to separate file
372#
373# CharLogDump.SeparateDir
374# Subdirectory within logs dir for separate char dumps.
375#
376# GmLogFile
377# Log file of gm commands
378# Default: "gm_commands.log"
379# "" - Empty name for disable
380#
381# GmLogTimestamp
382# GM Logfile with timestamp of server start in name
383# in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
384# Default: 0 - no timestamp in name
385# 1 - add timestamp in name
386#
387# GmLogPerAccount
388# GM Logfiles with GM account id
389# (Note: logs not created if GmLogFile not set)
390# Default: 0 - add gm log data to single log file
391# 1 - add gm log data to account specific log files with name
392# in form Logname_#ID_YYYY-MM-DD_HH-MM-SS.Ext
393# or form Logname_#ID.Ext
394#
395# RaLogFile
396# Log file of RA commands
397# Default: "Ra.log"
398# "" - Empty name for disable
399#
400# ArenaLogFile
401# Log file of arena fights and arena team creations
402# Default: "" - do not create arena log file
403#
404# ArenaLog.ExtendedInfo
405# Include extended info for each player after rated arena (guid, name, team, IP, healing/damage done, killing blows)
406# Default: 0 - disabled
407# 1 - enabled
408#
409# SQLDriverLogFile
410# Log file of SQL driver events.
411# For effective query logging you need to build in debug configuration.
412# Default: "" - Empty name for disable
413#
414# LogColors
415# Color for messages (format "normal basic detail debug")
416# Default: "" - no colors
417# Colors: 0 - BLACK
418# 1 - RED
419# 2 - GREEN
420# 3 - BROWN
421# 4 - BLUE
422# 5 - MAGENTA
423# 6 - CYAN
424# 7 - GREY
425# 8 - YELLOW
426# 9 - LRED
427# 10 - LGREEN
428# 11 - LBLUE
429# 12 - LMAGENTA
430# 13 - LCYAN
431# 14 - WHITE
432# Example: "13 11 9 5"
433#
434# EnableLogDB
435# Enable/disable logging to database (LogDatabaseInfo).
436# Default: 0 - disabled
437# 1 - enabled
438#
439# DBLogLevel
440# Log level of DB logging.
441# 0 = Minimum
442# 1 = Basic
443# 2 = Detail
444# Default: 3 = Full/Debug
445#
446# LogDB.Char
447# Enable/disable logging character outputs to DB.
448# Default: 0 - off
449# 1 - on
450#
451# LogDB.GM
452# Enable/disable logging GM commands to DB.
453# Default: 0 - off
454# 1 - on
455#
456# LogDB.RA
457# Enable/disable logging remote access events to DB.
458# Default: 0 - off
459# 1 - on
460#
461# LogDB.World
462# Enable/disable logging world packets to DB.
463# Default: 0 - off
464# 1 - on (very heavy)
465#
466# LogDB.Chat
467# Enable/disable logging chat messages to the database.
468# Default: 0 - off
469# 1 - on
470#
471# ChatLogs.Channel
472# Enable logging chatting in custom channels.
473# Default: 0 - off
474# 1 - on
475#
476# ChatLogs.Whisper
477# Enable logging whispers between players.
478# Default: 0 - off
479# 1 - on
480#
481# ChatLogs.Party
482# Enable logging party messages.
483# Default: 0 - off
484# 1 - on
485#
486# ChatLogs.Raid
487# Enable logging raid messages.
488# Default: 0 - off
489# 1 - on
490#
491# ChatLogs.Guild
492# Enable logging guild messages.
493# Default: 0 - off
494# 1 - on
495#
496# ChatLogs.Public
497# Enable logging public chat events (say/yell/emote).
498# Default: 0 - off
499# 1 - on
500#
501# ChatLogs.Addon
502# Enable logging addon messages.
503# Default: 0 - off
504# 1 - on
505#
506# ChatLogs.BattleGround
507# Enable logging battleground chats.
508# Default: 0 - off
509# 1 - on
510#
511# ChatLogTimestamp
512# Chat Logfile with timestamp of server start in name
513# in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
514# Default: 0 - no timestamp in name
515# 1 - add timestamp in name
516#
517###############################################################################
518
519LogSQL = 1
520PidFile = ""
521LogLevel = 1
522LogFile = "Server.log"
523ChatLogFile = "chat.log"
524LogTimestamp = 0
525LogFileLevel = 0
526LogFilter_AchievementUpdates = 1
527LogFilter_CreatureMoves = 1
528LogFilter_TransportMoves = 1
529LogFilter_VisibilityChanges = 1
530WorldLogFile = ""
531DBErrorLogFile = "db_errors.log"
532CharLogFile = "characters.log"
533CharLogTimestamp = 0
534CharLogDump = 0
535CharLogDump.Separate = 0
536CharLogDump.SeparateDir = ""
537GmLogFile = "gm_commands.log"
538GmLogTimestamp = 0
539GmLogPerAccount = 0
540RaLogFile = "ra_commands.log"
541ArenaLogFile = ""
542ArenaLog.ExtendedInfo = 0
543SQLDriverLogFile = ""
544SQLDriverQueryLogging = 0
545LogColors = ""
546EnableLogDB = 0
547DBLogLevel = 2
548LogDB.Char = 0
549LogDB.GM = 0
550LogDB.RA = 0
551LogDB.World = 0
552LogDB.Chat = 0
553ChatLogs.Channel = 0
554ChatLogs.SysChan = 0
555ChatLogs.Whisper = 0
556ChatLogs.Party = 0
557ChatLogs.Raid = 0
558ChatLogs.Guild = 0
559ChatLogs.Public = 0
560ChatLogs.Addon = 0
561ChatLogs.BattleGround = 0
562ChatLogTimestamp = 0
563
564###############################################################################
565# SERVER SETTINGS
566#
567# GameType
568# Server realm style
569# Default: 0 = NORMAL
570# 1 = PVP
571# 4 = NORMAL
572# 6 = RP
573# 8 = RPPVP
574# 16 FFA_PVP (free for all pvp mode like arena PvP in all
575# zones except rest activated places and sanctuaries)
576#
577# RealmZone
578# Server realm zone (set allowed alphabet in character names/etc)
579# See also Strict*Names options.
580# Default: 1 Development - any language
581# 2 United States - extended-Latin
582# 3 Oceanic - extended-Latin
583# 4 Latin America - extended-Latin
584# 5 Tournament - basic-Latin at create, any at login
585# 6 Korea - East-Asian
586# 7 Tournament - basic-Latin at create, any at login
587# 8 English - extended-Latin
588# 9 German - extended-Latin
589# 10 French - extended-Latin
590# 11 Spanish - extended-Latin
591# 12 Russian - Cyrillic
592# 13 Tournament - basic-Latin at create, any at login
593# 14 Taiwan - East-Asian
594# 15 Tournament - basic-Latin at create, any at login
595# 16 China - East-Asian
596# 17 CN1 - basic-Latin at create, any at login
597# 18 CN2 - basic-Latin at create, any at login
598# 19 CN3 - basic-Latin at create, any at login
599# 20 CN4 - basic-Latin at create, any at login
600# 21 CN5 - basic-Latin at create, any at login
601# 22 CN6 - basic-Latin at create, any at login
602# 23 CN7 - basic-Latin at create, any at login
603# 24 CN8 - basic-Latin at create, any at login
604# 25 Tournament - basic-Latin at create, any at login
605# 26 Test Server - any language
606# 27 Tournament - basic-Latin at create, any at login
607# 28 QA Server - any language
608# 29 CN9 - basic-Latin at create, any at login
609#
610# Expansion
611# Allow server use content from expansion
612# Default: 2 - check expansion 2 maps existence, and if client support
613# expansion 2 and account have expansion 2 setting then
614# allow visit expansion 2 maps, allow create new class
615# character)
616# 1 - check expansion 1 maps existence, and if client support
617# expansion 1 and account have expansion 1 setting then
618# allow visit expansion 1 maps, allow create new races
619# character)
620# 0 - don't check expansion maps existence, don't allow visit
621# maps, don't allow create new race or new class
622# characters, ignore account expansion setting)
623#
624# DBC.Locale
625# DBC Language Settings
626# Default: 255 = Auto Detect
627# 0 = English
628# 1 = Korean
629# 2 = French
630# 3 = German
631# 4 = Chinese
632# 5 = Taiwanese
633# 6 = Spanish
634# 7 = Spanish Mexico
635# 8 = Russian
636#
637# DeclinedNames
638# Allow russian clients to set and use declined names
639# Default: 0 - do not use declined names, except when
640# the Russian RealmZone is set
641# 1 - use declined names
642#
643# StrictPlayerNames
644# Limit player name to language specific symbol set, don't allow
645# character creation, and set rename request and disconnect at not
646# allowed symbols name
647# Default: 0 disable (limited server timezone dependent client check)
648# 1 basic latin characters (strict)
649# 2 realm zone specific (strict). See RealmZone setting.
650# Note: In any case if you want correctly see character
651# name at client this client must have appropriate fonts
652# (included in client by default, with active official
653# localization or custom localization fonts in
654# clientdir/Fonts).
655# 3 basic latin characters + server timezone specific
656#
657# StrictCharterNames
658# Limit guild/arena team charter names to language specific symbol set,
659# don't allow charter creation with unallowed symbols in name
660# Default: 0 disable
661# 1 basic latin characters (strict)
662# 2 realm zone specific (strict). See RealmZone setting.
663# Note: In any case if you want correctly see character
664# name at client this client must have appropriate fonts
665# (included in client by default, with active official
666# localization or custom localization fonts in
667# clientdir/Fonts).
668# 3 basic latin characters + server timezone specific
669#
670# StrictPetNames
671# Limit pet names to language specific symbols set
672# Default: 0 disable
673# 1 basic latin characters (strict)
674# 2 realm zone specific (strict). See RealmZone setting.
675# Note: In any case if you want correctly see character
676# name at client this client must have appropriate fonts
677#