EssentialsX

EssentialsX

2M Downloads

Command Cooldowns

dylanjcq opened this issue ยท 4 comments

commented

Hello,

Please excuse me this is my second post, we had closed my ticket by giving me an answer only it does not work. My problem is this :

I have tried by several means since the example but I do not understand very well.
I would like to define a recharging temp for the /repair command and another different recharging temp for the /repair all command but it does not want and only retains the /repair each time, how to differentiate the two?

Here is my config :

command-cooldowns:
beezooka: 100
ext: 20
repair: 420
repair all: 600
skull: 18000

I was given this as an answer :

Put single quotes around 'repair all'

So I tried this but without success, would you have the solution?

command-cooldowns:
beezooka: 100
ext: 20
repair: 420
'repair all': 600
skull: 18000

commented

use indents

command-cooldowns:
  beezooka: 100
  ext: 20
  repair: 420
  "repair all": 600
  skull: 18000
commented

it does not work ;s

commented

What about this?

command-cooldowns:
  '^repair': 420
  '^repair( *all)+': 600
commented

It works thank you very much :D !