Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make settings character-specific #22

Open
DarthKsane opened this issue Oct 24, 2020 · 0 comments
Open

Make settings character-specific #22

DarthKsane opened this issue Oct 24, 2020 · 0 comments

Comments

@DarthKsane
Copy link
Contributor

Hi!
It would be wonderful to have different currency lists per character.
I found two ways of making this.

  1. 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.
  2. 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant