Crash the server via the menu
### Expected behavior
Apply a cooldown to all buttons in the settings menu
### Observed/Actual behavior
A long time ago, I saw someone point out a bug where TPS would drop when clicking buttons in the settings menu or navigating to other pages. You implemented a cooldown for page transitions, but this cooldown doesn’t apply to other buttons, which creates a major loophole for exploiting TPS on servers. This is especially true with the new version and the updated color code, since more actions are required to generate the color code, which means there will be more lag when clicking. Therefore, I think you need to add a cooldown to all the buttons in this menu.
https://youtu.be/fUHU17uB0dg?si=2KvR2S4xiVL-z_Np
Here is the video evidence: it shows two accounts taking turns clicking on the settings. With two players on the server, performance drops to 2–3 TPS, which is a fairly significant decrease. And if you look at Spark, you can see that it uses about 30% of BentoBox's resources.
### Steps/models to reproduce
1. Install the latest version of Bentobox
2. Go to the menu and quickly tap the buttons
### BentoBox version
BentoBox: 3.14.0-SNAPSHOT-b164
### Plugin list
_No response_
### Other
_No response_
关闭于 2026-04-08 0 条评论