I’m currently working on an inventory menu, itemstack are used as buttons, and the button cannot be dragged.
I’m not sure whether we should share a Inventory menu reference for all players or create an Inventory instance for each player? Please give me some directions, very thankful!
There is no real downside to creating a new instance for every player unless there is a dupe glitch found in your inventory. If there is a glitch then a single instance that is shared between all the players would result in missing options if there is a glitch but the items wont dupe.
1 Like
Thank you ! I’m going to try both of them to make sure they work.
I will also say if you make it on a player instance bases, you can cater to there own permissions, such as if a player does not have permission to use one of your buttons then you can just remove it