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

925 阅读6分钟

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

我是艾西,今天把很多小伙伴需要的魔兽worldserver.conf 服务端配置文件说明分享给大家,大家可以自己研究参考下

worldserver.conf 这个文件是服务端的配置文件,可以在这里做很多个性化修改

注意:修改这个必须重启服务端才能生效

首先这个文件要使用支持 utf-8 格式的文本编辑器,比如 VS code,sublime 等等,不要用记事本编辑

下面就来说说其中的部分设置

MaxOverspeedPings = 2,玩家超速检查,2 为正常检查,3+ 为加强检查(比 2 更难踢),0 为不检查超速

MaxPlayerLevel = 80,最高等级

StartPlayerLevel = 1,新人物等级

StartDeathKnightPlayerLevel = 55,死骑新人物等级

StartPlayerMoney = 0,新人物初始金钱(铜币)

AllFlightPaths = 0,1 为打开全部飞行路线(双方阵营),0 为关闭

InstantFlightPaths = 0,1 为飞行时瞬间到达目的地,0 为正常飞行

Instance.IgnoreLevel = 1,进副本不检查等级,设置为 0 为需要相应等级才能进入

Instance.IgnoreRaid = 1,进副本不需要团队,一个人就可以进入,设置为 0 则需要团队才能进入

Motd = "Welcome to a Trinity Core server.",进入服务器的欢迎语,使用 @ 符号换行,比如 “欢迎光临~@xspio 测试服务器”

DBC.EnforceItemAttributes = 1,1 为物品使用 DBC 文件中的属性,0 则物品使用数据库中的属性

Warden.Enabled = 0,为 1 时开启 Warden 反作弊系统

下面为各项人物属性倍率,1 为正常倍率,增大后增加各项属性值

Rate.Health            = 1,生命

Rate.Mana              = 1,魔法

Rate.Rage.Income       = 1,怒气加

Rate.Rage.Loss         = 1,怒气减

Rate.RunicPower.Income = 1,符能加

Rate.RunicPower.Loss   = 1,符能减

Rate.Focus             = 1,专注

Rate.Energy            = 1,能量

Rate.Loyalty           = 1,忠诚度

下面为掉率,1 为正常倍率,增大后会增加掉落几率

Rate.Drop.Item.Poor             = 1,低劣物品

Rate.Drop.Item.Normal           = 1,普通物品

Rate.Drop.Item.Uncommon         = 1,罕见物品

Rate.Drop.Item.Rare             = 1,稀有物品

Rate.Drop.Item.Epic             = 1,史诗物品

Rate.Drop.Item.Legendary        = 1,传奇物品

Rate.Drop.Item.Artifact         = 1,工艺品

Rate.Drop.Item.Referenced       = 1,参照物品

Rate.Drop.Money                 = 1,金钱

下面为经验倍率,1 为正常倍率,增大后会增加数额

Rate.XP.Kill    = 1,击杀经验

Rate.XP.Quest   = 1,任务经验

Rate.XP.Explore = 1,开图经验

其他倍率,1 为正常倍率

Rate.RepairCost = 1,修理费用

Rate.Honor = 1,荣誉

Rate.Talent = 1,天赋点

Rate.MoveSpeed = 1,移动速度

 

 

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

Core World Server configuration file

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

[worldserver]

 

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

SECTION INDEX

   EXAMPLE CONFIG

   CONNECTIONS AND DIRECTORIES

   PERFORMANCE SETTINGS

   SERVER LOGGING

   SERVER SETTINGS

   UPDATE SETTINGS

   HOTSWAP SETTINGS

   WARDEN SETTINGS

   PLAYER INTERACTION

   CREATURE SETTINGS

   SPAWN/RESPAWN SETTINGS

   CHAT SETTINGS

   GAME MASTER SETTINGS

   VISIBILITY AND DISTANCES

   SERVER RATES

   STATS LIMITS

   AUTO BROADCAST

   BATTLEGROUND CONFIG

   BATTLEFIELD CONFIG

   ARENA CONFIG

   NETWORK CONFIG

   CONSOLE AND REMOTE ACCESS

   CHARACTER DELETE OPTIONS

   CUSTOM SERVER OPTIONS

   AUCTION HOUSE BOT SETTINGS

   AUCTION HOUSE BOT ITEM FINE TUNING

   AUCTION HOUSE BOT BUYER CONFIG

   LOGGING SYSTEM SETTINGS

   PACKET SPOOF PROTECTION SETTINGS

   METRIC SETTINGS

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

 

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

EXAMPLE CONFIG

   Variable

       Description: Brief description what the variable is doing.

       Important:   Annotation for important things about this variable.

       Example:     "Example, i.e. if the value is a string"

       Default:     10 - (Enabled|Comment|Variable name in case of grouped config options)

                    0  - (Disabled|Comment|Variable name in case of grouped config options)

Note to developers:

- Copy this example to keep the formatting.

- Line breaks should be at column 100.

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

 

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

CONNECTIONS AND DIRECTORIES

   RealmID 默认服务器ID,单设备多服务器配置

       Description: ID of the Realm using this config.

       Important:   RealmID must match the realmlist inside the auth database.

       Default:     1

 

RealmID = 1

 

   DataDir 数据目录

       Description: Data directory setting.

       Important:   DataDir needs to be quoted, as the string might contain space characters.

       Example:     "@prefix@/share/xxxxCore"

       Default:     "."

 

DataDir = "data"

 

   LogsDir 日志目录

       Description: Logs directory setting.

       Important:   LogsDir needs to be quoted, as the string might contain space characters.

                    Logs directory must exists, or log file creation will be disabled.

       Default:     "" - (Log files will be stored in the current path)

 

LogsDir = "logs"

 

   LoginDatabaseInfo 登陆数据库信息

   WorldDatabaseInfo 游戏数据库信息

   CharacterDatabaseInfo 角色数据库信息

       Description: Database connection settings for the world server.

       Example:     "hostname;port;username;password;database"

                    ".;somenumber;username;password;database" - (Use named pipes on Windows

                                                                "enable-named-pipe" to [mysqld]

                                                                section my.ini)

                    ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on

                                                                          Unix/Linux)

       Default:     "xxx.xxx.xxx.xxx(你自己服务器IP地址);3306(默认游戏业务端口);trinity;trinity;auth"       - (LoginDatabaseInfo)

                    "xxx.xxx.xxx.xxx(你自己服务器IP地址);3306(默认游戏业务端口);trinity;trinity;world"      - (WorldDatabaseInfo)

                    "xxx.xxx.xxx.xxx(你自己服务器IP地址);3306(默认游戏业务端口);trinity;trinity;characters" - (CharacterDatabaseInfo)

                      服务器IP;数据库端口;数据库名;数据库密码;数据库

   Don't change hostname unless you are hosting mysql on a different machine, if you need help

   with configuration allowing to connect from diferent machine than the one running server

   search for TCE00016 on forum.

   Don't open port on firewall to external connections (it belongs to mysql, not to wow server).

   The username you choose must have permisions to create/alter/rename tables.

 

LoginDatabaseInfo     = "xxx.xxx.xxx.xxx(你自己服务器IP地址);3306(默认游戏业务端口);root;ascent;auth"

WorldDatabaseInfo     = "xxx.xxx.xxx.xxx(你自己服务器IP地址);3306(默认游戏业务端口);root;ascent;world"

CharacterDatabaseInfo = "xxx.xxx.xxx.xxx(你自己服务器IP地址);3306(默认游戏业务端口);root;ascent;characters"

 

   多线程配置

   LoginDatabase.WorkerThreads 登陆线程

   WorldDatabase.WorkerThreads 服务器线程

   CharacterDatabase.WorkerThreads 角色线程

       Description: The amount of worker threads spawned to handle asynchronous (delayed) MySQL

                    statements. Each worker thread is mirrored with its own connection to the

                    MySQL server and their own thread on the MySQL server.

       Default:     1 - (LoginDatabase.WorkerThreads)

                    1 - (WorldDatabase.WorkerThreads)

                    1 - (CharacterDatabase.WorkerThreads)

 

LoginDatabase.WorkerThreads     = 1

WorldDatabase.WorkerThreads     = 1

CharacterDatabase.WorkerThreads = 1

 

   同步线程配置

   LoginDatabase.SynchThreads

   WorldDatabase.SynchThreads

   CharacterDatabase.SynchThreads

       Description: The amount of MySQL connections spawned to handle.

       Default:     1 - (LoginDatabase.SynchThreads)

                    1 - (WorldDatabase.SynchThreads)

                    2 - (CharacterDatabase.SynchThreads)

 

LoginDatabase.SynchThreads     = 1

WorldDatabase.SynchThreads     = 1

CharacterDatabase.SynchThreads = 2

 

   数据库保持时间

   MaxPingTime

       Description: Time (in minutes) between database pings.

       Default:     30

 

MaxPingTime = 30

 

   ================ 服务器端口,只要参数之一 =============

   WorldServerPort

       Description: TCP port to reach the world server.

       Default:     8085

 

WorldServerPort = 8085

 

   绑定IP

   BindIP

       Description: Bind world server to IP/hostname.

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

 

BindIP = "0.0.0.0"

 

   线程池数量

   ThreadPool

       Description: Number of threads to be used for the global thread pool

                    The thread pool is currently used for:

                     - Signal handling

                     - Remote access

                     - Database keep-alive ping

                     - Core freeze check

                     - World socket networking

       Default:     2

 

ThreadPool = 2

 

   编译命令

   CMakeCommand

       Description: The path to your CMake binary.

                    If the path is left empty, the built-in CMAKE_COMMAND is used.

       Example:     "C:/Program Files (x86)/CMake/bin/cmake.exe"

                    "/usr/bin/cmake"

       Default:     ""

 

CMakeCommand  = ""

 

   编译目录

   BuildDirectory

       Description: The path to your build directory.

                    If the path is left empty, the built-in CMAKE_BINARY_DIR is used.

       Example:     "../xxxxCore"

       Default:     ""

 

BuildDirectory  = ""

 

   源码目录

   SourceDirectory

       Description: The path to your xxxxCore source directory.

                    If the path is left empty, the built-in CMAKE_SOURCE_DIR is used.

       Example:     "../xxxxCore"

       Default:     ""

 

SourceDirectory  = ""

 

   数据库执行文件

   MySQLExecutable

       Description: The path to your mysql cli binary.

                    If the path is left empty, built-in path from cmake is used.

       Example:     "C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe"

                    "mysql.exe"

                    "/usr/bin/mysql"

       Default:     ""

 

MySQLExecutable = ""

 

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

 

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

PERFORMANCE SETTINGS   性能配置

  用户CPU设置

   UseProcessors

       Description: Processors mask for Windows and Linux based multi-processor systems.

       Example:     A computer with 2 CPUs:

                    1  - 1st CPU only, 2 - 2nd CPU only, 3 - 1st and 2nd CPU, because 1 | 2 is 3

       Default:     0  - (Selected by OS)

                    1+ - (Bit mask value of selected processors)

 

UseProcessors = 0

 

   进程优先级

   ProcessPriority

       Description: Process priority setting for Windows and Linux based systems.

       Details:     On Linux, a nice value of -15 is used. (requires superuser).

                    On Windows, process is set to HIGH class.

       Default:     0 - (Normal)

                    1 - (High)

 

ProcessPriority = 0

 

   压缩:客户端更新压缩级别

   Compression

       Description: Compression level for client update packages.

       Range:       1-9

       Default:     1   - (Speed)

                    9   - (Best compression)

 

Compression = 1

 

   用户限制

   PlayerLimit

       Description: Maximum number of players in the world. Excluding Mods, GMs and Admins.

         Important: If you want to block players and only allow Mods, GMs or Admins to join the

                    server, use the DB field "auth.realmlist.allowedSecurityLevel".

           Default: 0   - (Disabled, No limit)

                    1+  - (Enabled)

 

PlayerLimit = 0

 

   SaveRespawnTimeImmediately

       Description: Save respawn time for creatures at death and gameobjects at use/open.

       Default:     1 - (Enabled, Save respawn time immediately)

                    0 - (Disabled, Save respawn time at grid unloading)

 

SaveRespawnTimeImmediately = 1

 

   MaxOverspeedPings

       Description: Maximum overspeed ping count before character is disconnected.

       Default:     2  - (Enabled, Minimum value)

                    3+ - (Enabled, More checks before kick)

                    0  - (Disabled)

 

MaxOverspeedPings = 2

 

   GridUnload

       Description: Unload grids to save memory. Can be disabled if enough memory is available

                    to speed up moving players to new grids.

       Default:     1 - (enable, Unload grids)

                    0 - (disable, Do not unload grids)

 

GridUnload = 1

 

   BaseMapLoadAllGrids

       Description: Load all grids for base maps upon load. Requires GridUnload to be 0.

                    This will take around 5GB of ram upon server load, and will take some time

                    to initially load the server.

       Default:     0 - (Don't pre-load all base maps, dynamically load as used)

                    1 - (Preload all grids in all base maps upon load)

 

BaseMapLoadAllGrids = 0

 

   InstanceMapLoadAllGrids

       Description: Load all grids for instance maps upon load. Requires GridUnload to be 0.

                    Upon loading an instance map, all creatures/objects in the map will be pre-loaded

       Default:     0 - (Don't pre-load all base maps, dynamically load as used)

                    1 - (Preload all grids in the instance upon load)

 

InstanceMapLoadAllGrids = 0

 

   连接超时时间

   SocketTimeOutTime

       Description: Time (in milliseconds) after which a connection being idle on the character

                    selection screen is disconnected.

       Default:     900000 - (15 minutes)

 

SocketTimeOutTime = 900000

 

   离开时间

   SocketTimeOutTimeActive

       Description: Time (in milliseconds) after which an idle connection is dropped while

                    logged into the world.

                    The client sends keepalive packets every 30 seconds. Values <= 30s are not recommended.

       Default:     60000 - (1 minute)

 

SocketTimeOutTimeActive = 60000

 

   会话延迟

   SessionAddDelay

       Description: Time (in microseconds) that a network thread will sleep after authentication

                    protocol handling before adding a connection to the world session map.

       Default:     10000 - (10 milliseconds, 0.01 second)

 

SessionAddDelay = 10000

 

   GridCleanUpDelay

       Description: Time (in milliseconds) grid clean up delay.

       Default:     300000 - (5 minutes)

 

GridCleanUpDelay = 300000

 

   地图更新周期

   MapUpdateInterval

       Description: Time (milliseconds) for map update interval.

       Default:     100 - (0.1 second)

 

MapUpdateInterval = 100

 

   天气更换周期

   ChangeWeatherInterval

       Description: Time (in milliseconds) for weather update interval.

       Default:     600000 - (10 min)

 

ChangeWeatherInterval = 600000

 

   角色保存周期

   PlayerSaveInterval

       Description: Time (in milliseconds) for player save interval.

       Default:     90000 - (90 seconds)

 

PlayerSaveInterval = 90000

 

   PlayerSave.Stats.MinLevel

       Description: Minimum level for saving character stats in the database for external usage.

       Default:     0  - (Disabled, Do not save character stats)

                    1+ - (Enabled, Level beyond which character stats are saved)

 

PlayerSave.Stats.MinLevel = 0

 

   PlayerSave.Stats.SaveOnlyOnLogout

       Description: Save player stats only on logout.

       Default:     1 - (Enabled, Only save on logout)

                    0 - (Disabled, Save on every player save)

 

PlayerSave.Stats.SaveOnlyOnLogout = 1

 

   DisconnectToleranceInterval

       Description: Tolerance (in seconds) for disconnected players before reentering the queue.

       Default: 0 (disabled)

 

DisconnectToleranceInterval = 0

 

   mmap.enablePathFinding

       Description: Enable/Disable pathfinding using mmaps - recommended.

       Default:     0 - (Disabled)

                    1 - (Enabled)

 

mmap.enablePathFinding = 0

 

   vmap.enableLOS

   vmap.enableHeight

       Description: VMmap support for line of sight and height calculation.

       Default:     1 - (Enabled, vmap.enableLOS)

                    1 - (Enabled, vmap.enableHeight)

                    0 - (Disabled)

 

vmap.enableLOS    = 1

vmap.enableHeight = 1

 

   vmap.enableIndoorCheck

       Description: VMap based indoor check to remove outdoor-only auras (mounts etc.).

       Default:     1 - (Enabled)

                    0 - (Disabled, somewhat less CPU usage)

 

vmap.enableIndoorCheck = 1

 

   DetectPosCollision

       Description: Check final move position, summon position, etc for visible collision with

                    other objects or walls (walls only if vmaps are enabled).

       Default:     1 - (Enabled)

                    0 - (Disabled, Less position precision but less CPU usage)

 

DetectPosCollision = 1

 

   CheckGameObjectLoS

       Description: Include dynamic game objects (doors, chests etc.) in line of sight checks.

                    This increases CPU usage somewhat.

       Default:     1 - (Enabled)

                    0 - (Disabled, may break some boss encounters)

 

CheckGameObjectLoS = 1

 

   TargetPosRecalculateRange

       Description: Max distance from movement target point (+moving unit size) and targeted

                    object (+size) after that new target movement point calculated.

       Range:       0.5-5.0

       Default:     1.5

                    0.5 - (Minimum, Contact Range, More sensitive reaction to target movement)

                    5.0 - (Maximum, Melee attack range, Less CPU usage)

 

TargetPosRecalculateRange = 1.5

 

   UpdateUptimeInterval

       Description: Update realm uptime period (in minutes).

       Default:     10 - (10 minutes)

                    1+

 

UpdateUptimeInterval = 10

 

   LogDB.Opt.ClearInterval

       Description: Time (in minutes) for the WUPDATE_CLEANDB timer that clears the logs table

                    of old entries.

       Default:     10 - (10 minutes)

                    1+

 

LogDB.Opt.ClearInterval = 10

 

   LogDB.Opt.ClearTime

       Description: Time (in seconds) for keeping old logs table entries.

       Default:     1209600 - (Enabled, 14 days)

                    0       - (Disabled, Do not clear entries)

 

LogDB.Opt.ClearTime = 1209600

 

   MaxCoreStuckTime

       Description: Time (in seconds) before the server is forced to crash if it is frozen.

       Default:     0   - (Disabled)

                    10+ - (Enabled, Recommended 10+)

 

MaxCoreStuckTime = 0

 

   AddonChannel

       Description: Configure the use of the addon channel through the server (some client side

                    addons will not work correctly with disabled addon channel)

       Default:     1 - (Enabled)

                    0 - (Disabled)

 

AddonChannel = 1

 

   MapUpdate.Threads

       Description: Number of threads to update maps.

       Default:     1

 

MapUpdate.Threads = 1

 

   CleanCharacterDB

       Description: Clean out deprecated achievements, skills, spells and talents from the db.

       Default:     0 - (Disabled)

                    1 - (Enable)

 

CleanCharacterDB = 0

 

   PersistentCharacterCleanFlags

       Description: Determines the character clean flags that remain set after cleanups.

                    This is a bitmask value, check /doc/CharacterDBCleanup.txt for more

                    information.

       Example:     14 - (Cleaning up skills, talents and spells will remain enabled after the

                          next cleanup)

       Default:     0  - (All cleanup methods will be disabled after the next cleanup)

 

PersistentCharacterCleanFlags = 0

 

   Auction.GetAllScanDelay

       Description: Sets the minimum time in seconds, a single player character can perform a getall scan.

                    The value is only held in memory so a server restart will clear it.

                    Setting this to zero, will disable GetAll functions completely.

       Default:     900 - (GetAll scan limited to once every 15mins per player character)

 

Auction.GetAllScanDelay = 900

 

   Auction.SearchDelay

       Description: Sets the minimum time in milliseconds (seconds x 1000), that the client must wait between

                    auction search operations. This can be increased if somehow Auction House activity is causing

                    too much load.

       Default:     300 - (Time delay between auction searches set to 0.3secs)

 

Auction.SearchDelay = 300

 

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

 

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

SERVER LOGGING

   PidFile

       Description: World daemon PID file.

       Example:     "./world.pid" - (Enabled)

       Default:     ""            - (Disabled)

 

PidFile = ""

 

   PacketLogFile

       Description: Binary packet logging file for the world server.

                    Filename extension must be .pkt to be parsable with WowPacketParser.

       Example:     "World.pkt" - (Enabled)

       Default:     ""          - (Disabled)

 

PacketLogFile = ""

 

Extended Logging system configuration moved to end of file (on purpose)

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

 

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

SERVER SETTINGS 服务器配置

   GameType

       Description: Server realm type.

       Default:     0  - (NORMAL)

                    1  - (PVP)

                    4  - (NORMAL)

                    6  - (RP)

                    8  - (RPPVP)

                    16 - (FFA_PVP, Free for all pvp mode like arena PvP in all zones except rest

                         activated places and sanctuaries)

 

GameType = 0

 

   大区

   RealmZone

       Description: Server realm zone. Set allowed alphabet in character, etc. names.

       Default      1  - (Development   - any language)

                    2  - (United States - extended-Latin)

                    3  - (Oceanic       - extended-Latin)

                    4  - (Latin America - extended-Latin)

                    5  - (Tournament    - basic-Latin at create, any at login)

                    6  - (Korea         - East-Asian)

                    7  - (Tournament    - basic-Latin at create, any at login)

                    8  - (English       - extended-Latin)

                    9  - (German        - extended-Latin)

                    10 - (French        - extended-Latin)

                    11 - (Spanish       - extended-Latin)

                    12 - (Russian       - Cyrillic)

                    13 - (Tournament    - basic-Latin at create, any at login)

                    14 - (Taiwan        - East-Asian)

                    15 - (Tournament    - basic-Latin at create, any at login)

                    16 - (China         - East-Asian)

                    17 - (CN1           - basic-Latin at create, any at login)

                    18 - (CN2           - basic-Latin at create, any at login)

                    19 - (CN3           - basic-Latin at create, any at login)

                    20 - (CN4           - basic-Latin at create, any at login)

                    21 - (CN5           - basic-Latin at create, any at login)

                    22 - (CN6           - basic-Latin at create, any at login)

                    23 - (CN7           - basic-Latin at create, any at login)

                    24 - (CN8           - basic-Latin at create, any at login)

                    25 - (Tournament    - basic-Latin at create, any at login)

                    26 - (Test Server   - any language)

                    27 - (Tournament    - basic-Latin at create, any at login)

                    28 - (QA Server     - any language)

                    29 - (CN9           - basic-Latin at create, any at login)

 

RealmZone = 1

 

   账号限制

   StrictPlayerNames

       Description: Limit player name to language specific symbol set. Prevents character

                    creation and forces rename request if not allowed symbols are used

       Default:     0 - (Disable, Limited server timezone dependent client check)

                    1 - (Enabled, Strictly basic Latin characters)

                    2 - (Enabled, Strictly realm zone specific, See RealmZone setting,

                        Note: Client needs to have the appropriate fonts installed which support

                        the charset. For non-official localization, custom fonts need to be

                        placed in clientdir/Fonts.

                    3 - (Enabled, Basic Latin characters + server timezone specific)

 

StrictPlayerNames = 0

 

   角色名称限制

   StrictCharterNames

       Description: Limit guild/arena team charter names to language specific symbol set.

                    Prevents charter creation if not allowed symbols are used.

       Default:     0 - (Disable, Limited server timezone dependent client check)

                    1 - (Enabled, Strictly basic Latin characters)

                    2 - (Enabled, Strictly realm zone specific, See RealmZone setting,

                        Note: Client needs to have the appropriate fonts installed which support

                        the charset. For non-official localization, custom fonts need to be

                        placed in clientdir/Fonts.

                    3 - (Enabled, Basic Latin characters + server timezone specific)

 

StrictCharterNames = 0

 

   宠物名称限制

   StrictPetNames

       Description: Limit pet names to language specific symbol set.

                    Prevents pet naming if not allowed symbols are used.

       Default:     0 - (Disable, Limited server timezone dependent client check)

                    1 - (Enabled, Strictly basic Latin characters)

                    2 - (Enabled, Strictly realm zone specific, See RealmZone setting,

                        Note: Client needs to have the appropriate fonts installed which support

                        the charset. For non-official localization, custom fonts need to be

                        placed in clientdir/Fonts.

                    3 - (Enabled, Basic Latin characters + server timezone specific)

 

StrictPetNames = 0

 

   语言检测

   DBC.Locale

       Description: DBC language settings.

       Default:     255 - (Auto Detect)

                    0   - (English)

                    1   - (Korean)

                    2   - (French)

                    3   - (German)

                    4   - (Chinese)

                    5   - (Taiwanese)

                    6   - (Spanish)

                    7   - (Spanish Mexico)

                    8   - (Russian)

 

DBC.Locale = 255

 

   DeclinedNames

       Description: Allow Russian clients to set and use declined names.

       Default:     0 - (Disabled, Except when the Russian RealmZone is set)

                    1 - (Enabled)

 

DeclinedNames = 0

 

   Expansion

       Description: Allow server to use content from expansions. Checks for expansion-related

                    map files, client compatibility and class/race character creation.

       Default:     2 - (Expansion 2)

                    1 - (Expansion 1)

                    0 - (Disabled, Ignore and disable expansion content (maps, races, classes)

 

Expansion = 2

 

   最小帐户名

   MinPlayerName

       Description: Minimal player name length.

       Range:       1-12

       Default:     2

 

MinPlayerName = 2

 

   最小角色名

   MinCharterName

       Description: Minimal charter name length.

       Range:       1-24

       Default:     2

 

MinCharterName = 2

 

   最小宠物名

   MinPetName

       Description: Minimal pet name length.

       Range:       1-12

       Default:     2

 

MinPetName = 2

 

   工会注册花费

   Guild.CharterCost

   ArenaTeam.CharterCost.2v2

   ArenaTeam.CharterCost.3v3

   ArenaTeam.CharterCost.5v5

       Description: Amount of money (in Copper) the petitions costs.

       Default:     1000 - (10 Silver)

                    800000 - (80 Gold)

                    1200000 - (120 Gold)

                    2000000 - (200 Gold)

 

Guild.CharterCost = 1000

ArenaTeam.CharterCost.2v2 = 800000

ArenaTeam.CharterCost.3v3 = 1200000

ArenaTeam.CharterCost.5v5 = 2000000

 

   最大玩家列表数

   MaxWhoListReturns

       Description: Set the max number of players returned in the /who list and interface.

       Default:     49 - (stable)

 

MaxWhoListReturns = 49

 

   

   CharacterCreating.Disabled

       Description: Disable character creation for players based on faction.

       Default:     0 - (Enabled, All factions are allowed)

                    1 - (Disabled, Alliance)

                    2 - (Disabled, Horde)

                    3 - (Disabled, Both factions)

 

CharacterCreating.Disabled = 0

 

   CharacterCreating.Disabled.RaceMask

       Description: Mask of races which cannot be created by players.

       Example:     1536 - (1024 + 512, Blood Elf and Draenei races are disabled)

       Default:     0    - (Enabled, All races are allowed)

                    1    - (Disabled, Human)

                    2    - (Disabled, Orc)

                    4    - (Disabled, Dwarf)

                    8    - (Disabled, Night Elf)

                    16   - (Disabled, Undead)

                    32   - (Disabled, Tauren)

                    64   - (Disabled, Gnome)

                    128  - (Disabled, Troll)

                    512  - (Disabled, Blood Elf)

                    1024 - (Disabled, Draenei)

 

CharacterCreating.Disabled.RaceMask = 0

 

   CharacterCreating.Disabled.ClassMask

       Description: Mask of classes which cannot be created by players.

       Example:     288 - (32 + 256, Death Knight and Warlock classes are disabled)

       Default:     0    - (Enabled, All classes are allowed)

                    1    - (Disabled, Warrior)

                    2    - (Disabled, Paladin)

                    4    - (Disabled, Hunter)

                    8    - (Disabled, Rogue)

                    16   - (Disabled, Priest)

                    32   - (Disabled, Death Knight)

                    64   - (Disabled, Shaman)

                    128  - (Disabled, Mage)

                    256  - (Disabled, Warlock)

                    1024 - (Disabled, Druid)

 

CharacterCreating.Disabled.ClassMask = 0

 

   限制一个账号角色数量

   CharactersPerAccount

       Description: Limit number of characters per account on all realms on this realmlist.

       Important:   Number must be >= CharactersPerRealm

       Default:     50

 

CharactersPerAccount = 50