So i'm making a banmenu for minecraft. And in this banmenu i want to in corporate a "custom ban". I want to have a sort of counter which you can see by the name of a item and for everytime you click the "item" its adds a day of more ban. now i have made almost made everything but in he menu the number stays a constant but i want it to by adding 1 more. I have figured out this is due to the menu not refreshing or updating how can i do this? Preferably its only the 1 slot it could also be the whole menu.