Make settings character-specific
DarthKsane opened this issue ยท 0 comments
Hi!
It would be wonderful to have different currency lists per character.
I found two ways of making this.
- Easiest. In Scoreboard.toc change "SavedVariables: ScoreboardSettings" to "SavedVariablesPerCharacter: ScoreboardSettings".
After that all settings would be saved in "WTF\Account\ACCOUNTNAME\RealmName\CharacterName\SavedVariables". And that's it. - Complicated but flexible. Make character-specific settings support inside addon manually.
I started to code this and make function getDB (for nice looking and future adding character name inside getDB and setDB) DarthKsane@6cbe585
but then suddenly found out about 1st way.