Skip to content

Command cooldowns do not work when aliases are set in commands.yml #2058

@molor

Description

@molor

commands.yml (Server):

aliases:
 test:
 - 'essentials:me (testing)'

config.yml (Essentials):

command-cooldowns:
  me: 20

If I run the "test" command three times at one second intervals (chat output):

[12:00:01] molor (testing)
[12:00:02] molor (testing)
[12:00:03] molor (testing)

If I do the same, but with "me":

[12:00:01] molor (testing)
[12:00:02] You cannot type that command for 19 second.
[12:00:03] You cannot type that command for 18 second.

Paper/Spigot 1.12.2; Essentials 2.15.0.16. I hope that clearly described the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: confirmedConfirmed bugs in EssentialsX.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions