Skip to content

Don't apply cooldown when command encounters an error #2671

@JohnS19

Description

@JohnS19

Feature request

Right now essentials puts a cooldown disregarding if there was a failed or successful usage of the command. I know this wouldn't be possible for external plugins but it should be the case for built in commands.

eg. /nick puts a cooldown even if you made an error while trying the command (too long of a nickname or incorrect characters).

eg. /kit puts a cooldown even if you don't have the kit permission.

eg. Using a command with the same alias (/repair) creates a cooldown when that command was actually never executed.

Feature description
Cooldowns check if the command has successfully executed. (at least for essentials commands)

How the feature is useful
Eliminates a lot of annoying situations where players attempt to use a command and end up getting a cooldown before making use of said command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions