Lore archive · Warcraft Wiki, 2023 dump
Console variables
Last wiki revision 2023-08-02
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.
The value of a CVar can be queried with. The complete list of CVars is available from.
There are several ways of setting the console variables. The most commonly used CVars are tied to the Interface window settings.
AddOns and scripts can set CVars by calling.
With the slash command. /console scriptErrors 1
The command or launching the game with the argument will allow you to open the Console window in-game by pressing the or key.
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). World of Warcraft\_retail_\WTF\Account\<font color="#8080FF"><AccountName> \<font color="#8080FF"><Server> \<font color="#8080FF"><Character> \config-cache.wtf World of Warcraft\_retail_\WTF\Account\<font color="#8080FF"><AccountName> \config-cache.wtf
Config files can be manually edited while the game is not running; they would otherwise be overwritten on reloading or logging out.
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.
Use or the command to reset a CVar, for example: /console cvar_default autoSelfCast
The AdvancedInterfaceOptions addon can show which cvars were changed from the default:
To reset 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 as they will be synchronized from the server again.
Categories
- Console variables
Source
https://warcraft.wiki.gg/wiki/Console_variables · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.