I want to show a GUI written by myself after the player closes the chest GUI for the first time so that player can choose how satisfied they are with the items in the chest .
I can now keep track of which chests have been opened and write my GUI.
I've tried PlayerInteractEvent but that didn't help. I want to show my GUI after the player presses ESC to exit the chest GUI