EssentialsX

EssentialsX

2M Downloads

Don't apply cooldown when command encounters an error

JohnS19 opened this issue ยท 1 comments

commented

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.

commented

I wanted to post a new issue, but it seems this is what I wanted to post. Could this be implemented?