gruppe-adler / grad-listBuymenu

A simple interface to buy stuff.
9 stars 3 forks source link

profileNamespace instead of missionNamespace #27

Closed BSherb closed 2 years ago

BSherb commented 2 years ago

This is more of a request/question than it is a bug.

Is there some way to use this in a more persistent manner? Saving said values between a string of missions?

I did attempt to swap all missionNamespace instances in the code with profileNamespace, but even running saveProfileNamespace; didn't manage to allow the information to be used after a server restart.

nomisum commented 2 years ago

did you check https://github.com/gruppe-adler/grad-persistence ? its said to support listBuyMenu

BSherb commented 2 years ago

Oh no! I didn't see that at all! I'll give it a look and see what happens with everything. Thank you, I'll definitely get back to you.

McDiod commented 2 years ago

Out of the box, grad-persistence can only save player/team money. Are you trying to save anything else?

BSherb commented 2 years ago

Originally just used it to save the money, however I did a slight test and it did save unit positions/playermade fobs. So I think it's working good for other things as well.