Skip to content

Make click cooldown configurable globally and per menu - #321

Closed
WarnDa wants to merge 1 commit into
HelpChat:mainfrom
WarnDa:feat/configurable-click-cooldown
Closed

WarnDa wants to merge 1 commit into
HelpChat:mainfrom
WarnDa:feat/configurable-click-cooldown

Conversation

@WarnDa

@WarnDa WarnDa commented Nov 12, 2026 •

Copy link
Copy Markdown

Rapid repeat clicks can currently pass the fixed 75 ms filter and execute a menu's actions twice. This adds click_cooldown_ms to config.yml, with an optional top-level override in each menu.

The default remains 75 ms. Accepted clicks start the selected menu's cooldown before their actions run; rejected clicks neither run requirements/actions nor extend it. Active cooldowns survive menu refreshes, closing and switching menus, and are removed on quit. Global reloads affect subsequent accepted clicks in menus without an override. Zero or negative values disable this general delay while preserving the existing shift-click workaround and DOUBLE_CLICK rejection.

@WarnDa WarnDa closed this Nov 12, 2026
@WarnDa
WarnDa deleted the feat/configurable-click-cooldown branch November 12, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant