魔兽 worldserver.conf 服务端配置文件说明第四段

771 阅读7分钟

######################################

STATS LIMITS

统计系统设置

   Stats.Limits.Enable

       Description: Enable or disable stats system.

       Default:     0 - Disabled

 

Stats.Limits.Enable = 0

 

   Stats.Limit.[STAT]

       Description: Set percentage limit for dodge, parry, block and crit rating.

       Default:     95.0 (95%)

 

Stats.Limits.Dodge = 95.0

Stats.Limits.Parry = 95.0

Stats.Limits.Block = 95.0

Stats.Limits.Crit  = 95.0

 

###################################################################################################

 

###################################################################################################

AUTO BROADCAST

自动广播

   AutoBroadcast.On

       Description: Enable auto broadcast.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

AutoBroadcast.On = 0

 

   AutoBroadcast.Center

       Description: Auto broadcasting display method.

       Default:     0 - (Announce)

                    1 - (Notify)

                    2 - (Both)

 

AutoBroadcast.Center = 0

 

   AutoBroadcast.Timer

       Description: Timer (in milliseconds) for auto broadcasts.

       Default:     600000 - (10 minutes)

 

AutoBroadcast.Timer = 600000

 

###################################################################################################

 

###################################################################################################

BATTLEGROUND CONFIG

战场配置

   Battleground.CastDeserter

       Description: Cast Deserter spell at players who leave battlegrounds in progress.

       Default:     1 - (Enabled)

                    0 - (Disabled)

 

Battleground.CastDeserter = 1

 

   Battleground.QueueAnnouncer.Enable

       Description: Announce battleground queue status to chat.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

Battleground.QueueAnnouncer.Enable = 0

 

   Battleground.QueueAnnouncer.PlayerOnly

       Description: Battleground queue announcement type.

       Default:     0 - (System message, Anyone can see it)

                    1 - (Private, Only queued players can see it)

 

Battleground.QueueAnnouncer.PlayerOnly = 0

 

   Battleground.StoreStatistics.Enable

       Description: Store Battleground scores in the database.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

Battleground.StoreStatistics.Enable = 0

 

   Battleground.TrackDeserters.Enable

       Description: Track deserters of Battlegrounds.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

Battleground.TrackDeserters.Enable = 0

 

   Battleground.InvitationType

       Description: Set Battleground invitation type.

       Default:     0 - (Normal, Invite as much players to battlegrounds as queued,

                         Don't bother with balance)

                    1 - (Experimental, Don't allow to invite much more players

                         of one faction)

                    2 - (Experimental, Try to have even teams)

 

Battleground.InvitationType = 0

 

   Battleground.PrematureFinishTimer

       Description: Time (in milliseconds) before battleground will end prematurely if there are

                    not enough players on one team. (Values defined in battleground template)

       Default:     300000 - (Enabled, 5 minutes)

                    0      - (Disabled, Not recommended)

 

Battleground.PrematureFinishTimer = 300000

 

   Battleground.PremadeGroupWaitForMatch

       Description: Time (in milliseconds) a pre-made group has to wait for matching group of the

                    other faction.

       Default:     1800000 - (Enabled, 30 minutes)

                    0       - (Disabled, Not recommended)

 

Battleground.PremadeGroupWaitForMatch = 1800000

 

   Battleground.GiveXPForKills

       Description: Give experience for honorable kills in battlegrounds,

                    the rate can be changed in the Rate.XP.BattlegroundKill setting.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

Battleground.GiveXPForKills = 0

 

   Battleground.Random.ResetHour

       Description: Hour of the day when the global instance resets occur.

       Range:       0-23

       Default:     6 - (06:00 AM)

 

Battleground.Random.ResetHour = 6

 

    Battleground.RewardWinnerHonorFirst

    Battleground.RewardWinnerArenaFirst

    Battleground.RewardWinnerHonorLast

    Battleground.RewardWinnerArenaLast

    Battleground.RewardLoserHonorFirst

    Battleground.RewardLoserHonorLast

       Description: Random Battlegrounds / call to the arms rewards.

       Default:     30 - Battleground.RewardWinnerHonorFirst

                    25 - Battleground.RewardWinnerArenaFirst

                    15 - Battleground.RewardWinnerHonorLast

                    0  - Battleground.RewardWinnerArenaLast

                    5  - Battleground.RewardLoserHonorFirst

                    5  - Battleground.RewardLoserHonorLast

 

Battleground.RewardWinnerHonorFirst = 30

Battleground.RewardWinnerArenaFirst = 25

Battleground.RewardWinnerHonorLast  = 15

Battleground.RewardWinnerArenaLast  = 0

Battleground.RewardLoserHonorFirst  = 5

Battleground.RewardLoserHonorLast   = 5

 

   Battleground.ReportAFK

       Description: Number of reports needed to kick someone AFK from Battleground.

       Range:       1-9

       Default:     3

 

Battleground.ReportAFK = 3

 

###################################################################################################

 

###################################################################################################

BATTLEFIELD CONFIG

战场设置?

    Wintergrasp.Enable

        Description: Enable the Wintergrasp battlefield.

        Default:     0 - (Disabled)

                     1 - (Enabled, Experimental as in incomplete, bugged and with crashes)

 

Wintergrasp.Enable = 0

 

    Wintergrasp.PlayerMax

        Description: Maximum number of players allowed in Wintergrasp.

        Default:     100

 

Wintergrasp.PlayerMax = 100

 

    Wintergrasp.PlayerMin

        Description: Minimum number of players required for Wintergrasp.

        Default:     0

 

Wintergrasp.PlayerMin = 0

 

    Wintergrasp.PlayerMinLvl

        Description: Required character level for the Wintergrasp battle.

        Default:     77

 

Wintergrasp.PlayerMinLvl = 77

 

    Wintergrasp.BattleTimer

        Description: Time (in minutes) for the Wintergrasp battle to last.

        Default:     30

 

Wintergrasp.BattleTimer = 30

 

    Wintergrasp.NoBattleTimer

        Description: Time (in minutes) between Wintergrasp battles.

        Default:     150

 

Wintergrasp.NoBattleTimer = 150

 

    Wintergrasp.CrashRestartTimer

        Description: Time (in minutes) to delay the restart of Wintergrasp if the world server

                     crashed during a running battle.

        Default:     10

 

Wintergrasp.CrashRestartTimer = 10

 

###################################################################################################

 

###################################################################################################

ARENA CONFIG

竞技场设置

   Arena.MaxRatingDifference

       Description: Maximum rating difference between two teams in rated matches.

       Default:     150 - (Enabled)

                    0   - (Disabled)

 

Arena.MaxRatingDifference = 150

 

   Arena.RatingDiscardTimer

       Description: Time (in milliseconds) after which rating differences are ignored when

                    setting up matches.

       Default:     600000 - (Enabled, 10 minutes)

                    0      - (Disabled)

 

Arena.RatingDiscardTimer = 600000

 

   Arena.RatedUpdateTimer

       Description: Time (in milliseconds) between checks for matchups in rated arena.

       Default:     5000 - (5 seconds)

 

Arena.RatedUpdateTimer = 5000

 

   Arena.AutoDistributePoints

       Description: Automatically distribute arena points.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

Arena.AutoDistributePoints = 0

 

   Arena.AutoDistributeInterval

       Description: Time (in days) how often arena points should be distributed if automatic

                    distribution is enabled.

       Default:     7 - (Weekly)

 

Arena.AutoDistributeInterval = 7

 

   Arena.QueueAnnouncer.Enable

       Description: Announce arena queue status to chat.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

Arena.QueueAnnouncer.Enable = 0

 

   Arena.ArenaSeason.ID

       Description: Current arena season id shown in clients.

       Default:     8

 

Arena.ArenaSeason.ID = 8

 

   Arena.ArenaSeason.InProgress

       Description: State of current arena season.

       Default:     1 - (Active)

                    0 - (Finished)

 

Arena.ArenaSeason.InProgress = 1

 

   Arena.ArenaStartRating

       Description: Start rating for new arena teams.

       Default:     0

 

Arena.ArenaStartRating = 0

 

   Arena.ArenaStartPersonalRating

       Description: Start personal rating when joining a team.

       Default:     0

 

Arena.ArenaStartPersonalRating = 0

 

   Arena.ArenaStartMatchmakerRating

       Description: Start matchmaker rating for players.

       Default:     1500

 

Arena.ArenaStartMatchmakerRating = 1500

 

   Arena.ArenaWinRatingModifier1

       Description: Modifier of rating addition when winner team rating is less than 1300

                    be aware that from 1000 to 1300 it gradually decreases automatically down to the half of it

                    (increasing this value will give more rating)

       Default:     48

 

Arena.ArenaWinRatingModifier1 = 48

 

   Arena.ArenaWinRatingModifier2

       Description: Modifier of rating addition when winner team rating is equal or more than 1300

                    (increasing this value will give more rating)

       Default:     24

 

Arena.ArenaWinRatingModifier2 = 24

 

 

   Arena.ArenaLoseRatingModifier

       Description: Modifier of rating subtraction for loser team

                    (increasing this value will subtract more rating)

       Default:     24

 

Arena.ArenaLoseRatingModifier = 24

 

   Arena.ArenaMatchmakerRatingModifier

       Description: Modifier of matchmaker rating

       Default:     24

 

Arena.ArenaMatchmakerRatingModifier = 24

 

   ArenaLog.ExtendedInfo

       Description: Include extended info to ArenaLogFile for each player after rated arena

                    matches (guid, name, team, IP, healing/damage done, killing blows).

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

ArenaLog.ExtendedInfo = 0

 

###################################################################################################

 

###################################################################################################

NETWORK CONFIG

网络设置

   Network.Threads

       Description: Number of threads for network.

        Default:    1 - (Recommended 1 thread per 1000 connections)

 

Network.Threads = 1

 

   Network.OutKBuff

       Description: Amount of memory (in bytes) used for the output kernel buffer (see SO_SNDBUF

                    socket option, TCP manual).

       Default:     -1 - (Use system default setting)

 

Network.OutKBuff = -1

 

   Network.OutUBuff

       Description: Amount of memory (in bytes) reserved in the user space per connection for

                    output buffering.

        Default:    65536

 

Network.OutUBuff = 65536

 

   Network.TcpNoDelay:

       Description: TCP Nagle algorithm setting.

        Default:    0 - (Enabled, Less traffic, More latency)

                    1 - (Disabled, More traffic, Less latency, TCP_NO_DELAY)

 

Network.TcpNodelay = 1

 

###################################################################################################

 

###################################################################################################

CONSOLE AND REMOTE ACCESS

控制台和远程访问

   Console.Enable 控制台开关

       Description: Enable console.

       Default:     1 - (Enabled)

                    0 - (Disabled)

 

Console.Enable = 1

 

   Ra.Enable 远程访问开关

       Description: Enable remote console (telnet).

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

Ra.Enable = 0

 

   Ra.IP 远程访问IP

       Description: Bind remote access to IP/hostname.

       Default:     "0.0.0.0" - (Bind to all IPs on the system)

 

Ra.IP = "0.0.0.0"

 

   Ra.Port 远程访问端口

       Description: TCP port to reach the remote console.

       Default:     3443

 

Ra.Port = 3443

 

   Ra.MinLevel 远程访问最低安全等级

       Description: Required security level to use the remote console.

       Default:     3

 

Ra.MinLevel = 3

 

   SOAP.Enable

       Description: Enable soap service.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

SOAP.Enabled = 0

 

   SOAP.IP

       Description: Bind SOAP service to IP/hostname.

       Default:     "xxx.xxx.xxx.xxx(你自己服务器IP地址)" - (Bind to localhost)

 

SOAP.IP = "xxx.xxx.xxx.xxx(你自己服务器IP地址)"

 

   SOAP.Port

       Description: TCP port to reach the SOAP service.

       Default:     7878

 

SOAP.Port = 7878

 

###################################################################################################

 

###################################################################################################

CHARACTER DELETE OPTIONS

角色命名删除选项

   CharDelete.Method

       Description: Character deletion behavior.

       Default:     0 - (Completely remove character from the database)

                    1 - (Unlink the character from account and free up the name, Appears as

                        deleted ingame)

 

CharDelete.Method = 0

 

   CharDelete.MinLevel

       Description: Required level to use the unlinking method if enabled for non-heroic classes.

       Default:     0  - (Same method for every level)

                    1+ - (Only characters with the specified level will use the unlinking method)

 

CharDelete.MinLevel = 0

 

   CharDelete.DeathKnight.MinLevel

       Description: Required level to use the unlinking method if enabled for death knights.

       Default:     0  - (Same method for every level)

                    1+ - (Only characters with the specified level will use the unlinking method)

 

CharDelete.DeathKnight.MinLevel = 0

 

   CharDelete.KeepDays

       Description: Time (in days) before unlinked characters will be removed from the database.

       Default:     30 - (Enabled)

                    0  - (Disabled, Don't delete any characters)

 

CharDelete.KeepDays = 30

 

###################################################################################################

 

###################################################################################################

CUSTOM SERVER OPTIONS

自定义服务器选项

    AllowTrackBothResources

       Description: Allows players to track herbs and minerals at the same time (if they have the skills)

       Default:     0 - (Do not allow)

                    1 - (Allow)

       Note:        The following are client limitations and cannot be coded for:

                    * The minimap tracking icon will display whichever skill is activated second.

                    * The minimap tracking list will only show a check mark next to the last skill activated (sometimes this

                      bugs out and doesn't switch the check mark. It has no effect on the actual tracking though).

                    * The minimap dots are yellow for both resources.

 

AllowTrackBothResources = 0

 

   PlayerStart.AllReputation

       Description: Players will start with most of the high level reputations that are needed

                    for items, mounts etc.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

PlayerStart.AllReputation = 0

 

   PlayerStart.AllSpells

       Description: If enabled, players will start with all their class spells (not talents).

                    You must populate playercreateinfo_spell_custom table with the spells you

                    want, or this will not work! The table has data for all classes / races up

                    to WoTLK expansion.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

PlayerStart.AllSpells = 0

 

   PlayerStart.MapsExplored

       Description: Characters start with all maps explored.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

PlayerStart.MapsExplored = 0

 

   HonorPointsAfterDuel

       Description: Amount of honor points the duel winner will get after a duel.

       Default:     0  - (Disabled)

                    1+ - (Enabled)

 

HonorPointsAfterDuel = 0

 

   ResetDuelCooldowns

       Description: Reset all cooldowns before duel starts and restore them when duel ends.

       Default:     0  - (Disabled)

                    1  - (Enabled)

 

ResetDuelCooldowns = 0

 

   ResetDuelHealthMana

       Description: Reset health and mana before duel starts and restore them when duel ends.

       Default:     0  - (Disabled)

                    1  - (Enabled)

 

ResetDuelHealthMana = 0

 

   AlwaysMaxWeaponSkill

       Description: Players will automatically gain max weapon/defense skill when logging in,

                    or leveling.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

AlwaysMaxWeaponSkill = 0

 

   PvPToken.Enable

       Description: Character will receive a token after defeating another character that yields

                    honor.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

PvPToken.Enable = 0

 

   PvPToken.MapAllowType

       Description: Define where characters can receive tokens.

       Default:     4 - (All maps)

                    3 - (Battlegrounds)

                    2 - (FFA areas only like Gurubashi arena)

                    1 - (Battlegrounds and FFA areas)

 

PvPToken.MapAllowType = 4

 

   PvPToken.ItemID

       Description: Item characters will receive after defeating another character if PvP Token

                    system is enabled.

       Default:     29434 - (Badge of justice)

 

PvPToken.ItemID = 29434

 

   PvPToken.ItemCount

       Description: Number of tokens a character will receive.

       Default:     1

 

PvPToken.ItemCount = 1

 

   NoResetTalentsCost

       Description: Resetting talents doesn't cost anything.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

NoResetTalentsCost = 0

 

    Guild.AllowMultipleGuildMaster

       Description: Allow more than one guild master. Additional Guild Masters must be set using

                    the ".guild rank" command.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

Guild.AllowMultipleGuildMaster = 0

 

    ShowKickInWorld

       Description: Determines whether a message is broadcasted to the entire server when a

                    player gets kicked.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

ShowKickInWorld = 0

 

    ShowMuteInWorld

       Description: Determines whether a message is broadcasted to the entire server when a

                    player gets muted.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

ShowMuteInWorld = 0

 

    ShowBanInWorld

       Description: Determines whether a message is broadcasted to the entire server when a

                    player gets banned.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

ShowBanInWorld = 0

 

    RecordUpdateTimeDiffInterval

       Description: Time (in milliseconds) update time diff is written to the log file.

                    Update diff can be used as a performance indicator. Diff < 300: good

                    performance. Diff > 600 bad performance, may be caused by high CPU usage.

       Default:     60000 - (Enabled, 1 minute)

                    0     - (Disabled)

 

RecordUpdateTimeDiffInterval = 60000

 

    MinRecordUpdateTimeDiff

       Description: Only record update time diff which is greater than this value.

       Default:     100

 

MinRecordUpdateTimeDiff = 100

 

    PlayerStart.String

       Description: String to be displayed at first login of newly created characters.

        Default:    "" - (Disabled)

 

PlayerStart.String = ""

 

    LevelReq.Trade

       Description: Level requirement for characters to be able to trade.

       Default:     1

 

LevelReq.Trade = 1

 

    LevelReq.Ticket

       Description: Level requirement for characters to be able to write tickets.

       Default:     1

 

LevelReq.Ticket = 1

 

    LevelReq.Auction

       Description: Level requirement for characters to be able to use the auction house.

       Default:     1

 

LevelReq.Auction = 1

 

    LevelReq.Mail

       Description: Level requirement for characters to be able to send and receive mails.

       Default:     1

 

LevelReq.Mail = 1

 

    PlayerDump.DisallowPaths

       Description: Disallow using paths in PlayerDump output files

       Default:     1

 

PlayerDump.DisallowPaths = 1

 

    PlayerDump.DisallowOverwrite

       Description: Disallow overwriting existing files with PlayerDump

       Default:     1

 

PlayerDump.DisallowOverwrite = 1

 

    UI.ShowQuestLevelsInDialogs

       Description: Show quest levels next to quest titles in UI dialogs

       Example:     [13] Westfall Stew

       Default:     0  - (Do not show)

 

UI.ShowQuestLevelsInDialogs = 0

 

    Calculate.Creature.Zone.Area.Data

       Description: Calculate at loading creature zoneId / areaId and save in creature table (WARNING: SLOW WORLD SERVER STARTUP)

       Default:     0  - (Do not show)

 

Calculate.Creature.Zone.Area.Data = 0

 

    Calculate.Gameoject.Zone.Area.Data

       Description: Calculate at loading gameobject zoneId / areaId and save in gameobject table (WARNING: SLOW WORLD SERVER STARTUP)

       Default:     0  - (Do not show)

 

Calculate.Gameoject.Zone.Area.Data = 0

 

    NoGrayAggro

       Description: Gray mobs will not aggro players above/below some levels

                    NoGrayAggro.Above: If player is at this level or above, gray mobs will not attack

                    NoGrayAggro.Below: If player is at this level or below, gray mobs will not attack

       Example:     You can for example make players free from gray until they reach level 30.

                    Then gray will start to attack them, until they reach max level (80 for example):

                    NoGrayAggro.Above = 80

                    NoGrayAggro.Below = 29

       Default: 0 - (Blizzlike)

 

NoGrayAggro.Above = 0

NoGrayAggro.Below = 0

 

   PreventRenameCharacterOnCustomization

       Description: If option is set to 1, player can not rename the character in character customization.

                    Applies to all character customization commands.

       Default:     0 - (Disabled, character can be renamed in Character Customization)

                    1 - (Enabled, character can not be renamed in Character Customization)

 

PreventRenameCharacterOnCustomization = 0