Question Is there a plugin for Custom Cooldowns on every command?

Discussion in 'Bukkit Help' started by blok601, Dec 24, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    blok601

    Hello, I was trying to figure out a way to add permission depending cooldowns for the command?

    For example:

    if group Abc has permission: abc123
    and they do /fix all, they have to wait 24 hours

    but, if group abcd has permission: abc12
    they have to wait 12 hours.

    Is there a way to do this?

    Thanks
    -blok
     
  2. Offline

    Mrs. bwfctower

  3. Offline

    blok601

  4. Offline

    Mrs. bwfctower

    I believe you can set groups, by appending the group name to the end of the command.
     
  5. Offline

    blok601

    So it would be something like /fix allDonator?
     
  6. Offline

    Mrs. bwfctower

    The entire commands would be something like
    Code:
    /booscooldowns set cooldown /fix 30 yourGroup
    And this would set a cooldown for 30 minutes on the command /fix for everybody in the group 'yourGroup'.

    If you wanted to set a cooldown on '/fix all' and not '/fix', you could do the following:
    Code:
    /booscooldowns set cooldown /fix_all 30 yourGroup
    Note that the groups are permissions-based, so you would have to give the group the permission 'booscooldowns.yourGroup' for the cooldown to work for them.
     
    blok601 likes this.
  7. Offline

    blok601

    Sorry to revisit this thread, but whenever I do that, no matter what number I pass in, the cooldown is still one second.
     
Thread Status:
Not open for further replies.

Share This Page