$menu->readonly(); isn't working at all, players can still take out items out of the inventory... if there is another way to prevent me please tell me.
Make sure you are registering the event listener in InvMenu (https://github.com/Muqsit/InvMenu/blob/master/src/muqsit/invmenu/InvMenuHandler.php#L42)