Hi! I was wondering if it is possible to hide all your inventory items aswell as everything in your hotbar when you enter a menu. This would be very useful for menus using texturepacks when you only want to show the texture and no other items the player has on them. Does anyone know how you could clear the player inventory on entering a menu and then giving back all the items when you exit? Thanks for any help!
#Hide inventory items when in GUI
1 messages · Page 1 of 1 (latest)
pls help
sameee thats what i wana figure out xd
possible, but I wouldn't recommend
if you have a plugin that has a command to hide the player's inventory, you can use its command in the menu's open_commands and make it show the inventory again in the close_commands
though since close_commands are executed only when you click on an item with the [close] action, then it means that if a player presses Esc or E to close the menu, they won't get their inventory back
ohhh
yeah
lets not lol