Very similar to #1641 on this issue. I don't know how the store system works, does it really have a separate inbox for bought items?
Yes its prety much the code from the purse except that you can only get items in it, you can't put the old premium scrolls in it.
So tbh #531 should be closed.
But... If you buy supplies let's say GMPs the server counts them as if you had them in your backpack, so it's a way to not lose supplies if you are hunting.
Not 100% on this but im pretty sure about it xD
Basically how @WibbenZ told.
Edit:
As I could see on Official Store Inbox, is like a normal container with restrictions, look at on move color:

Now on "Your inbox":


I still find it better and more practical to handle this on Player:onMoveItem function.
Agreed, some might use Znote / Gesior on the side of this and might want ppl to be able to store those items in there.
Would be alot easier to accept certain itemids insted of recompiling the source code.
@WibbenZ exactly.
I'm slightly confused as to what you two are talking about. Not losing supplies? Accepting certain item ids?
Well in Tibia you get all the things you buy in the store inbox.
If you die you don't lose those items, so if you keep the GMPs you bought via the store in there you won't lose them if you die.
You can move bought items back, that should be OK with this system, but if you bought items via a website you can't put them in the store inbox, that is why it would be better to handle the store inbox in Lua so we can add an exception for those donation items not bought via the ingame store.
@WibbenZ you can use, example GMPs, inside store inbox?
Aa I said not 100 on that but I think so.
Bubba did smth the store inbox when a new server started, but im not sure if he moved a couple to his bp or not.
Im sure you can't have pz when buying atleast since he had to stop hunting to buy more.
@WibbenZ Yes, I do understand that, however I believe you are forgetting one thing. The ingame store and AACs (e.g. Znote & Gesior) relies on Lua to add things to players, so it shouldn't be an issue. It's not like we must have this feature, do we? Having a locked store inbox, and only allowing items to be added with the no limit flag would suffice.
I still don't believe using the Player event _onMoveItem_ is the correct best approach in this scenario.
internal query add aka creating a new class would be the best solution
Well both ways work, but it would be easier for others to have it in Lua.
Correct and correct, well it all depends on how we wanna write it, but since most ppl seem to not wanna have it in Lua then put it in C++ :p
Most helpful comment