魔獸worldserver.conf服務(wù)端配置文件說明第五段完結(jié)

# AUCTION HOUSE BOT SETTINGS
# 拍賣行設(shè)置
# ???AuctionHouseBot.Account
# ??????Description: Account ID for AHBot characters. If non-zero, all auctions and bids associated
# ???????????????????with the AHBot will randomly be assigned one of this account's characters.
# ??????Default: ????0
#
?
AuctionHouseBot.Account = 0
?
#
# ???AuctionHouseBot.Update.Interval
# ??????Description: Interval in seconds for AHBot to get updated
# ??????Default: ????20
#
?
AuctionHouseBot.Update.Interval = 20
?
#
# ???AuctionHouseBot.Seller.Enabled
# ??????Description: General enable or disable AuctionHouseBot Seller functionality
# ??????Default: ????0 - (Disabled)
# ???????????????????1 - (Enabled)
?
AuctionHouseBot.Seller.Enabled = 0
?
#
# ???AuctionHouseBot.Alliance.Items.Amount.Ratio
# ??????Description: Enable/Disable (disabled if 0) the part of AHBot that puts items up for auction on Alliance AH
# ??????Default: ????100 - (Enabled with 100% of items specified in AuctionHouse.Items.Amount.color section)
?
AuctionHouseBot.Alliance.Items.Amount.Ratio = 100
?
#
# ???AuctionHouseBot.Horde.Items.Amount.Ratio
# ???????Enable/Disable (disabled if 0) the part of AHBot that puts items up for auction on Horde AH
# ??????Default: 100 (Enabled with 100% of items specified in AuctionHouse.Items.Amount.color section)
?
AuctionHouseBot.Horde.Items.Amount.Ratio = 100
?
#
# ???AuctionHouseBot.Neutral.Items.Amount.Ratio
# ??????Description: Enable/Disable (disabled if 0) the part of AHBot that puts items up for auction on Neutral AH
# ??????Default: ????100 - (Enabled with 100% of items specified in AuctionHouse.Items.Amount.color section)
?
AuctionHouseBot.Neutral.Items.Amount.Ratio = 100
?
#
# ???AuctionHouseBot.MinTime
# ??????Description: Minimum time for the new auction in hours
# ??????Default: 1 - (Hour)
?
AuctionHouseBot.MinTime = 1
?
#
# ???AuctionHouseBot.MaxTime
# ??????Description: Maximum time for the new auction in hours
# ??????Default: ????72 - (Hours)
?
AuctionHouseBot.MaxTime = 72
?
#
# ???AuctionHouseBot.Class.CLASS.Allow.Zero = 0
# ??????Description: Include items without a sell or buy price.
# ??????Default: ????0 - (Disabled)
# ???????????????????1 - (Enabled)
?
AuctionHouseBot.Class.Consumable.Allow.Zero = 0
AuctionHouseBot.Class.Container.Allow.Zero = 0
AuctionHouseBot.Class.Weapon.Allow.Zero = 0
AuctionHouseBot.Class.Gem.Allow.Zero = 0
AuctionHouseBot.Class.Armor.Allow.Zero = 0
AuctionHouseBot.Class.Reagent.Allow.Zero = 0
AuctionHouseBot.Class.Projectile.Allow.Zero = 0
AuctionHouseBot.Class.TradeGood.Allow.Zero = 0
AuctionHouseBot.Class.Recipe.Allow.Zero = 0
AuctionHouseBot.Class.Quiver.Allow.Zero = 0
AuctionHouseBot.Class.Quest.Allow.Zero = 0
AuctionHouseBot.Class.Key.Allow.Zero = 0
AuctionHouseBot.Class.Misc.Allow.Zero = 0
AuctionHouseBot.Class.Glyph.Allow.Zero = 0
?
#
# ???AuctionHouseBot.Items.Vendor
# ??????Description: Include items that can be bought from vendors.
# ??????Default: ????0 - (Disabled)
# ???????????????????1 - (Enabled)
?
AuctionHouseBot.Items.Vendor = 0
?
#
# ???AuctionHouseBot.Items.Loot
# ??????Description: Include items that can be looted or fished for.
# ??????Default: ????1 - (Enabled)
# ???????????????????0 - (Disabled)
?
AuctionHouseBot.Items.Loot = 1
?
#
# ???AuctionHouseBot.Items.Misc
# ??????Description: Include misc. items.
# ??????Default: ????0 - (Disabled)
# ???????????????????1 - (Enabled)
?
AuctionHouseBot.Items.Misc = 0
?
#
# ???AuctionHouseBot.Bind.*
# ??????Description: Indicates which bonding types to allow the bot to put up for auction
# ??????????????????????No ????- Items that don't bind ???????????Default 1 (Allowed)
# ??????????????????????Pickup - Items that bind on pickup ???????Default 0 (Not Allowed)
# ??????????????????????Equip ?- Items that bind on equip ????????Default 1 (Allowed)
# ??????????????????????Use ???- Items that bind on use ??????????Default 1 (Allowed)
# ??????????????????????Quest ?- Quest Items ?????????????????????Default 0 (Not Allowed)
# ??????Values: ?????0 - (Disabled)
# ???????????????????1 - (Enabled)
?
AuctionHouseBot.Bind.No = 1
AuctionHouseBot.Bind.Pickup = 0
AuctionHouseBot.Bind.Equip = 1
AuctionHouseBot.Bind.Use = 1
AuctionHouseBot.Bind.Quest = 0
?
#
# ???AuctionHouseBot.LockBox.Enabled
# ??????Description: Enable or not lockbox in auctionhouse
# ??????Default ?????0 - (Disabled)
# ???????????????????1 - (Enabled)
?
AuctionHouseBot.LockBox.Enabled = 0
?
#
# ???AuctionHouseBot.ItemsPerCycle.Boost
# ??????Description: This value is used to fill AH faster than normal when there is more than this value on missed items (not auctioned items).
# ???????????????????Usually this value is only used once on server start with empty auction table.
# ??????Default: ????1000
?
AuctionHouseBot.ItemsPerCycle.Boost = 1000
?
#
# ???AuctionHouseBot.ItemsPerCycle.Normal
# ??????Description: This value is used to fill AH for sold and expired items. A high value will be more resource intensive
# ???????????????????Usually this value is used always when auction table is already initialised.
# ??????Default: ????20
?
AuctionHouseBot.ItemsPerCycle.Normal = 20
?
#
# ???AuctionHouseBot.BuyPrice.Seller
# ??????Description: Should the Seller use BuyPrice or SellPrice to determine Bid Prices
# ??????Default: ????1 - (use SellPrice)
# ???????????????????0 - (use BuyPrice)
?
AuctionHouseBot.BuyPrice.Seller = 1
?
#
# ???AuctionHouseBot.BidPrice.*
# ??????Description: These values determine the range that the Bid Price will fall into, as a percentage of the Buy Price
# ??????Default: ????0.6 - (Min)
# ???????????????????0.9 - (Max)
?
AuctionHouseBot.BidPrice.Min = 0.6
AuctionHouseBot.BidPrice.Max = 0.9
?
#
# ???AuctionHouseBot.Alliance.Price.Ratio
# ??????Description: Percentage by which the price of items selled on Alliance Auction House is incremented / decreased
# ??????Default: ????100 - (Not modify)
?
AuctionHouseBot.Alliance.Price.Ratio = 100
?
#
# ???AuctionHouseBot.Horde.Price.Ratio
# ??????Description: Percentage by which the price of items selled on Horde Auction House is incremented / decreased
# ??????Default: ????100 - (Not modify)
?
AuctionHouseBot.Horde.Price.Ratio = 100
?
#
# ???AuctionHouseBot.Neutral.Price.Ratio
# ??????Description: Percentage by which the price of items selled on Neutral Auction House is incremented / decreased
# ??????Default: ????100 - (Not modify)
?
AuctionHouseBot.Neutral.Price.Ratio = 100
?
#
# ???AuctionHouseBot.Items.QUALITY.Price.Ratio
# ??????Description: Percentage by which the price of items sold of each quality is incremented / decreased (for all houses)
# ??????Default: ????100 - (No change)
?
AuctionHouseBot.Items.Gray.Price.Ratio = 100
AuctionHouseBot.Items.White.Price.Ratio = 100
AuctionHouseBot.Items.Green.Price.Ratio = 100
AuctionHouseBot.Items.Blue.Price.Ratio = 100
AuctionHouseBot.Items.Purple.Price.Ratio = 100
AuctionHouseBot.Items.Orange.Price.Ratio = 100
AuctionHouseBot.Items.Yellow.Price.Ratio = 100
?
#
# ???AuctionHouseBot.Class.CLASS.Price.Ratio
# ??????Description: Percentage by which the price of items sold of each class is incremented / decreased (for all houses)
# ??????Default: ??100 - (No change)
?
AuctionHouseBot.Class.Consumable.Price.Ratio = 100
AuctionHouseBot.Class.Container.Price.Ratio = 100
AuctionHouseBot.Class.Weapon.Price.Ratio = 100
AuctionHouseBot.Class.Gem.Price.Ratio = 100
AuctionHouseBot.Class.Armor.Price.Ratio = 100
AuctionHouseBot.Class.Reagent.Price.Ratio = 100
AuctionHouseBot.Class.Projectile.Price.Ratio = 100
AuctionHouseBot.Class.TradeGood.Price.Ratio = 100
AuctionHouseBot.Class.Generic.Price.Ratio = 100
AuctionHouseBot.Class.Recipe.Price.Ratio = 100
AuctionHouseBot.Class.Quiver.Price.Ratio = 100
AuctionHouseBot.Class.Quest.Price.Ratio = 100
AuctionHouseBot.Class.Key.Price.Ratio = 100
AuctionHouseBot.Class.Misc.Price.Ratio = 100
AuctionHouseBot.Class.Glyph.Price.Ratio = 100
?
#
# ???AuctionHouseBot.Items.ItemLevel.*
# ??????Description: Prevent seller from listing items below/above this item level
# ??????Default: ????0 - (Disabled)
?
AuctionHouseBot.Items.ItemLevel.Min = 0
AuctionHouseBot.Items.ItemLevel.Max = 0
?
#
# ???AuctionHouseBot.Items.ReqLevel.*
# ??????Description: Prevent seller from listing items below/above this required level
# ??????Default: ????0 - (Disabled)
?
AuctionHouseBot.Items.ReqLevel.Min = 0
AuctionHouseBot.Items.ReqLevel.Max = 0
?
#
# ???AuctionHouseBot.Items.ReqSkill.*
# ??????Description: Prevent seller from listing items below/above this skill level
# ??????Default: ????0 - (Disabled)
# ???????????????????1 - (Enabled)
?
AuctionHouseBot.Items.ReqSkill.Min = 0
AuctionHouseBot.Items.ReqSkill.Max = 0
?
#
# ???AuctionHouseBot.Items.Amount.*
# ??????Description: Define here for every item qualities how many items you want to be shown in Auction House
# ???????????????????This value will be adjusted by AuctionHouseBot.FACTION.Items.Amount.Ratio to define the exact amount of
# ???????????????????items that will finally be shown on Auction House
# ??????Default: ????0, 2000, 2500, 1500, 1000, 0, 0 (Gray, white, green, blue, purple, orange, yellow)
?
AuctionHouseBot.Items.Amount.Gray = 0
AuctionHouseBot.Items.Amount.White = 2000
AuctionHouseBot.Items.Amount.Green = 2500
AuctionHouseBot.Items.Amount.Blue = 1500
AuctionHouseBot.Items.Amount.Purple = 1000
AuctionHouseBot.Items.Amount.Orange = 0
AuctionHouseBot.Items.Amount.Yellow = 0
?
#
# ???AuctionHouseBot.Class.*
# ??????Description: Here you can set the class of items you prefer to be show on AH
# ???????????????????These value are sorted by preference, from 0 (disabled) to 10 (max. preference)
# ??????Default: ????Consumable: 6
# ???????????????????Container: 4
# ???????????????????Weapon: 8
# ???????????????????Gem: 3
# ???????????????????Armor: 8
# ???????????????????Reagent: 1
# ???????????????????Projectile: 2
# ???????????????????TradeGood: 10
# ???????????????????Generic: 1
# ???????????????????Recipe: 6
# ???????????????????Quiver: 1
# ???????????????????Quest: 1
# ???????????????????Key: 1
# ???????????????????Misc: 5
# ???????????????????Glyph: 3
?
AuctionHouseBot.Class.Consumable = 6
AuctionHouseBot.Class.Container = 4
AuctionHouseBot.Class.Weapon = 8
AuctionHouseBot.Class.Gem = 3
AuctionHouseBot.Class.Armor = 8
AuctionHouseBot.Class.Reagent = 1
AuctionHouseBot.Class.Projectile = 2
AuctionHouseBot.Class.TradeGood = 10
AuctionHouseBot.Class.Generic = 1
AuctionHouseBot.Class.Recipe = 6
AuctionHouseBot.Class.Quiver = 1
AuctionHouseBot.Class.Quest = 1
AuctionHouseBot.Class.Key = 1
AuctionHouseBot.Class.Misc = 5
AuctionHouseBot.Class.Glyph = 3
?
#
###################################################################################################
?
###################################################################################################
# AUCTION HOUSE BOT ITEM FINE TUNING
#
# ???The following are usefull for limiting what character levels can
# ???benefit from the auction house
#
# ???AuctionHouseBot.Class.Misc.Mount.ReqLevel.*
# ??????Description: Prevent seller from listing mounts below/above this required level
# ??????Default: ????0
?
AuctionHouseBot.Class.Misc.Mount.ReqLevel.Min = 0
AuctionHouseBot.Class.Misc.Mount.ReqLevel.Max = 0
?
#
# ???AuctionHouseBot.Class.Misc.Mount.ReqSkill.*
# ??????Description: Prevent seller from listing mounts below/above this skill level
# ??????Default: ????0
?
AuctionHouseBot.Class.Misc.Mount.ReqSkill.Min = 0
AuctionHouseBot.Class.Misc.Mount.ReqSkill.Max = 0
?
#
# ???AuctionHouseBot.Class.Glyph.ReqLevel.*
# ??????Description: Prevent seller from listing glyphs below/above this required level
# ??????Default: ????0
?
AuctionHouseBot.Class.Glyph.ReqLevel.Min = 0
AuctionHouseBot.Class.Glyph.ReqLevel.Max = 0
?
#
# ???AuctionHouseBot.Class.Glyph.ItemLevel.*
# ??????Description: Prevent seller from listing glyphs below/above this item level
# ??????Default: ????0
?
AuctionHouseBot.Class.Glyph.ItemLevel.Min = 0
AuctionHouseBot.Class.Glyph.ItemLevel.Max = 0
?
#
# ???AuctionHouseBot.Class.TradeGood.ItemLevel.*
# ??????Description: Prevent seller from listing trade good items below/above this item level
# ??????Default: ????0
?
AuctionHouseBot.Class.TradeGood.ItemLevel.Min = 0
AuctionHouseBot.Class.TradeGood.ItemLevel.Max = 0
?
#
# ???AuctionHouseBot.Class.Container.ItemLevel.*
# ??????Description: Prevent seller from listing contianers below/above this item level
# ??????Default: ????0
?
AuctionHouseBot.Class.Container.ItemLevel.Min = 0
AuctionHouseBot.Class.Container.ItemLevel.Max = 0
?
#
# ???AuctionHouseBot.forceIncludeItems
# ??????Description: Include these items and ignore ALL filters
# ???????????????????List of ids with delimiter ','
# ??????Default: ????""
?
AuctionHouseBot.forceIncludeItems = ""
?
#
# ???AuctionHouseBot.forceExcludeItems
# ??????Description: Exclude these items even if they would pass the filters
# ???????????????????List of ids with delimiter ','
# ??????Example: ????"21878,27774,27811,28117,28122,43949" (this removes old items)
# ??????Default: ????""
#
?
AuctionHouseBot.forceExcludeItems = "6343,6345,6376"
?
#
# ???AuctionHouseBot.Class.RandomStackRatio.*
# ??????Description: Used to determine how often a stack of the class will be single or randomly-size stacked when posted
# ???????????????????Value needs to be between 0 and 100, no decimal. ?Anything higher than 100 will be treated as 100
# ??????Examples: ???100 = stacks will always be random in size
# ???????????????????50 = half the time the stacks are random, the other half being single stack
# ???????????????????0 = stacks will always single size
# ??????Default: ????Consumable: 20 (20% random stack size, 80% single stack size)
# ???????????????????Container: 0 (100% single stack size)
# ???????????????????Weapon: 0 (100% single stack size)
# ???????????????????Gem: 20 (20% random stack size, 80% single stack size)
# ???????????????????Armor: 0 (100% single stack size)
# ???????????????????Reagent: 100 (100% random stack size)
# ???????????????????Projectile: 100 (100% random stack size)
# ???????????????????TradeGood: 50 (50% random stack size, 50% single stack size)
# ???????????????????Generic: 100 (100% random stack size)
# ???????????????????Recipe: 0 (100% single stack size)
# ???????????????????Quiver: 0 (100% single stack size)
# ???????????????????Quest: 100 (100% random stack size)
# ???????????????????Key: 100 (100% random stack size)
# ???????????????????Misc: 100 (100% random stack size)
# ???????????????????Glyph: 0 (100% single stack size)
#
?
AuctionHouseBot.Class.RandomStackRatio.Consumable = 20
AuctionHouseBot.Class.RandomStackRatio.Container = 0
AuctionHouseBot.Class.RandomStackRatio.Weapon = 0
AuctionHouseBot.Class.RandomStackRatio.Gem = 20
AuctionHouseBot.Class.RandomStackRatio.Armor = 0
AuctionHouseBot.Class.RandomStackRatio.Reagent = 100
AuctionHouseBot.Class.RandomStackRatio.Projectile = 100
AuctionHouseBot.Class.RandomStackRatio.TradeGood = 50
AuctionHouseBot.Class.RandomStackRatio.Generic = 100
AuctionHouseBot.Class.RandomStackRatio.Recipe = 0
AuctionHouseBot.Class.RandomStackRatio.Quiver = 0
AuctionHouseBot.Class.RandomStackRatio.Quest = 100
AuctionHouseBot.Class.RandomStackRatio.Key = 100
AuctionHouseBot.Class.RandomStackRatio.Misc = 100
AuctionHouseBot.Class.RandomStackRatio.Glyph = 0
?
#
###################################################################################################
?
###################################################################################################
# AUCTION HOUSE BOT BUYER CONFIG
#
# ???AuctionHouseBot.Buyer.Enabled
# ??????Description: General enable or disable AuctionHouseBot Buyer functionality
# ??????Default: ????0 - (Disabled)
# ???????????????????1 - (Enabled)
?
AuctionHouseBot.Buyer.Enabled = 0
?
#
# ???AuctionHouseBot.Buyer.FACTION.Enabled
# ??????Description: Enable or disable buyer independently by faction
# ??????Default: ????0 - (Disabled)
# ???????????????????1 - (Enabled)
?
AuctionHouseBot.Buyer.Alliance.Enabled = 0
AuctionHouseBot.Buyer.Horde.Enabled = 0
AuctionHouseBot.Buyer.Neutral.Enabled = 0
?
# ???AuctionHouseBot.Buyer.ChanceFactor
# ??????Description: k value in the formula used for the chance to buy an item "100^(1 + (1 - (AuctionBid / ItemPrice)) / k)"
# ???????????????????It must be a decimal number in the range of (0, +infinity). The higher the number the higher chance to buy overpriced auctions
# ??????Default: ????2
?
AuctionHouseBot.Buyer.ChanceFactor = 2
?
#
# ???AuctionHouseBot.Buyer.Baseprice.QUALITY
# ??????Description: Base sellprices in copper for non priced items for each quality.
# ???????????????????The default values are based on average item prices of each quality.
# ??????Defaults: ???Gray ??3504
# ???????????????????White ?5429
# ???????????????????Green ?21752
# ???????????????????Blue ??36463
# ???????????????????Purple 87124
# ???????????????????Orange 214347
# ???????????????????Yellow 407406
?
AuctionHouseBot.Buyer.Baseprice.Gray = 3504
AuctionHouseBot.Buyer.Baseprice.White = 5429
AuctionHouseBot.Buyer.Baseprice.Green = 21752
AuctionHouseBot.Buyer.Baseprice.Blue = 36463
AuctionHouseBot.Buyer.Baseprice.Purple = 87124
AuctionHouseBot.Buyer.Baseprice.Orange = 214347
AuctionHouseBot.Buyer.Baseprice.Yellow = 407406
?
#
# ???AuctionHouseBot.Buyer.ChanceMultiplier.QUALITY
# ??????Description: Multipliers for the buy/bid chances for each quality. 100 means the chance is 100% of the original,
# ???????????????????1 would mean 1 % of the original and 200 would mean 200% of the original chance.
# ??????Defaults: ???Gray ??100
# ???????????????????White ?100
# ???????????????????Green ?100
# ???????????????????Blue ??100
# ???????????????????Purple 100
# ???????????????????Orange 100
# ???????????????????Yellow 100
?
AuctionHouseBot.Buyer.ChanceMultiplier.Gray = 100
AuctionHouseBot.Buyer.ChanceMultiplier.White = 100
AuctionHouseBot.Buyer.ChanceMultiplier.Green = 100
AuctionHouseBot.Buyer.ChanceMultiplier.Blue = 100
AuctionHouseBot.Buyer.ChanceMultiplier.Purple = 100
AuctionHouseBot.Buyer.ChanceMultiplier.Orange = 100
AuctionHouseBot.Buyer.ChanceMultiplier.Yellow = 100
?
#
# ???AuctionHouseBot.Buyer.Recheck.Interval
# ??????Description: This specifies the time interval (in minutes) between two evaluations of the same sold item.
# ???????????????????The smaller this value is, the more chances you give for an item to be bought by ahbot.
# ??????Default: ????20 (20min.)
?
AuctionHouseBot.Buyer.Recheck.Interval = 20
?
#
###################################################################################################
?
###################################################################################################
# ?ELUNA SETTINGS
# ?lua引擎設(shè)置,lua支持
# ??Eluna.Enabled
# ??????Description: Enable or disable Eluna LuaEngine
# ??????Default: ???true ?- (enabled)
# ??????????????????false - (disabled)
#
# ??Eluna.TraceBack
# ??????Description: Sets whether to use debug.traceback function on a lua error or not.
# ???????????????????Notice that you can redefine the function.
# ??????Default: ???false - (use default error output)
# ??????????????????true ?- (use debug.traceback function)
#
# ??Eluna.ScriptPath
# ??????Description: Sets the location of the script folder to load scripts from
# ???????????????????The path can be relative or absolute.
# ??????Default: ???"lua_scripts"
#
?
Eluna.Enabled = true
Eluna.TraceBack = false
Eluna.ScriptPath = "lua_scripts"
?
#
###################################################################################################
?
###################################################################################################
# LOGGING SYSTEM SETTINGS
# 日志信息系統(tǒng)設(shè)置
# ?Appender config values: Given a appender "name"
# ???Appender.name
# ???????Description: Defines 'where to log'.
# ???????Format: ?????Type,LogLevel,Flags,optional1,optional2,optional3
#
# ????????????????????Type
# ????????????????????????0 - (None)
# ????????????????????????1 - (Console)
# ????????????????????????2 - (File)
# ????????????????????????3 - (DB)
#
# ????????????????????LogLevel
# ????????????????????????0 - (Disabled)
# ????????????????????????1 - (Trace)
# ????????????????????????2 - (Debug)
# ????????????????????????3 - (Info)
# ????????????????????????4 - (Warn)
# ????????????????????????5 - (Error)
# ????????????????????????6 - (Fatal)
#
# ????????????????????Flags:
# ????????????????????????0 - None
# ????????????????????????1 - Prefix Timestamp to the text
# ????????????????????????2 - Prefix Log Level to the text
# ????????????????????????4 - Prefix Log Filter type to the text
# ????????????????????????8 - Append timestamp to the log file name. Format: YYYY-MM-DD_HH-MM-SS
# ????????????????????????????(Only used with Type = 2)
# ???????????????????????16 - Make a backup of existing file before overwrite
# ????????????????????????????(Only used with Mode = w)
#
# ????????????????????Colors (read as optional1 if Type = Console)
# ????????????????????????Format: "fatal error warn info debug trace"
# ????????????????????????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 3 1"
#
# ????????????????????File: Name of the file (read as optional1 if Type = File)
# ????????????????????????Allows to use one "%s" to create dynamic files
#
# ????????????????????Mode: Mode to open the file (read as optional2 if Type = File)
# ?????????????????????????a - (Append)
# ?????????????????????????w - (Overwrite)
#
# ????????????????????MaxFileSize: Maximum file size of the log file before creating a new log file
# ????????????????????(read as optional3 if Type = File)
# ????????????????????????Size is measured in bytes expressed in a 64-bit unsigned integer.
# ????????????????????????Maximum value is 4294967295 (4 gb). Leave blank for no limit.
# ????????????????????????NOTE: Does not work with dynamic filenames.
# ????????????????????????Example: ?536870912 (512 mb)
#
?
Appender.Console=1,3,0
Appender.Server=2,2,0,Server.log,w
Appender.GM=2,2,15,gm/gm_%s.log
Appender.DBErrors=2,2,0,DBErrors.log
Appender.Eluna=2,5,3,Eluna.log,a
?
# ?Logger config values: Given a logger "name"
# ???Logger.name
# ???????Description: Defines 'What to log'
# ???????Format: ?????LogLevel,AppenderList
#
# ????????????????????LogLevel
# ????????????????????????0 - (Disabled)
# ????????????????????????1 - (Trace)
# ????????????????????????2 - (Debug)
# ????????????????????????3 - (Info)
# ????????????????????????4 - (Warn)
# ????????????????????????5 - (Error)
# ????????????????????????6 - (Fatal)
#
# ????????????????????AppenderList: List of appenders linked to logger
# ????????????????????(Using spaces as separator).
#
?
Logger.root=5,Console Server
Logger.server=3,Console Server
Logger.commands.gm=3,Console GM
Logger.scripts.hotswap=3,Console Server
Logger.sql.sql=5,Console DBErrors
Logger.sql.updates=3,Console Server
Logger.mmaps=3,Server
Logger.eluna=1,Console Eluna
?
#Logger.achievement=3,Console Server
#Logger.addon=3,Console Server
#Logger.ahbot=3,Console Server
#Logger.auctionHouse=3,Console Server
#Logger.bg.arena=3,Console Server
#Logger.bg.battlefield=3,Console Server
#Logger.bg.battleground=3,Console Server
#Logger.bg.reportpvpafk=3,Console Server
#Logger.chat.log=3,Console Server
#Logger.calendar=3,Console Server
#Logger.chat.system=3,Console Server
#Logger.cheat=3,Console Server
#Logger.commands.ra=3,Console Server
#Logger.condition=3,Console Server
#Logger.entities.pet=3,Console Server
#Logger.entities.player.character=3,Console Server
#Logger.entities.player.dump=3,Console Server
#Logger.entities.player=3,Console Server
#Logger.entities.player.items=3,Console Server
#Logger.entities.player.loading=3,Console Server
#Logger.entities.player.skills=3,Console Server
#Logger.entities.transport=3,Console Server
#Logger.entities.unit=3,Console Server
#Logger.entities.vehicle=3,Console Server
#Logger.gameevent=3,Console Server
#Logger.guild=3,Console Server
#Logger.lfg=3,Console Server
#Logger.loot=3,Console Server
#Logger.maps.script=3,Console Server
#Logger.maps=3,Console Server
#Logger.misc=3,Console Server
#Logger.network=3,Console Server
#Logger.network.opcode=3,Console Server
#Logger.network.soap=3,Console Server
#Logger.outdoorpvp=3,Console Server
#Logger.pool=3,Console Server
#Logger.rbac=3,Console Server
#Logger.scripts=3,Console Server
#Logger.scripts.ai=3,Console Server
#Logger.server.authserver=3,Console Server
#Logger.spells=3,Console Server
#Logger.spells.periodic=3,Console Server
#Logger.sql.dev=3,Console Server
#Logger.sql.driver=3,Console Server
#Logger.warden=3,Console Server
?
#
# ???Log.Async.Enable
# ???????Description: Enables asyncronous message logging.
# ???????Default: ????0 - (Disabled)
# ????????????????????1 - (Enabled)
?
Log.Async.Enable = 0
?
#
# ???Allow.IP.Based.Action.Logging
# ???????Description: Logs actions, e.g. account login and logout to name a few, based on IP of
# ????????????????????current session.
# ???????Default: ????0 - (Disabled)
# ????????????????????1 - (Enabled)
?
Allow.IP.Based.Action.Logging = 0
?
#
###################################################################################################
?
###################################################################################################
# PACKET SPOOF PROTECTION SETTINGS
# 數(shù)據(jù)包欺騙保護設(shè)置
# These settings determine which action to take when harmful packet spoofing is detected.
#
# ???PacketSpoof.Policy
# ???????Description: Determines the course of action when packet spoofing is detected.
# ???????Default: ????1 - (Log + kick)
# ????????????????????0 - (Log only 'network')
# ????????????????????2 - (Log + kick + ban)
?
PacketSpoof.Policy = 1
?
#
# ???PacketSpoof.BanMode
# ???????Description: If PacketSpoof.Policy equals 2, this will determine the ban mode.
# ???????Note: ???????Banning by character not supported for logical reasons.
# ???????Default: ????0 - Ban Account
# ????????????????????2 - Ban IP
#
?
PacketSpoof.BanMode = 0
?
#
# ???PacketSpoof.BanDuration
# ???????Description: Duration of the ban in seconds. Only valid if PacketSpoof.Policy is set to 2.
# ????????????????????Set to 0 for permanent ban.
# ???????Default: ????86400 seconds (1 day)
#
?
PacketSpoof.BanDuration = 86400
?
#
###################################################################################################
?
###################################################################################################
# METRIC SETTINGS
#
# These settings control the statistics sent to the metric database (currently InfluxDB)
#
# ???Metric.Enable
# ???????Description: Enables statistics sent to the metric database.
# ???????Default: ????0 - (Disabled)
# ????????????????????1 - (Enabled)
?
Metric.Enable = 0
?
# ???數(shù)據(jù)間隔周期
# ???Metric.Interval
# ???????Description: Interval between every batch of data sent in seconds
# ???????Default: ????10 seconds
#
?
Metric.Interval = 10
?
# ???服務(wù)器連接信息
# ???Metric.ConnectionInfo
# ???????Description: Connection settings for metric database (currently InfluxDB).
# ???????Example: ????"hostname;port;database"
# ???????Default: ????"xxx.xxx.xxx.xxx(你自己服務(wù)器IP地址);8086;worldserver"
?
Metric.ConnectionInfo = "xxx.xxx.xxx.xxx(你自己服務(wù)器IP地址);8086;worldserver"
?
# ????服務(wù)器信息獲取周期
# ???Metric.OverallStatusInterval
# ???????Description: Interval between every gathering of overall worldserver status data in seconds
# ???????Default: ????1 second
#
?
Metric.OverallStatusInterval = 1
?
#
#############################################################