Hi everyone!
Today I'm selling a command cooldown plugin for 15 USD. You may say, "WTF MAN, THAT'S EXPENSIVE FOR A COOLDOWN" and yes, it is, since we couldn't find anything that would fulfill the requirements that we needed in the same way with the same flexibility.
It has support for regex, command aliases, subcommands, and wildcards.
Every subcommand has its own name, cooldown, and cooldown message (unless you don't define one, then it uses the parent one).
Here the example configuration for luckperms
Only 5 copies of it will be sold.
Today I'm selling a command cooldown plugin for 15 USD. You may say, "WTF MAN, THAT'S EXPENSIVE FOR A COOLDOWN" and yes, it is, since we couldn't find anything that would fulfill the requirements that we needed in the same way with the same flexibility.
It has support for regex, command aliases, subcommands, and wildcards.
Every subcommand has its own name, cooldown, and cooldown message (unless you don't define one, then it uses the parent one).
Here the example configuration for luckperms
Code:
commands:
# lp: raw command cooldown, without any specified parameter(inherits from root)
# l(?:uck)?p(?:erms)?(?:b)? this is the equivalent to the lp: aliases: [luckperms, lpb] but with regex
# bypass permission is cmdcooldown.<command>.<command>.bypass
# an example with the regex is cmdcooldown.l(?:uck)?p(?:erms)?(?:b)?.bypass (fucking ugly)
# the aliases use the same permission as the main
# you can use other cooldown with cmdcooldown.<command>.<cooldown-time>
# example: cmdcooldown.lp.5
# but it needs to be registered as a cooldown
lp:
aliases:
- luckperms
- lpb
## the first cooldown is the default one, after it they're ordered by priority, the first one
## being the one with least priority
cooldowns:
- 10
sub-commands:
## subcommand name
user:
## this overrides the lp cooldown
cooldowns:
- 5
sub-commands:
## this makes that all the subcommands like "lp user", "lp user ?" and "lp user fixed" will have a cooldown
'*': ""
## The difference between * and ** is that * only applies until that argument, in this example only things like "lp user fixed", "lp group ola" and "lp user test" will have a cooldown.
## with ** everything, including things like "lp user Fixed parent set Owner" will have the same cooldown
## '**': ""
default:
cooldowns: [] ## no root cooldown
message: "&cYou need to wait %seconds% seconds to use %command% again!"
Only 5 copies of it will be sold.
