PlayFriik Why wouldn't you be able to take items out of it? Cancel the InventoryClickEvent when necessary.
Because I wanna make a shop thingy or what ever I want... This InventoryClickEvent disables absolutely all moving items, but I want that it disables only when I open the custom gui.
As Skionz said, cancel the InventoryClickEvent when necessary. Basically check if the inventory they click in is the custom one you created, than cancel all clicking in that inventory.