hello. I'm currently creating a store gui. In the process, several difficult problems arose, so I asked this question. The first is inventory space. The store I created is a store that changes one item A into 8 items B. Here the first problem arises.
-
If you exchange an item while the inventory is full, the item will not be issued because the inventory is full, and the item being exchanged will be consumed. Because of this, you want to make sure you have enough space in your inventory. This also includes:
-
The second problem is as follows. I would like to allow the item to be exchanged only 5 times per day in the gui. I don't know how to implement this.