Hey!
I’ve run into an issue with a level-up menu I created using DeluxeMenus. The concept works fine: players can upgrade step-by-step (from level_0 to level_1, then level_2, and so on). All the view and click requirements work perfectly, and it’s not a permissions issue.
However, occasionally the menu doesn’t refresh immediately after a level-up (probably due to server lag or whatever), and this allows players to click the level again before the menu updates, meaning they "level up" again and lose the same resources twice.
Yes, they get promoted again (even though they already were), and all the requirements get taken again.
I tried everything obvious, meaning:
[refresh] command after level-up
update_interval: 1
update: true
But none of them consistently prevent the issue.
I don’t want to force-close the menu after every upgrade,
so the real question is: how can I prevent players from clicking the same level again during this refresh delay / lag? Any tips, or workarounds?
Here’s a snippet of my config if needed:
https://paste.helpch.at/pocabecema.yaml
Thanks in advance, would appreciate any help or ideas!