DataStore is the main component of a series of addons that serve as data repositories in game. Their respective purpose is to offer scanning and storing services to other addons.

The advantages of this approach are:

  • data is scanned only once for all client addons (performance gain).
  • data is stored only once for all client addons (memory gain).
  • addon authors can spend more time coding higher level features.
  • each module is an independant addon, and therefore has its own SavedVariables file, meaning that you could clean _Crafts without disturbing _Containers.

Scope : a note to contributing authors

The core of the database is based on my work in Altoholic, and is thus designed with multiple-account support in mind. If client addons want to store data from foreign accounts, the database will be ready for it. Nothing is final at this point though, feel free to contribute, as the concept can and will be perfected.

The scope of each addons is to provide common methods for client addons. For instance, DataStore_Crafts embeds LibPeriodicTable-3.1-Tradeskill allowing it to give more than just scanning & storing data. However, the goal is not to put _everything_ into these addons, they must be seen as an abstraction layer and a service provider, nothing more.

These libraries cannot and should not be embedded, as they all manage their respective SavedVariables.

Existing modules

Each module will exist as a separate addon, so that authors can package only the ones they want with their own project.

More modules will come later.

Information Pages

  • Project overview : A slightly more detailed overview of the scope
  • API : Samples of commonly used methods (work-in-progress)

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of DanoPDX DanoPDX Sep 23, 2015 at 20:14 UTC - 0 likes

    I'm getting an odd error with DataStore and a few mods.  I uninstalled two mods in case they were conflicting with DataStore.  In doing so I replaced Ackis Recipe List and TradeSkill Info with DataStore Crafts.  Hopefully DataStore Crafts gives about the same functionality as I have not had time to test everything.

    The final mod that is giving me an issue is AutoVendor.  Both AutoVendor and DataStore are kept up to date.  Which mod is causing the error? Is there a fix for this issue?

    Date: 2015-09-23 13:07:07
    ID: 1
    Error occurred in: Global
    Count: 1
    Message: ...ns\DataStore_Achievements\DataStore_Achievements.lua line 183:
       Usage: GetPreviousAchievement(achievementID)
       (tail call): ?
       [C]: GetPreviousAchievement()
       [string "safecall Dispatcher[1]"]:4:
          [string "safecall Dispatcher[1]"]:4
       [C]: ?
       [string "safecall Dispatcher[1]"]:13: ?()
       ...ory\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 Fire()

    My [[|mod list]] is rather long.  I put it on pastebin.

    Last edited Sep 23, 2015 by DanoPDX
  • Avatar of Farmbuyer Farmbuyer Dec 15, 2014 at 00:57 UTC - 0 likes

    It's been two months since the last alpha. Could you please tag a formal release so that WoD/6.x will finally be able to use the DataStore stuff?

  • Avatar of Mandy8311 Mandy8311 Nov 24, 2014 at 01:00 UTC - 0 likes

    Will you be updating this mod for 6.03?

  • Avatar of Hendo72 Hendo72 Sep 28, 2013 at 16:56 UTC - 0 likes

    I commented about this previously, but received no response.

    I'm still having an issue with datastore and it's modules being uninstalled during updates using Curse Client. I've had to re-install the entire set twice in the last week.

    I haven't pinpointed which addons are doing it, but I'll update this comment when I know.

    I didn't say it was your fault. I said I was going to blame you.

  • Avatar of 420Bunny 420Bunny Sep 12, 2013 at 01:13 UTC - 0 likes

    If I am having an issue with a DataStore function do I post a ticket here or on the module page that I think is giving me problems? (DataStore_Auctions is not storing auction data correctly...its duplicating items...I have to go into the SavVar file and delete out the 800+ lines)

    Edit: I believe I found where the duplicates are being created. I was being lazy and selecting the entire Professions group in TSM_Auctioning instead of just the group I had created for the 400+ glyphs I craft/sell.

    Edit#2: duplicates still being created even with just selecting single craft group in TSM.. posting ticket because having to constantly exit game/delete data from DataStore_Auctions SavVar file is getting annoying

    Last edited Sep 12, 2013 by 420Bunny
  • Avatar of Lombra Lombra Jun 22, 2013 at 13:35 UTC - 0 likes

    not sure where feedback is best suited, but I've found that you need to monitor VOID_STORAGE_UPDATE for void storage items to properly get stored the first time you open void storage, as they are not available on the first VOID_STORAGE_OPEN.

  • Avatar of Thaoky Thaoky Mar 12, 2013 at 09:29 UTC - 0 likes

    @WoWEye: Go

    Yes it will, DataStore & its modules are the foundations of Altoholic, so the latest versions must ALWAYS be used.

    I recommend making a manual download of Altoholic, and to avoid the Curse Client. It is fine for simple addons, but with the architecture of Altoholic+DataStore, the packaging system is not always working fine. I discussed this with admins in the past, it would require big changes on their side to make it work smoothly, so we have to live with it.

  • Avatar of WoWEye WoWEye Feb 15, 2013 at 18:58 UTC - 0 likes

    I notice that updating Altoholic (with curse client) for some reason does not grab the updated DataStore files. Example - my datastore mails is r26 and when i look here there's r38....

    Now, if i grab the r38 and drop it in my folder, will it play nice with the rest of the addon ??

  • Avatar of UABMaddog UABMaddog Aug 19, 2012 at 15:24 UTC - 0 likes

    I have several accounts and use several computer. I was curious if there is a way to copy the database files between computers to keep the data up to date. I log onto all my toons once a month and open their bank/guild bank/bags/professions to keep track of mats and skills. I would love to do this on one computer and use it as the "master" to clone/copy to the other computers.

  • Avatar of Hendo72 Hendo72 Jun 17, 2012 at 16:59 UTC - 0 likes

    Out of curiosity, what would be un-installing ALL of my DataStore files? I've had to re-install my DataStore files twice in the last couple weeks.

    I'm guessing I've updated one of my addons, but I don't understand why it would remove these files.


Date created
Jul 30, 2009
Last update
Aug 17, 2015
Development stage
All Rights Reserved
Curse link
Reverse relationships
Recent files
  • A: r55 for 6.2.0 Aug 17, 2015
  • A: r54 for 6.1.0 Apr 06, 2015
  • A: r53 for 6.1.0 Feb 25, 2015
  • A: r52 for 6.0.3 Jan 09, 2015
  • A: r51 for 6.0.3 Dec 27, 2014