You're now able to define `click-commands` for static-items, that are run when a player clicks on that item. Those commands are run as console, you can use `%player%` as placeholder to get the player name that has the gui open!
Also this release fixes a issue on 1.21.1 paper build 81!