##################################### # MaNGOS Configuration file # ##################################### ConfVersion=2008022901 ################################################################################################################### # 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/mangos" # # 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 for run program. # # # LoginDatabaseInfo # WorldDatabaseInfo # CharacterDatabaseInfo # Database connection settings for the world server. # Default: hostname;port;username;password;database # .;somenumber;username;password;database - use named pipes at Windows # Named pipes: mySQL required adding "enable-named-pipe" to [mysqld] section my.ini # .;/path/to/unix_socket;username;password;database - use Unix sockets at Unix/Linux # Unix sockets: experimental, not tested # # MaxPingTime # Settings for maximum database-ping interval (minutes between pings) # # WorldServerPort # Default WorldServerPort # # BindIP # Bind World Server to IP/hostname # ################################################################################################################### RealmID = 1 DataDir = "C:/Program Files (x86)/MANGOS/ServeurFun/data" LogsDir = "" LoginDatabaseInfo = "127.0.0.1;3306;*****;*****;realmd" WorldDatabaseInfo = "127.0.0.1;3306;*****;*****;mangos_fun" CharacterDatabaseInfo = "127.0.0.1;3306;*****;*****;characters_fun" MaxPingTime = 30 WorldServerPort = 8085 BindIP = "0.0.0.0" ################################################################################################################### # PERFORMANCE SETINGS # # UseProcessors # Used processors mask for multi-processors system (Used only at Windows) # Default: 0 (selected by OS) # number (bitmask value of selected processors) # # ProcessPriority # Process proirity 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) # # TcpNoDelay # TCP Nagle algorithm setting # Default: 0 (enable Nagle algorithm, less traffic, more latency) # 1 (TCP_NO_DELAY, disable Nagle algorithm, more traffic but less latency) # # PlayerLimit # Maximum number of players in the world. Excluding Mods, GM's and Admins # Default: 100 # 0 (for infinite players) # -1 (for Mods, GM's and Admins only) # -2 (for GM's and Admins only) # -3 (for Admins only) # # SaveRespawnTimeImmediately # Save respawn time for creatures at death and for gameobjects at use/open # Default: 1 (save creature/gameobject respawn time without waiting grid unload) # 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 # Default socket select time (in milliseconds) # # GridCleanUpDelay # Default grid clean up delay (in milliseconds) # # MapUpdateInterval # Default map update interval (in milliseconds) # # ChangeWeatherInterval # Default weather update interval (in milliseconds) # # PlayerSaveInterval # Default PlayerSaveInterval (in milliseconds) # # vmap.enableLOS # vmap.enableHeight # Enable/Disable VMmap support for line of sight and height calculation # Default: 1 (true) # 0 (false) # # 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 ',' # # 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 power usage) # 0 (disable, less nice position selection but will less CPU power usage) # # UpdateUptimeInterval # Update realm uptime period in minutes (for save data in 'uptime' table). Must be > 0 # Default: 10 (minutes) # # # # # # ################################################################################################################### UseProcessors = 0 ProcessPriority = 1 Compression = 1 TcpNoDelay = 0 PlayerLimit = 0 SaveRespawnTimeImmediately = 1 MaxOverspeedPings = 2 GridUnload = 1 SocketSelectTime = 10000 GridCleanUpDelay = 300000 MapUpdateInterval = 100 ChangeWeatherInterval = 600000 PlayerSaveInterval = 150000 vmap.enableLOS = 1 vmap.enableHeight = 1 vmap.ignoreMapIds = "369" vmap.ignoreSpellIds = "7720" DetectPosCollision = 1 UpdateUptimeInterval = 10 ################################################################################################################### # SERVER LOGGING # # LogSQL # Enable logging of GM commands - all SQL code will be written to a log file # 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; 1 = Basic&Error; 2 = Detail; 3 = Full/Debug # Default: 3 # # LogTime # Include time in server console output [hh:mm:ss] # Default: 0 (no time) # 1 (print time) # # LogFile # Logfile name # Default: "Server.log" # "" - Empty name disable creating log file # # LogTimestamp # Logfile with timestamp of server start in name # Default: 0 - no timestamp in name # 1 - add timestamp in name in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext # # LogFileLevel # Server file level of logging # 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug # Default: 0 # # LogFilter_TransportMoves # LogFilter_CreatureMoves # LogFilter_VisibilityChanges # Log filters # Default: 0 - include in log if log level permit # 1 - not include with any log level # # 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 # Default: 0 - no timestamp in name # 1 - add timestamp in name in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext # # 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 == (without its) in file and load it using loadpdump command # Default: 0 - don't include dumping chars to log # 1 - include dumping chars to log # # GmLogFile # Log file of gm commands # Default: "" (Disable) # # RaLogFile # Log file of RA commands # Default: "Ra.log" # "" - Empty name for disable # # LogColors # Color for messages (format "normal_color details_color debug_color error_color) # 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 # Default: "" - none colors # Example: "13 7 11 9" # ################################################################################################################### LogSQL = 0 PidFile = "" LogLevel = 3 LogTime = 0 LogFile = "Server.log" LogTimestamp = 0 LogFileLevel = 0 LogFilter_TransportMoves = 0 LogFilter_CreatureMoves = 0 LogFilter_VisibilityChanges = 0 WorldLogFile = "" DBErrorLogFile = "DBErrors.log" CharLogFile = "" CharLogTimestamp = 0 CharLogDump = 0 GmLogFile = "C:\Inetpub\wwwroot\gm_fun.txt" RaLogFile = "" LogColors = "" ################################################################################################################### # SERVER SETTINGS # # GameType # Server realm style # 0 = NORMAL;1 = PVP; 4 = NORMAL; 6 = RP; 8 = RPPVP # also custom type: 16 FFA_PVP (free for all pvp mode like arena PvP in all zones except rest # activated places and sanctuaries) # # Expansion # Allow server use expansion content # Default: 1 - check expansion maps existence, and if client support expansion and account have # expansion setting then allow visit expansion maps, allow create new races character) # 0 - not check expansion maps existence, not allow wisit its, not allow create new race # characters, ignore account expansion setting) # # DBC.Locale # DBC Language Settings # 0 = English; 1 = Korean; 2 = French; 3 = German; 4 = Chinese; 5 = Taiwanese; 6 = Spanish; 7 = Russian # 8 = Unknown; 9 = Unknown; 10 = Unknown; 11 = Unknown; 12 = Unknown; 13 = Unknown; 14 = Unknown; 15 = Unknown # 255 = Auto Detect (Default) # # MaxPlayerLevel # Max level that can reached by player for expirience (in range from 1 to 255). # Change not recommended # Default: 70 # # ActivateWeather # Activate weather system # Default: 1 (true) # 0 (false) # # Battleground.CastDeserter # Cast or not Deserter spell at player who leave battleground in progress # Default: 1 (true) # 0 (false) # # Instance.IgnoreLevel # Ignore level requirement to enter instance # Default: 0 (false) # 1 (true) # # Instance.IgnoreRaid # Ignore raid requirement to enter instance # Default: 0 (false) # 1 (true) # # Quests.LowLevelHideDiff # Quest level difference to hide for player low level quests: # if player_level > quest_level + LowLevelQuestsHideDiff then quest "!" mark not show for quest giver # Default: 4 # -1 (show all available quests marks) # # Quests.HighLevelHideDiff # Quest level difference to hide for player high level quests: # if player_level < quest_min_level - HighLevelQuestsHideDiff then quest "!" mark not show for quest giver # Default: 7 # -1 (show all available quests marks) # # MaxPrimaryTradeSkill # Max count that player can learn the primary trade skill. # Default: 2 # Max : 10 # # MinPetitionSigns # Min signatures count to creating guild (0..9). # Default: 9 # # MaxGroupXPDistance # Max distance to creature for group memeber to get XP at creature death. # Default: 74 # # MailDeliveryDelay # Mail delivery delay time for item sending # Default: 3600 sec (1 hour) # # SkillChance.Prospecting # For prospecting skillup not possible by default, but can be allowed as custom setting # Default: 0 - no skilups # 1 - skilups possible # # Honor.KillLimit # Subseqent kills of the same player decrease the amount of honor gained. # Maximum number of times a user may kill another player in one day and get honor for it. # Default: 10 # Disable: 0 or any value larger than 255 # # Event.Announce # Default: 0 (false) # 1 (true) # # BeepAtStart # Beep at mangosd start finished (mostly work only at Unix/Linux systems) # Default: 1 (true) # 0 (false) # # Motd # Message of the Day. Displayed at worldlogin for every user ('@' for a newline). # ################################################################################################################### GameType = 4 Expansion = 1 DBC.Locale = 255 MaxPlayerLevel = 250 ActivateWeather = 1 Battleground.CastDeserter = 0 Instance.IgnoreLevel = 0 Instance.IgnoreRaid = 0 Quests.LowLevelHideDiff = 4 Quests.HighLevelHideDiff = 7 MaxPrimaryTradeSkill = 2 MinPetitionSigns = 9 MaxGroupXPDistance = 74 MailDeliveryDelay = 3600 SkillChance.Prospecting = 0 Honor.KillLimit = 10 Event.Announce = 0 BeepAtStart = 1 Motd = "Bienvenue sur World of DGserv." ################################################################################################################### # PLAYER INTERACTION # # AllowTwoSide.Accounts # Allow or not accounts to create characters in the 2 teams in any game type. # Default: 0 (Not allowed) # 1 (Allowed) # # AllowTwoSide.Interaction.Chat # AllowTwoSide.Interaction.Channel # AllowTwoSide.Interaction.Group # AllowTwoSide.Interaction.Guild # AllowTwoSide.Interaction.Trade # AllowTwoSide.Interaction.Mail # Allow or not common :chat(say,yell);channel(chat)group(join)guild(join);trade for players from # different teams. # Default: 0 (Not allowed) # 1 (Allowed) # # AllowTwoSide.WhoList # Allow or not show player from both team in who list. # Default: 0 (Not allowed) # 1 (Allowed) # # AllowTwoSide.AddFriend # Allow or not adding friends from other team in friend list. # Default: 0 (Not allowed) # 1 (Allowed) # # TalentsInspecting # Allow other players see character talents in inspect dialog (Characters in Gamemaster mode can # inspect talents always) # Default: 1 (allow) # 0 (not allow) # ################################################################################################################### AllowTwoSide.Accounts = 1 AllowTwoSide.Interaction.Chat = 1 AllowTwoSide.Interaction.Channel = 1 AllowTwoSide.Interaction.Group = 1 AllowTwoSide.Interaction.Guild = 1 AllowTwoSide.Interaction.Trade = 1 AllowTwoSide.Interaction.Mail = 1 AllowTwoSide.WhoList = 1 AllowTwoSide.AddFriend = 1 TalentsInspecting = 1 ################################################################################################################### # CHAT SETTINGS # # ChatFakeMessagePreventing # Chat protection from creating fake messages using a lot spaces (other invisible symbols), # not applied to addon language messages, but can prevent working old addons # that use normal languages for sending data to another clients. # Default: 0 (disible fake messages preventing) # 1 (enabled fake messages preventing) # # ChatFlood.MessageCount # Chat anti-flood protection, haste message count to activate protection # Default: 10 # 0 (disible anti-flood protection) # # ChatFlood.MessageDelay # Chat anti-flood protection, minimum message delay to count message # Default: 1 (in secs) # # ChatFlood.MuteTime # Chat anti-flood protection, mute time at activation flood protection (not saved) # Default: 10 (in secs) # # Channel.RestrictedLfg # Restrict use LookupForGroup channel only registered in LFG tool players # Default: 1 (allow join to channel only if active in LFG) # 0 (allow join to channel in any time) # # Channel.SilentlyGMJoin # Silently join GM characters (security level > 1) to channels # Default: 0 (join announcement in normal way) # 1 (GM join without announcement) # ################################################################################################################### ChatFakeMessagePreventing = 0 ChatFlood.MessageCount = 10 ChatFlood.MessageDelay = 1 ChatFlood.MuteTime = 10 Channel.RestrictedLfg = 1 Channel.SilentlyGMJoin = 1 ################################################################################################################### # GAME MASTER SETTINGS # # GM.WhisperingTo # Is GM accepting whispers from player by default or not. # Default: 0 (false) # 1 (true) # # GM.InGMList # Is GM showed in GM list (if visible) in non-GM state (.gmoff) # Default: 0 (false) # 1 (true) # # GM.InWhoList # Is GM showed in who list (if visible). # Default: 0 (false) # 1 (true) # # GM.LoginState # GM mode at login # Default: 2 (last save state) # 0 (disable) # 1 (enable) # # GM.LogTrade # Include GM trade and trade slot enchanting operations in GM log if it enable # Default: 1 (include) # 0 (not include) # ################################################################################################################### GM.WhisperingTo = 0 GM.InGMList = 0 GM.InWhoList = 0 GM.LoginState = 2 GM.LogTrade = 1 ################################################################################################################### # VISIBILITY AND RADIUSES # # Visibility.GroupMode # Group visibility modes # Default: 0 (standard setting: only members from same group can 100% auto detect invisible player) # 1 (raid members 100% auto detect invisible player from same raid) # 2 (players from same team can 100% auto detect invisible player) # # Visibility.Distance.Creature # Visibility.Distance.Player # Visibility distance for different in game object # Max limited by active player zone: ~ 166 # Min limit dependent from objects # Default: 66 (cell size) # Min limit is max aggro radius (45) * Rate.Creature.Aggro # # Visibility.Distance.Object # Visible distance for gameobject, dynobject, bodies, corpses, bones # Min limit is iteraction distance (5) # # Visibility.Distance.InFlight # Visible distance for player in flight # Min limit is 0 (not show any objects) # # Visibility.Distance.Grey.Unit # Visibility grey distance for creatures/players (fast changing objects) # addition to appropriate object type Visibility.Distance.* use in case visibility removing to # object (except corpse around distences) If ‚ is distance and G is grey distance then object # make visible if distance to it <= D but make non visible if distance > D+G # Default: 1 (yard) # # Visibility.Distance.Grey.Object # Visibility grey distance for dynobjects/gameobjects/corpses/creature bodies # Default: 10 (yards) # # Rate.Creature.Aggro # Aggro radius percent or off. # Default: 1 - 100% # 1.5 - 150% # 0 - off (0%) # # CreatureFamilyAssistenceRadius # Creature family assistence radius # Default: 10 # 0 - off # ################################################################################################################### Visibility.GroupMode = 0 Visibility.Distance.Creature = 66 Visibility.Distance.Player = 66 Visibility.Distance.Object = 100 Visibility.Distance.InFlight = 120 Visibility.Distance.Grey.Unit = 1 Visibility.Distance.Grey.Object = 10 Rate.Creature.Aggro = 1 CreatureFamilyAssistenceRadius = 10 ################################################################################################################### # SERVER RATES # # Rate.Health # Rate.Mana # Rate.Rage.Income # Rate.Rage.Loss # Rate.Focus # Rate.Loyalty # Health and power regeneration and rage income from damage. # Default: 1 # # Rate.Drop.Items # Rate.Drop.Money # Drop rates # Default: 1 # # Rate.XP.Kill # Rate.XP.Quest # Rate.XP.Explore # XP rates # Default: 1 # # Rate.XP.PastLevel70 # XP needed per level past 70 (Rates below 1 not recommended) # Default: 1 # # Rate.Creature.Normal.Damage # Rate.Creature.Elite.Elite.Damage # Rate.Creature.Elite.RAREELITE.Damage # Rate.Creature.Elite.WORLDBOSS.Damage # Rate.Creature.Elite.RARE.Damage # Creature Damage Rates. # Examples: 2 - creatures will damage 2x, 1.7 - 1.7x. # # Rate.Creature.Normal.SpellDamage # Rate.Creature.Elite.Elite.SpellDamage # Rate.Creature.Elite.RAREELITE.SpellDamage # Rate.Creature.Elite.WORLDBOSS.SpellDamag # Rate.Creature.Elite.RARE.SpellDamage # Creature Spell Damage Rates. # Examples: 2 - creatures will damage with spells 2x, 1.7 - 1.7x. # # Rate.Creature.Normal.HP # Rate.Creature.Elite.Elite.HP # Rate.Creature.Elite.RAREELITE.HP # Rate.Creature.Elite.WORLDBOSS.HP # Rate.Creature.Elite.RARE.HP # Creature Health Ammount Modifier. # Examples: 2 - creatures have 2x health, 1.7 - 1.7x. # # Rate.Rest.InGame # Rate.Rest.Offline.InTavernOrCity # Rate.Rest.Offline.InWilderness # Resting points grow rates (1 - normal, 2 - double rate, 0.5 - half rate, etc) from standard values # # Rate.Damage.Fall # Damage after fall rate. (1 - standard, 2 - double damage, 0.5 - half damage, etc) # # Rate.Auction.Time # Rate.Auction.Deposit # Rate.Auction.Cut # Auction rates (auction time, deposit get at auction start, auction cut from price at auction end) # # Rate.Honor # Honor gain rate # # Rate.Mining.Amount # Rate.Mining.Next # Mining Rates (Mining.Amount changes minimum/maximum usetimes of a deposit, # Mining.Next changes chance to have next use of a deposit) # # Rate.Talent # Talent Point rates # Default: 1 # # Rate.Reputation.Gain # Reputation Gain rate # Default: 1 # # SkillChance.Orange # SkillChance.Yellow # SkillChance.Green # SkillChance.Grey # Skill chance values (0..100) # Default: 100-75-25-0 # # SkillChance.MiningSteps # SkillChance.SkinningSteps # For skinning and Mining chance decrease with skill level. # Default: 0 - no decrease # 75 - in 2 times each 75 skill points # ################################################################################################################### Rate.Health = 1 Rate.Mana = 1 Rate.Rage.Income = 1 Rate.Rage.Loss = 1 Rate.Focus = 1 Rate.Loyalty = 1 Rate.Drop.Items = 100 Rate.Drop.Money = 100 Rate.XP.Kill = 100 Rate.XP.Quest = 1 Rate.XP.Explore = 300 Rate.XP.PastLevel70 = 1 Rate.Creature.Normal.Damage = 1 Rate.Creature.Elite.Elite.Damage = 1 Rate.Creature.Elite.RAREELITE.Damage = 1 Rate.Creature.Elite.WORLDBOSS.Damage = 1 Rate.Creature.Elite.RARE.Damage = 1 Rate.Creature.Normal.SpellDamage = 1 Rate.Creature.Elite.Elite.SpellDamage = 1 Rate.Creature.Elite.RAREELITE.SpellDamage = 1 Rate.Creature.Elite.WORLDBOSS.SpellDamage = 1 Rate.Creature.Elite.RARE.SpellDamage = 1 Rate.Creature.Normal.HP = 1 Rate.Creature.Elite.Elite.HP = 1 Rate.Creature.Elite.RAREELITE.HP = 1 Rate.Creature.Elite.WORLDBOSS.HP = 1 Rate.Creature.Elite.RARE.HP = 1 Rate.Rest.InGame = 1 Rate.Rest.Offline.InTavernOrCity = 1 Rate.Rest.Offline.InWilderness = 1 Rate.Damage.Fall = 1 Rate.Auction.Time = 1 Rate.Auction.Deposit = 1 Rate.Auction.Cut = 1 Rate.Honor = 1 Rate.Mining.Amount = 1 Rate.Mining.Next = 1 Rate.Talent = 1 Rate.Reputation.Gain = 1 SkillChance.Orange = 100 SkillChance.Yellow = 75 SkillChance.Green = 25 SkillChance.Grey = 0 SkillChance.MiningSteps = 75 SkillChance.SkinningSteps = 75 ################################################################################################################### # CONSOLE AND REMOTE ACCESS # # Console.Enable # Enable console # Default: 1 - on # 0 - off # # Ra.Enable # Enable remote console # Default: 0 - off # 1 - on # # Ra.IP # Default remote console ip address, use 0.0.0.0 for every address # # Ra.Port # Default remote console port # # Ra.MinLevel # Minimum level that's required to login,3 by default # # Ra.Secure # Kick client on wrong pass # ################################################################################################################### Console.Enable = 1 Ra.Enable = 0 Ra.IP = 0.0.0.0 Ra.Port = 3443 Ra.MinLevel = 3 Ra.Secure = 1 # Rated arena matches config # MaxRatingDifference: the maximum rating difference between two groups in rated matches # Default: 0 (disable, rating difference is discarded) # RatingDiscardTimer: after the specified milliseconds has passed, rating information will be discarded when selecting teams for matches # also initiates an update by this timer # Default: 60000 # AutoDistributePoints: set if arena points should be distributed weekly automatically, or by GM command # Default: 0 (disable) (recommended): use gm command or sql query to distribute the points # 1 (enable): arena points are distributed automatically Arena.MaxRatingDifference = 0 Arena.RatingDiscardTimer = 60000 Arena.AutoDistributePoints = 0