EssentialsX

EssentialsX

2M Downloads

Command Cooldowns

Johandrex opened this issue ยท 8 comments

commented

The command cooldown section isn't working, it's not setting any kind of cooldown.

command-cooldowns:
rtp: 604800
wild: 604800
wilderness: 604800

command-cooldown-persistence: true

commented

Run /ess debug and paste the console output when the commands are run. Make sure players don't have essentials.commandcooldowns.bypass.

commented

as it only works for essentials commands, not any other plugin.

commented

"# Specify cooldown for both Essentials commands and external commands as well."

commented

[21:41:26] [Server thread/INFO]: johandre issued server command: /rtp
[21:41:26] [Server thread/INFO]: [Essentials] checking if johandre has essentials.commandcooldowns.bypass - false
[21:41:27] [Server thread/INFO]: johandre issued server command: /rtp
[21:41:27] [Server thread/INFO]: [Essentials] checking if johandre has essentials.commandcooldowns.bypass - false
[21:41:28] [Server thread/INFO]: johandre issued server command: /wild
[21:41:28] [Server thread/INFO]: [Essentials] checking if johandre has essentials.commandcooldowns.bypass - false
[21:41:29] [Server thread/INFO]: johandre issued server command: /wild
[21:41:29] [Server thread/INFO]: [Essentials] checking if johandre has essentials.commandcooldowns.bypass - false

Attempted to add "-essentials.commandcooldowns.bypass", but nothing changed.

commented

Could you paste the whole config on a paste site?

commented
commented

Add - before each cooldown entry.

commented

@md678685 thanks for helping me. Checked with essentials plugins and other external plugin commands and all worked. I checked randomteleports plugin.yml file, and /rtp was just an aliases. When setting it to " 'randomteleport': 30" it worked. So it's all working now.