Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My custom commands cannot be used with a delay (cooldown function) #137

Closed
7 tasks done
kitovoi111 opened this issue Nov 27, 2024 · 0 comments
Closed
7 tasks done
Assignees
Labels
bug Something isn't working

Comments

@kitovoi111
Copy link

Terms

  • I'm using the very latest version of zEssentials and its dependencies (zMenu and PlaceholdersAPI).
  • I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
  • I've looked for already existing issues on the Issue Tracker and haven't found any.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I already searched on the discord to check if anyone already has a solution for this.
  • I tested this with just zEssentials and its dependencies and with a vanilla client of the same version as the Server.
  • I enabled the debug mode in config.yml and sql debug

Discord Username (optional)

No response

Server Version

1.21.1

Server Software

This server is running Folia version 1.21.1-DEV-dev/1.21.1@2e7bc07 (2024-11-18T16:35:46Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are running the latest version

zEssentials Version

1.0.1.3

zMenu Version

1.0.3.6

What happened?

image
no working delay command /claim

Steps to reproduce the issue

command-cooldowns:

  • command: claim

    In this example, you can see that the "/heal" command has a 60 seconds cooldown

    cooldown: 5
    permissions:
    - permission: "essentials.cooldown.heal.vip"
    # In this example, whoever has "essentials.cooldown.heal.vip" permission can run "/heal" after 40 seconds
    cooldown: 40
    - permission: "essentials.cooldown.heal.staff"
    # In this example, whoever has "essentials.cooldown.heal.staff" permission can run "/heal" after 20 seconds
    cooldown: 0
  1. Write in player /claim two and more more, NO DELAY BRO - cooldown: 5

Full Server Log

https://mclo.gs/UfAQCzG

Error (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

@kitovoi111 kitovoi111 added the bug Something isn't working label Nov 27, 2024
@kitovoi111 kitovoi111 changed the title My /claim command cannot be used with a delay My custom commands cannot be used with a delay (cooldown function) Nov 27, 2024
Maxlego08 added a commit that referenced this issue Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants