View Single Post
02-02-24, 01:19 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,892
Your .toc file requires a ## SavedVariables: entry that matches the name of your LibStub("AceDB-3.0"):New(...) setting

eg:
Code:
## SavedVariables: RandomHearthToyDB
This tells the game to write the variable(s) to disk when the player logs off/reloads.

There is also ## SavedVariablesPerCharacter: to save the information seperately for each character.

Many addons will create a single "global" variable set (## SavedVariables) and manage individual character information within that using profiles (sets of information that can be assigned to one or more characters)

More information Here
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 02-02-24 at 01:39 PM.
  Reply With Quote