You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is a very necessary feature and we should add a global cooldown
When players use a cheat client, repeatedly clicking on a single menu will take up a lot of server resources.
The text was updated successfully, but these errors were encountered:
Having cooldowns built into DeluxeMenus is not a bad idea.
Notes:
Built-in cooldowns should be ephemeral (persist until the plugin is unloaded)
Should be one of the first validations done
Should be global, per menu and item
Should have a maximum value (suggestion: 3600 seconds / 72000 ticks)
People who want longer cooldowns should use existing solutions such as MasterCooldowns or temporary permissions.
requirements:
cooldown:
type: string equalsinput: '%mcd_isinactive_COOLDOWN-ID%'output: 'Yes'deny_commands:
- '[message] &cTry again in %mcd_left_formatted_COOLDOWN-ID%, you are on cooldown!'
Add the cooldown (e.g. on click) [console] mcd add %player_name% COOLDOWN-ID duration
This is not the only way to create cooldowns for DM, temporary permissions being another example.
I think this is a very necessary feature and we should add a global cooldown
When players use a cheat client, repeatedly clicking on a single menu will take up a lot of server resources.
The text was updated successfully, but these errors were encountered: