Lose blueprints when leaving clanSuggestion
Is it possible to make it where when you leave a clan you lose the blueprints that were shared with you?
This feature has been suggested before and I looked into trying to implement the feature but the issues I ran into were that there is no way to individually remove a learnt blueprint. Also the clans plugin api doesn't provide an easy way of seeing who left the clan meaning I would have to constantly keep a record of the clan members within my own plugins database which isn't idle. I like the idea and would be happy to implement it if I could find a way which there might be but I am not that experienced with the rust plugin api.
What if you do this:
1. Keep track of blueprints that each player has unlocked on their own. So when OnItemAction "study" happens, track what they learned in a data file.
2. When a person leaves clan, reset their BP and then add back the BP that are listed in their data file, and then run UnlockBP in case they have friends to sync up with. As for the other people in the clan, reset all clan player's BP, then re-add each other's BPs from their own data file, then UnlockBP to resync the clan up and friends if applicable.
3. Similar kind of logic with friends I guess.

Perhaps that'd be crazy.
5bb2825645b9f.png Findles
What if you do this:
1. Keep track of blueprints that each player has unlocked on their own. So when OnItemAction "study" happens, track what they learned in a data file.
2. When a person leaves clan, reset their BP and then add back the BP that are listed in their data file, and then run UnlockBP in case they have friends to sync up with. As for the other people in the clan, reset all clan player's BP, then re-add each other's BPs from their own data file, then UnlockBP to resync the clan up and friends if applicable.
3. Similar kind of logic with friends I guess.

Perhaps that'd be crazy.

Definatly a possible solution to the problem which I will look into when I have some free time.