Lore archive · Warcraft Wiki, 2023 dump
SavedVariables
Last wiki revision 2022-09-03
This is the name given to data which is saved by the user interface and addons between play sessions, storing things such as configurations, collected data, etc. Saved variables are stored in several different files:
All under :
- - only contains settings for Blizzard's own UI
- - global data, per AddOn
- - per-character data, per AddOn
The format of these files is plain Lua. In theory, you could put actual code in them and have it be loaded, but it would be overwritten the next time variables are saved.
Beware, if you have a copy of the in other locations than the correct one (specifically in your directory, but possibly not limited to it), then it will be loaded INSTEAD of the one in your account, yet the account one is saved upon logout. This gives the appearance of all addons forgetting their configuration, and can be solved by renaming or deleting the errant copy.
There are numerous resources relating to saved variables:
- Saving variables between game sessions
- The TOC Format - Description of the .toc file format
Categories
- Interface customization
Source
https://warcraft.wiki.gg/wiki/SavedVariables · 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.