Console variables

The World of Warcraft game client stores all of its configurations in console variables (CVars). These variables affect many aspects of the game, such as the graphics, the sound system and the interface. CVar information can be queried with

WTF
The Config.wtf file stores settings mostly relevant to game startup, such as  for the screen window size and   for the language. \World of Warcraft\_retail_\WTF\Config.wtf

The config-cache.wtf files are used for character and WoW account-specific settings. They are synchronized to the server if the CVar is enabled (by default). Character: \World of Warcraft\_retail_\WTF\Account\ \ \ \config-cache.wtf Account: \World of Warcraft\_retail_\WTF\Account\ \config-cache.wtf

Setting CVars
There are several ways of setting the console variables: /console scriptErrors 1
 * The most commonly used CVars can be configured in the Interface window settings.
 * With, for example:
 * The  command or launching the game with the   argument will allow you to open the Console window in-game by pressing the   or   key.
 * AddOns and scripts can set CVars by calling
 * Some CVars (e.g. for Nameplates) can only be set from  instead of with /console, this can be checked with

SET variableName "value"
 * The  files can be manually edited while the game is not running; they would otherwise be overwritten on reloading or logging out. The syntax for setting a variable in the WTF files is:

CVar Scope
Some CVars are character-specific or WoW account-specific, for example:
 * When setting, it will only be changed for your current character.
 * When setting, it will not be changed for any other WoW accounts on your Blizzard account.

Resetting CVars
Use or the  command to reset a specific CVar, for example:

/run SetCVar("autoSelfCast", GetCVarDefault("autoSelfCast"))

/console cvar_default autoSelfCast

The AdvancedInterfaceOptions addon can show which cvars were changed from the default:



Otherwise if you don't know the offending CVar, you will have to resort to resetting the whole user interface. /console cvar_default


 * Changing a character or account-specific CVar cannot be undone or reverted by uninstalling, repairing the game or deleting the WTF folder. They can only be reset as described above.

Removed
Please see Category:Removed console variables for the deprecated/removed cvars.