evil-morfar / RCLootCouncil2

RCLootCouncil - addon for World of Warcraft
https://rclootcouncil.com
GNU Lesser General Public License v3.0
19 stars 29 forks source link

Sync modules #97

Closed SafeteeWoW closed 6 years ago

SafeteeWoW commented 6 years ago
evil-morfar commented 6 years ago

The intent with the global sync handler is for modules to add it themself. RCLootCouncil cannot know where all of a module's settings is located, nor assume modules actually store their stuff in the right place.

While you're right about the current profile should be wiped, it's not that simple. For example the bonus roll added to db.responses would be removed if a user using EU receives settings from someone that doesn't.

It's also only possible to sync settings that the sender actually has - if we have another set of modules installed we don't expect the sync to change any of those settings.